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.

TAC5242EVM-K: no PPC3 app

Part Number: TAC5242EVM-K
Other Parts Discussed in Thread: TAC5242, PUREPATHCONSOLE, TAD5142, TAD5242, TAC5142, PCM9211

Tool/software:

Hi,

I'm trying to connect the TAC5242EVM-K to the PUREPATHCONSOLE to test the audio features of the TAC5242.

I haven't found a dedicated PPC3 app for this eval board. Do you have one?

If there is no PPC3 app for this eval board, how can I test the I2S communication with the custom settings (AVDD=1.8V, Word length=24)?

Regards,

Louis

  • Hello Louis,

    TAC5242 is a hardware control and the EVM can be configured via jumpers on the EVM.

    Please refer to the User's Guide on the product page for detail description on jumper set up.

    You can also find information about pin configuration in data sheet, For example Table 7-1. Pin Selectable Configurations Summary.

    Regards,
    arash

  • Hi Arash,

    I did configure the EVM with the appropriate jumpers.

    How can I play a sound from my PC using the USB? And how can I test the microphone input?

    Regards,

    Louis

  • Hello Louis,

     Please refer to the specific sections for USB and microphone inputs in user's Guide

    2.2.1.1 USB Mode

    The AC-MB is detected by the OS as an audio device with the name TI USB Audio UAC2.0.  Figure 2-3 shows the AC-MB audio setting for the USB mode of operation.  Figure 2-3. AC-MB USB Audio Setting. You can get the analog out  using the DAC outputs.

    Figure 2-9. TAC5242/TAC5142/TAD5242/TAD5142 EVM Output Architecture- can help you to set up the output as you need to monitor the signal out.

    2.3.1.2 On-board Microphone Input

    For the on-board microphone input configuration shown in Figure 2-8, the TAx5x42 records the audio captured from the microphones MK1 (ECM) or U5 (Analog MEMS), which is located on the bottom of the board. Electret Microphone (MK1) is connected to IN1P/M, and MICBIAS is used to power the on-board microphone, so header J8 must be installed. For MEMS microphone (U5), this can be configured as either a single ended or differential input and is connected to IN2P/M. There must not be any connections to J2 or J3 while the on-board microphone is used to preserve the performance of the microphone. A possibility that the gain adjustment can be needed in the device depends on the microphone sensitivity.  

    The INxP and INxM pins of the TAx5x42 can optionally connect to onboard microphones for quick evaluation of a microphone in AC- or DC-coupled modes. Jumper configuration details can be found in Table 2-1.

    Regards,

    Arash

  • The AC-MB board is detected but I only have a single output channel working.
    Does the XMOS IC support dual channel OUT (for a stereo output) and dual channel IN (I only need one) with a 24 bits word length?

    Regards,

    Louis

  • Hi Louis,

    Yes the XMOS supports dual channel input and output I2S with 24 bits.

    Best regards,
    Jeff McPherson

  • Hi Jeff,

    How can I set up the XMOS to support this configuration?
    I only have 1 output working at the moment with the USB link.
    When I test the same setup with the Analog Input connected I have both output working. 

    Regards,

    Louis

  • Hi Louis,

    There is no XMOS configuration required. It's not accessible to reprogram either.

    What are your jumper settings for the MDx pins and where are you measuring the outputs from on the EVM? Also how are you generating the audio over USB?

    Thanks,
    Jeff McPherson

  • Hi Jeff,
    I use the headphone jack (J35) for both input and outputs.
    The audio path configuration is:
        * Output config: pseudo differential outputs: J31 and J33 shorted (no caps), 3 pins of J28 shorted to create common ground, J29 1-2 to connect common ground to pin 4 of J35.
        * Input config: AC-Coupled: J30 2 connected to IN1P, J12 2-3 to connect IN1M to GND, J8 shorted for MICBIAS.
    The configuration of the MDx pins is:
        * MD0 short to GND: Target I2S Mode.
        * MD2 high, MD1 low: AVDD=3.3V, Word Length=24.
        * MD3 high.
        * MD5 high, MD4 high: AC-Coupled SE Input, Pseudo-differential outputs.
    Other config:
        * J19 shorted, on AC-MB: IOVDD connected to 1.8V.
    When I use the ANALOG IN, S1 is OFF and S0 is ON. In this case I hear sound on both sides of the headphone. The ANALOG source is the LINE output of my PC.
    When I use the USB connection, S1 is ON and S0 is ON. I only hear sound on one side. 
    The audio source is my PC in both cases, I only change the output device (.
    Regards,
    Louis
  • Hi Louis,

    Based on your description, the problem lies in your input source, not the EVM configuration. After the switch SW2, the I2S delivery to the EVM is identical. Can you measure the I2S clocks on J7 on the AC-MB and verify that you are getting 2 channels of 24 bit audio for both the analog and USB input sources? J7 is connected to the output of both the USB output and Analog/Optical Input so you can measure both sources.

    Thank you,
    Jeff McPherson

  • Hi Jeff,

    The signals coming from the XMOS are in TMD mode.

    Yellow: BCLK, Cyan: FSYNC, Magenta: DIN, Blue: DOUT.

    The signals coming from the PCM9211 are in I2S mode.

    Yellow: BCLK, Cyan: FSYNC, Magenta: DIN, Blue: DOUT.

    This explain the observation I made previously.

    How can I change the mode of the XMOS?

    Regards,

    Louis

  • The default output format is "24 bit, 44100 Hz". In this format, the XMOS outputs TDM.

    When I changed the output format to "24 bit, 192000 Hz", the XMOS outputs I2S.

    The XMOS outputs TDM or I2S depending on the output format though I have no idea of why one setting or another change the output format.