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.
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.
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