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.

TAS5751M: PWM output not changing between AD and BD modulation - no audio output

Part Number: TAS5751M

I am building a board with the TAS5751M. I cannot get any audio out. The I2S signal "looks" good and I do not get any errors reading registers 0x00 and 0x02

When I inspect the output before the LC filter, I noticed a difference from the EVM. I reviewed the difference between AD and BD modes (http://www.ti.com/lit/an/sloa119b/sloa119b.pdf

When I change the settings between AD and BD (registers 0x11~0x14) I do not see any difference in the switching output So the two issues:

1) I cannot get any audio out from the amplifier

2) changing the modulation mode between AD and BD has not effect on output switching

So not sure if the problem is in the I2S signal, the modulation scheme etc. 

Screenshot of I2S signal with no audio input (LRCLK and SDIN)

Screenshot of the test board output switching (AD and BD is same)

Screenshot of EVM switching in BD mode

Schematic

I2C traffic of simple initialization/bootup (in BD mode)

  • I just confirmed the I2S stream is ok by jumping the signal onto another amplifier platform.
  • To fix the AD, BD mode I also needed to adjust register 0x20.

    The problem still persists,
    1. no audio
    2. PWM is stuck at 50% duty cycle.
  • Hi Mark,

    So the PWM output is switching on your board, which means the device is intialized successfully and i2c communication is working. Could you please try to enlarge the volume and the input signal amplitude? Make sure EQ and AGL are disabed. Please check whether there is any Error in the register 0x01. Are you using 4-wire I2S input or 3-wire I2S input mode for TAS5751M? For the input clock requirement, please find this wiki:

    About the AD/BD mode configuration, I think you could try to dump the register configuration on EVM board by PPC3 GUI and use it for your board. I believe there shouldn't be any difference between EVM board and your board. To dump the register config, please find the procedure in section 3.8 in the EVM user's guide: http://www.ti.com/lit/ug/slou440/slou440.pdf

    Best regards,

    Shawn Zheng 

  • Hello Shawn-

    I used 3 wire (SCLK, LRCLK, SDIN) and 4 wire (MCLK, SCLK, LRCLK, SDIN) I2S signal. I purposely put 100 ohm resistors between ADC and the amp to probe the signals. So it was very easy to remove MCLK signal - the results are the same.

    Register 0x01is the device ID, I am not sure how to use this for diagnostics. I check register 0x00 (returns 0x6C) to confirm clock signals are ok and register 0x02 (returns 0x00) to check for any errors.

    I can take the same I2S signal and pass it to another amplifier with no problem. With the same/similar volume settings on the EVM I can observe PWM signal and hear audio from a speaker. So I am not sure the input levels could be a problem. I included the I2C initialization from the I2C bus to show exactly what is being initialized. Just using the default values and the values I included should have the proper plumbing for the audio chain, AGL and mixers etc. - The EQ and limiters should be "off". I have tried two different PCBA of this design but cannot get audio out on either. For some reason, the switching remains constant at 50% duty cycle and absolutely no sound from the speaker, not even a *hiss*

    Below is the I2C traffic. I copied the mux/mixer settings from EVM and included it just in case. I also poll the 0x00 and 002 registers to check for errors (see below)

    Can there be a hardware error? For example some external PLL R's and C's that could lock up the PWM to 50% duty cycle? The majority of the parts on the PCBA are 0402 so very difficult to read the values and confirm the assembly. 

    Also, when using the PPC3 tool, since my board only has stereo (no mono amp), the GUI tool reports error when loading the audio processing tab. When I look into the I2C traffic, the error occurs when the PPC3 tool tries to initialize the sub amplifier (not exist in my design). In the PPC3 tool I adjusted the volume to +24dB and still no audio signal from the PWM

    This is the error I received when entering the process flow although the I2C communication still works when I adjust any single parameter.

  • Shawn-

    The startup sequence specified in section 8.2.1.2.5.1 has some specifics I cannot follow.

    The PVDD, AVDD, DVDD all come up roughly the same time - within 0.5msec. PVDD is regulated down to AVDD/DVDD. The only control I have is the RST, PDN and I2C communication timing. From quick measurement, DVDD/AVDD lags PVDD by about 250~500uSec (depending on which threshold we consider). Could the TAS5751M be behaving the way it is because of PVDD/DVDD timing?

  • Hi Mark,

    Thanks for your update. Sorry for the late reply, I'm out of office. From your register r/w log, the master volume is too low. Please try to enlarge the master volume by setting lower value in the register 0x07. For your board configuration, could you please try to generate a cfg file by TAS5751M EVM and then use it for your board? Please find more info in 'Dump Current State into a Header File' in section 3.8 in the datasheet.

    To enable BD mode, please write the following register:

    w 56 06 07

    w 56 05 40

    w 56 20 00 89 77 72

    w 56 11 b8

    w 56 12 60

    w 56 13 a0

    w 56 14 48

    w 56 05 00

    w 56 06 00

    To enable AD mode, please use the following operation:

    w 56 06 07

    w 56 05 40

    w 56 20 00 01 77 72

    w 56 11 ac

    w 56 12 54

    w 56 13 ac

    w 56 14 54

    w 56 05 00

    w 56 06 00

    Are you trying to use 'In-system tuning'? Please connect the I2C and GND wires from PPCMB board to the device on your board. And please connect the two connectors in the red circles in the following picture together. And make sure the device is powered up(power supply, RST, PDN). I believe it should be working.

    Best regards,

    Shawn Zheng

  • Hi Mark,
    Could you please help to close this question if it's answered? Please let us know if you have more question.
    Best regards,
    Shawn Zheng
  • Sorry for the late reply...

    The culprit in this problem was a bend MCLK and SDIN pin on the IC. Only upon careful inspection under a microscope we could see that there was not a proper solder bond. Once we reflowed the solder, all worked well.

    Thanks for the attention.

    M

  • Congratulation, Mark. I'm glad you make it work well.