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.

TAS2563: TAS2563/XMOS Integration

Part Number: TAS2563


Tool/software:



Hi TI Team,
We are currently working on integrating the TI ADC (TAS2563) with the XMOSf3800. At the initial stage, the device status appears to be in shutdown, and we are enabling it by writing register 0x02 to 0x0C. With this configuration, the device works, but the audio output is very low.
Additionally, when we attempt to use the speaker test, the device automatically shuts down. To address this, we tried reducing the gain with the settings shown in the attached snippet, and while this prevents the shutdown, the sound output is further reduced.
We also attempted to write PPC3 settings, but in this case, no sound was produced from the device. Could you please advise if there are any stable boot settings recommended to properly enable the boost and achieve the best audio quality with maximum sound output?
Since we are new to this integration, your guidance on the correct initialization sequence or stable register settings for TAS2563 would be very helpful.
Looking forward to your support.
  • Let me ask a few questions for further debugging:

    • Are you using QFN or WCSP package of this device?
    • Are you using EVM or a custom board?
    • Is your audio coming from the host in conventional I2S format?
    • Please read registers 0x24 through 0x27 before and after playback test. You can do this for the test that goes to shut down and the one that does not.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Hi Ivan,

    Thank you for your prompt response.

    Please find our answers and observations corresponding to your queries below:

    i.) Are you using QFN or WCSP package of this device?
    We are using the QFN package.

    ii.) Are you using EVM or a custom board?
    We are using a custom board.

    iii.) Is your audio coming from the host in conventional I²S format?
    Yes, the audio is in conventional I²S format, and we are using mono recording and playback.

    iv.) Register readings (0x24–0x27) before and after playback tests

    1. On boot:

      • All interrupt registers are at their default values (0x00).
      • PWR_CTL (0x02) register = 0x0E, indicating the device is in software shutdown state.
    2. After enabling the device manually:

      • We write 0x0C to PWR_CTL (0x02) to enable the device.
      • Audio plays fine, and the interrupt registers show:
        0x24 = 0x00
        0x25 = 0x00
        0x26 = 0x11  → bit 0: Device Power Up, bit 4: PLL Lock
        0x27 = 0x80  → bit 7: ASI2 Clock Error
        
    3. During speaker test using the command:

      speaker-test -D hw:0,0 -c 2 -r 48000 -t sine
      
      • The speaker produces an electrical noise and then enters shutdown mode.
      • After shutdown, PWR_CTL (0x02) is set back to 0x0E, and interrupt registers show:
        0x24 = 0x00
        0x25 = 0x02  → Brownout Protection Active
        0x26 = 0x11
        0x27 = 0xA0  → bit 7: Device Power Down, bit 5: PDM Mic Clock Error
        
    4. After reducing amplifier level with the following boot settings:

      0x00 = 0x00
      0x7F = 0x00
      0x01 = 0x01
      0x03 = 0x02
      0x06 = 0x02
      0x07 = 0x02
      0x08 = 0x30
      0x02 = 0x0C
      
      • The interrupt flags remain the same as in step (2).
      • The speaker output volume is reduced, but the speaker test runs stably without shutdown.

    5. Boost Regulator Observations:

      • We attempted to enable the Boost Regulator by writing to the BST_EN register.
      • However, the boost regulator does not appear to activate:
        • VBST pin remains at 5 V (same as VBAT).
        • SW pin shows no switching activity at any time.
      • VBAT is supplied with 5 V, and a 2.2 µH inductor is connected between VBAT and SW.

    6. Request for Support:
      Could you please provide predefined stable boot settings or recommended register configurations to:

      • Enable and stabilize the Boost Regulator, and
      • Ensure reliable operation without shutdown during playback?

      Your guidance will help us validate the power stage behavior and confirm the correct boost configuration.



  • On iv).2. you said "Audio plays fine" you only mean that the device is able to play, but if you use the same kind of signal as subsequent test you still see the same problems?

    Is this command on step 3 writing something else to the device through I2C?

    Usually, the boost inductor is 1uH, can you use this value instead of 2.2uH?
    The boost is set for Class-H mode by default, so you would need to feed some signal to see the higher voltage. You can set the BST_MODE bits to 10b for "Always On" mode.

    You can use the PPC3 software to generate a complete register initialization. You may use ROM mode first for test as this is a reduced set of settings compared to Tuning Mode. TAS2563 End System Integration Guide

    Best regards,
    -Ivan Salazar
    Applications Engineer