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: PPC3 output with MCU

Part Number: TAS2563


I am still having difficulties getting the PPC3 configuration to operate with our finished design.

I have read the documentation you pointed me to and made adjustments to my firmware as appropriate.  To test everything I used a logic analyzer to capture the I2C communication on the eval kit and converted that to the format needed by my firmware.  I have confirmed that my firmware generates the same values now as the eval kit.  This didn't work.  We looked through the schematic for our device and compared it to the eval kit and found that we are using an external 12V power source and so I updated the BOOST_CFG1(0x33) to have the value 0xc4.  This didn't solve the issue of silence.

What other registers could be effected by having an external 12V power source and would need to be changed in order to have audio output?

  • Hi Edwin,

    writing 0xc4 to 0x33 is correct, you should just make sure that you are writing to register 0x33 on book 0 page 0 by including the necessary commands before 

    w 98 00 00 # page 0 on current book

    w 98 7f 00 # book 0

    w 98 00 00 # page 0 on current book (0)

    In addition you will need to make sure that the schematic, and power sequence is correct. this is explained in the below FAQ 

    https://e2e.ti.com/support/audio-group/audio/f/audio-forum/921254/faq-tas2563-how-do-use-external-pvdd-to-power-the-amplifier 

    Regards,

    Arthur

  • Is tuning done on the EVM with the internal boost enabled considered suitable for the target hardware which has an external 12V power source?  Or, is there a way to use the EVM with an external power source and then perform the tuning?

  • Hi Edwin,

    likely the results with the internal boost and external 12V will be similar. the external 12V will likely be able to handle higher peak powers, (i.e. less distortion at each peak), my statement is dependent on the speakers rated power, for 1-2W speaker the distortion may be not very significant, (Since the peak output will be for a much shorter duration), but for a larger speaker the peak power may be seen for a long enough duration that this effect becomes obvious. 

    the official recommendation is that you should modify the EVM to mimic your end system. this can be done by removing the inductor for the boost, and providing the PVDD supply through the Red PVDD test point on the daughter card (or if you are on the QFN EVM there is a dedicated banana terminal to connect to)

    Regards,
    Arthur

  • Hi Arthur,

    I still don't have this working.  I was pulled off of it most of the past month, but I'm returning to wrap it up.

    While tracking down issues I have confirmed that I am writing every value correctly by reading back registers after writing them.  This didn't work for the SW_RESET register, but that was expected and coded around.

    To eliminate the possibility that I converted the data incorrectly I used my logic analyzer to monitor the bus activity of the EVM under control of PPC3.  I used the bus traffic to generate the values that I write to the TAS2563 expecting that if I initialize it the same way as PPC3 does that it should work.  Of course, while writing this I realize I need to confirm that I modified the register settings that are different for the boost.

    Is there some reason that there would be no audio if I initialize it in exactly the same was as PPC3 does?

    Thanks,

    Edwin

  • HI Edwin, 

    you should check in your system and make sure of the following

    1) MODE[1:0] in register book 0 page 0 is set to 0x00. meaning that the device is in active mode.

    2) check the TDM_CFG2 register, specifically RX_SCFG[1:0]. by default it is set to "time slot equal to to I2C address offset" which means that 0x98 will take data from slot 1, 0x9a will take data from slot 2, etc, if you are using a different I2C address then the device may be taking data from a slot which has no data. try setting this to mono left, mono right, or stereo downmix. 

    3) check the latched interrupt registers 0x24-0x27. see if these are reporting any errors which could be causing the device to not play back, such as TDM clock error or overcurrent error. 

    these parts need power supplies and I2C/I2S to function. it sounds like you are able to write and read back I2C, so double check that the I2S and power supplies look as expected. 

    Regards,
    Arthur