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.

TLV320AIC3204: Getting high noise in playback and capture

Part Number: TLV320AIC3204

Hi,

In our project, we are working with TLV320AIC3204 Audio code EVM and Eragon 820 board. We have done following things on TLV320AIC3204 Audio codec.

1.  TLV320AIC3204 audio code and TLV320AIC3204EVM, In which playback and audio capturing is working fine.


2: In this we used TLV320AIC3204 audio codec through MI2S connection(WS, bit clock, Din, Dout) with Eragon 820. In this setup we noticed that Audio capturing and playback is not working properly and having very high noise.

We have used following tool and configuration

Tool: AIC3204 CS

Configuration: Typical Configuration -> Recording -> Differential On-board Microphone(IN3)


To make sure above cases, we checked register dumped of both the cases and we found that both the dump files are same. I have attached file of register dump of page 0 and 1 and captured audio file. 


It will be great if you can tell us some debug points where by we can look at.

 

In our project, we are working with TLV320AIC3204 Audio code EVM and Eragon 820 board.
  • Hi, Viken,

    Welcome to E2E, thanks for your interest in our products!

    When the EVM is used with the default playback configuration, the clocks are set internally to operate with the EVM USB-Audio sampling rate, which is 44.1KHz and in slave mode. If the same script is used with your processor, you need to make sure the clocks provided to he codec are the same as the ones on the EVM. One thing I note is that you are not mentioning a master clock , which actually is required for the script you mention as MCLK is provided from the USB interface device. I can help with the device configuration to adjust the internal clock tree, can you please provide the sampling rate used by your processor and confirm if a master clock is unavailable?.

    When testing with your processor, are you using the EVM or a custom board?. If the EVM is used, please consider that the USB interface will be sending clocks to the device unless the motherboard is configured to send external audio clocks. This is done by setting switches D4 and D5 of SW2 DIP switch on the USB-MODEVM board to the OFF position, after this is done, you can hook the processor signals to header  J14 of the motherboard.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego,
    Thanks for your response.
    We are using MCLK(11.28 MHz) from USB-MODEVM; BCLK, WCLK from our snapdragon 820 processor board. We configured SW2 on MODEVM as below,
    Switch 1,3,5(Using MCLK from USB board), 6,7 as ON
    Switch 2,4(Turning off USB I2C), 8 as OFF
    Our processor is configured for 48KHz sampling rate, 16 bit word size and 2 channel audio. Bit clock and work clock generated from our processor boards are 1.53 MHz and 48KHz respectively.
    As per your response, TI EVM board would be configured for 44.1(in default configuration) sampling rate while our processor is configured for 48KHz sampling rate, do you see this might be the reason we are getting distortion in capture/playback.
    It would be good if you can let us know how to configure TLV320AIC3204 EVM for 48 KHz of sampling rate and 16 bit word size. Also please let us know if we need to take care of any other parameters to make capture/playback properly.
    Thanks