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.

TAS2505-Q1: connection with two devices through I2S

Part Number: TAS2505-Q1
Other Parts Discussed in Thread: TAS2505

Dear all,

Could you teach me two things below?

1) Could you teach the way to connect with two device through I2S?

This picture is my idea with reading Table 2-2 at Reference Guide (SLAU472).

Is this correct?

2) How can we switch the signal from primary device or secondary device?

Should we set something to TAS2505?

Best regards,

  • Hi Yamamoto-san,

    The possible connections for primary/secondary interfaces are shown in Figure 2-21 from the same document SLAU472.
    Once you have configured the multifunction pins to route the signals, you can select between primary and secondary interfaces by Page 0 Register 0x20 by selecting either primary or secondary WCLK, BCLK and DIN.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators
  • Hi Ivan-san,

    Thank you for your answer, but I would like to my concern because I have not understood how to assign pin roles.

    >QUESTION 1,
    When I send secondary interface from processor to TAS2505, how should I set register?
    I2S needs three connection (WCLK/BCLK/DIN), but input pin is only two (GPIO and SCLK).

    >QUESTION 2,
    For example, should I connect BCLK pin of secondary processor with MISO and SCLK for bidirectional communication?

    >QUESTION 3,
    I would appreciate if you indicate an I2S connection example between secondary processor pins and TAS2505 pins and register settings.

    Best regards,
  • Hi Yamamoto-san,

    Necessary information to setup the device is available in the mentioned Application Reference Guide (SLAU472).
    I can help by providing a detailed guide on how to set it up, however I could provide it at the end of this week since there are much other things in the queue at this time.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators
  • Yamamoto-san,

    Below are answers to previous questions:
    1. If you need independent lines for Primary and Secondary interfaces, you could use Secondary as Master, derived from MCLK. This way to can also use MISO pin as output for either BCLK or WCLK.
    If independent lines are not needed, you could share BCLK or WCLK and select primary interface, this way you could use BCLK/WCLK pin instead of one of the multipurpose pins.
    2. You can connect BCLK of secondary interace to eithwe MISO or SCLK, GPIO is also an option.
    3. As explained in 1, you could use independent lines for Master mode for secondary interface, or you could share one of the lines (BCLK or WCLK) for Slave mode.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators