Hello All
We have been using TLV320ADC6140 configured for 2 analog channels communicating over standard I2S protocol with our controller. The ADC chip is set as Master for I2S bus and using an external oscillator of 12.288MHz to generate the required clocks. We wish to acquire data at 48K Samples/second as well as for 44.1K Samples/second at 32bit resolution. Currently, we have been testing the 48KS/s rate and found that the total acquisition time for acquiring 48000 samples is greater than 1 second by up to 10%.
We have ruled out any issue with the controller by using an I2S slave sensor (MEMS Mic) and acquiring at 48KS/s from it. We do not face this timing issue in that case.
We have tried replacing the external oscillator in case of a malfunctioning component, but that did not help us as well .
Please suggest how to solve this.
Following are the register configurations being used by us pertaining to this:
Register 0x13 - 0b10000001 // Enable Master Mode , Auto Clock Config , PLL enable , not Forced Gate , FSYNC multiples of = 48 , MCLK=12.288MHz
Register 0x14 - 0b01000100 // FSYNC=48kHz , BCLK RATIO = 64
Register 0x16 - 0b00001000 // disabled MCLK_RATIO_SEL , RATIO(for FREQ_SEL) = 256
Register 0x21 - 0b10100000 // GPIO Enabled as MCLK input