Hi,
I am designing device that uses TAS5720A amplifier, which is connected to STM32F4 microcontroller. When I'm sending audio to the device it immediately stops outputting signal and sets OCE flag (0x08 register reads 0x04). This does not occur when I'm sending zeros or values really close to zero. It doesn't matter if I connect 10 ohm resistor as a load, or leave output connectors open. I've tried various I2S and sampling rate settings. I've also tried to slow down PWM frequency, but this also didn't made any change. I've checked I2S signals using oscilloscope and they seems fine. I've even replaced TAS5720 with new one which also didn't made any difference. I am guessing that problem doesn't lie in communication between microcontroller and amplifier, but where? Do you have any idea what am I missing?
LRCK and SDIN signals while sending 32-bit "17000" value using Right Justified 24-bit audio format, device works (reg 0x08 == 0x00):
LRCK and SDIN signals while sending 32-bit "32768" value using Right Justified 24-bit audio format, device throws OCE (reg 0x08 == 0x04):