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: fast muxing of analog inputs

Part Number: TLV320AIC3204


My application is a music synthesizer. Instead of a typical CODEC application, I would like to use the TLV320AIC3204 as a 6ch ADC and 2ch DAC.

I've looked through the data sheet and the application guide, but am not clear on something. How do I mux through the inputs real time? In other words, IN1L > IN2L > IN3L > IN1L and so on. (And, same thing for the right side).

From 2.3.1 ADC Signal Routing, page 17, in the TLV320AIC3204 Application Reference Guide: "By turning on only one set of switches per amplifier at a time, the inputs can be effectively multiplexed to each ADC PGA channel."

Thank you, Todd

  • Hi, Todd,

    Welcome to E2E, Thanks for your interest in our products!.

    The analog input muxing application is oriented to change between different input sources for the ADC on the system. The inputs are set by configuring  Registers 52 and 52  of Page 1.The real time muxing of the device might be possible but some considerations should be taken into account. It is possible to hear audible artifacts at the moment of changing between the different input connection to the PGA. To void the artifacts, it is recommended to mute the ADC while making the change. This process could take some time, so you need to consider the side effect of the real time changes if you need fast muxing.  Also, as this is a Stereo device, you need to consider that the part would be able to send only two channels of data at a time through the digital output.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Thank you Diego. The output should be OK. Our application actually has 12 analog in and 4 analog out, so I was targeting to use 2 of these CODECs. But muting to accommodate the fast muxing may be an issue. I really need the inputs to be very close to real-time. I wanted to try and go this route instead of a microcontroller with 16b ADCs and a 16b quad DAC. That is an expensive subsystem.
  • Hi, Todd,

    Thanks for the feedback. I would recommend you to try this functionality in the EVM and see if the artifact caused by the switching of the analog inputs without muting is acceptable for your system. I made a quick test in the EVM I have and the effect is hard to distinguish when switching while playing audio, but in silence you can hear a small pop.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Thanks Diego. I am looking at other options, and will keep your recommendation in mind as I continue my evaluation.