This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TLV320ADC3140: TLV320ADC3140 channel5 & channel 6 have no data when recording audio

Part Number: TLV320ADC3140
Other Parts Discussed in Thread: AM5718

Hi TI Team,

We want that TLV320ADC3140 configure as 2AMIC+4DMIC, where 2AMIC map to TDM's channel1 and channel 2, and 4DMIC map to TDM's channel 3 to channel 6.

But I used below command fs=48Khz, channels=8 and width=32bits to record audio at CPU end (AM5718, Linux), found that channel 5 and channel 6 in output file 'test.wav' have no data.

root@am57xx-evm:~#  arecord -Dhw:0,0 -c 8 -r 48000 -f S32_LE -d 10 test.wav

We guess there may be a problem with the ADC's registers configuration,

Could you help to review it?

Here are some our information for your reference:

1. schematic:

MIC_02.pdf

    (1) 2 AMICS Placed on INP1 and INP2 for Single ended MICS.

    (2) 2 DMICS placed on INP3,INN3  and other 2 DMICS placed on INP4,INN4.

2. ADC's registers setting:

   (1) GPI1 & GPI2 are disabled, GPI3 is configured as a PDM data input for channel 3 and channel 4 (PDMDIN2), GPI4 is configured as a PDM data input for channel 5 and channel 6 (PDMDIN3)

   (2) GPO1 & GPO2 are disabled, Hi-Z output; GPO3 & GPO4 are configured as a PDM clock output (PDMCLK), Drive active low and active high.

3. waveform of BCLK, FSYNC and SDOUT:

   the waveform shows data(SDOUT)'s channel 5 and channel6 have no data.

Thanks.

Best Regards,

Xing-Qin