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.

How to use 2 complete I2S interfaces in TLV320AIC3254

Other Parts Discussed in Thread: TLV320AIC3254

Hello,

I wish to use the secondary I2S interface in TLV320AIC3254, but it seems that audio chip has not enough pins to have all its signals.

As you can see on the following drawing, I use the 1st interface to communicate with a main host (input : Stereo audio data, output : microphone audio data). And I want to use the secondary I2S interface to transmit data to a DAC/Amp/Speaker chain. In this case, TLV320AIC3254 is host, so, it has to generate clocks and emits data on Dout. 

My problem :

When I analyze pins available for secondary interface, I understand that I have only 2 pins (MISO, GPIO)  for 3 signals (BCLK2, WCLK2, Dout2). Dout pin is already use for 1st interface.

See table 1, p.27 of TLV320AIC3254 datasheet : http://www.ti.com/lit/ds/symlink/tlv320aic3254.pdf

Can you say me if I make mistakes in my analysis ?

Have you got a solution to use the secondary I2S with Dout signal ?

Kind regards,

Fabien

  • Hi, Fabien,

    Welcome to E2E and thank you for your interest in our products!

    It is possible to configure the secondary I2S with multiple pin options. Actually, there are three possible pins to make this. SCLK (MFP3), MISO (MFP4) and GPIO (MFP5) can be used as BCLK2, DOUT2 and WCLK2. Remember that this codec cannot use both I2S interfaces simultaneously. You should select between use the primary or secondary interface.

    Best regards,
    Luis Fernando Rodríguez S.
  • Luis,
    thank you for your help.

    For secondary I2S interface, TLV320AIC3254 is host, I have to use BLCK2 output and WCLK2 output. According to datasheet, SCLK pin is used for BLCK2 input, not my case.
    Anyway, as you say, 1st and 2nd interface cannot be used simultaneously. I believed that chip can automatically alternate between the both interfaces to transmit all the data without blank in audio data.

    OK I have to find another chip, equivalent to TLV320AIC3254 (Prog DSP, micro input, I2S) but with 3 DAC outputs.

    Best regards
  • Fabien,

    Exactly, this device doesn't support multiple serial data interfaces at same time. I would recommend to take a look at the TLV320AIC326x family devices. These codecs support multiple serial data interfaces, I2S, miniDSP, etc.

    Please let me know if you have questions or comments.

    Best regards,
    Luis Fernando Rodríguez S.