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.

TLV320DAC3120: Reliable speaker short detection

Part Number: TLV320DAC3120

Hello,

As part of a system selftest, I'm trying to reliably test that the speaker isn't shorted.

I'm trying to detect a shock in 2 ways:

  • After I turn on the class D power stage (P1R32), I wait 500 ms and then read back P1R32 to see if D7 is set.
  • I also read P0R44 an check the state of D7.

On some boards this works but on others it doesn't. How can I make my test more reliable?

As a 2nd part of my selftest a beep is emitted and I use the ADC on my microcontroller to detect a step change in the current. This works ok when no speaker / a speaker is present. However when I remove the speaker and replace it with a short there is also a step change in the current. Why is this the case?

Thanks in advance for your help with this.

Regards,

Alan