Hi, i am reading about Multichannel mode of module SPORT of BF533 and i have some confuse about the transmit and receive clock signal of SPORT module.
First, as my understanding the TDM mode is same with I2S mode, the difference between them is: I2S only have two channels and TDM have more than two channels. In I2S mode, as i have read on wiki, the bit clock is calculated as below:
The bit clock pulses once for each discrete bit of data on the data lines. The bit clock frequency is the product of the sample rate, the number of bits per channel and the number of channels. So, for example, CD Audio with a sample frequency of 44.1 kHz, with 16 bits of precision and two channels (stereo) has a bit clock frequency of:
- 44.1 kHz × 16 × 2 = 1.4112 MHz
- So this mean the data transmit clock = sample rate * word lenght * 2
But with TDM mode, i have read that: data transmit cloc = frame synch clock * word lenght * number of channel
So this mean, frame synch clock alway equal with data same rate ?
Second, i have read the example of BF533 Ez Lite Kit board, which work with code AD1836 and in this example the frame synch and data clock is taken from the codec AD1836. So if i want to set frame synch and data clock is output from chip BF533, what i have to do ? Could you give me some example, which use the data clock and frame synch frome BF533 ?