diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Digital Source (http://www.diyaudio.com/forums/digital-source/)
-   -   How to calculate fs bit clock knowing crystal frequency? (http://www.diyaudio.com/forums/digital-source/211536-how-calculate-fs-bit-clock-knowing-crystal-frequency.html)

merlin el mago 25th April 2012 06:30 PM

How to calculate fs bit clock knowing crystal frequency?
 
How to calculate fs bit clock knowing crystal frequency?

TheGimp 25th April 2012 07:21 PM

According to the data sheet for the WM8741, the crystal frequency is fs.

fs/divide ratio (32, 64, 128, 256, etc) gives the data rate.

eg. 24.576ZMHz clock /256(divide ratio) = 192KHz data rate.

I suspect it is dependent on the DAC.

What device are you using?

merlin el mago 25th April 2012 08:17 PM

My device have a clock of 16.9344MHz, wich fs have?

Ken Newton 25th April 2012 09:16 PM

The bitclock (BCLK) frequency can be calculated as follows below.

1. If the left and right channel data are in multiplexed serial format (such as they typically are before entering an oversampling interpolator) then: BLCK = original input sample rate (Fs) * the oversampling ratio * 64 bits per frame.

2. If the left and right channel data are in de-multiplexed parallel format (such as they typically are after exiting an oversampling interpolator), then: BCLK = the original input sample rate (Fs) * the oversampling ratio * 32 bits per frame.

For points in the DAC where oversampling has not been applied, the oversampling ratio in the above formulas = 1.

Note: There also is a rarely utilized de-multiplexed parallel 16 bits per frame I2S data format.

merlin el mago 25th April 2012 10:33 PM

Still don't know how to calculate?

merlin el mago 27th April 2012 04:57 PM

Anybody can help me?

TheGimp 27th April 2012 05:04 PM

What is your crystal frequency?

What DAC or part are you using?

What sample frequency (44.1K, 48K, etc)?

merlin el mago 27th April 2012 05:08 PM

Quote:

Originally Posted by TheGimp (Post 3003183)
What is your crystal frequency?

What DAC or part are you using?

What sample frequency (44.1K, 48K, etc)?

Transport CEC TL1 crystal frequency 16.9344 MHz

DAC TP Buffalo III

Transport CEC TL1 uses CD red book 44.1KHz

kevinkr 27th April 2012 05:16 PM

How are you connecting the dac to the transport I2S (presumably) or spdif? I think you need to provide some information on the transport chip set as well.

glt 27th April 2012 05:20 PM

It is implementation dependent. You could guess that it is 256fs

44.1x256=11.2896MHz
11.2896*3=33.8688MHz
33.8688MHz/2=16.9344MHz

In this case the clock goes through some logic to be multiplied by 2 and then divided by 3 to arrive at 256fs.

So it depends what kind of multiplication and division the clock goes through


All times are GMT. The time now is 06:59 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio


Content Relevant URLs by vBSEO 3.3.2