We are using the LM49450 Audio DAC in a new product that we are having problems with.
We are using the device in I2S Slave mode and playing a 44.1 KHz 16-bit stereo track with an approximate 12 MHz MCLK. We are not using any headphone functions or Analog Audio Inputs. We are only using I2S with the Right & Left loudspeakers.
The problem we are having is that after a playing an audio track correctly for a while (can be a few minutes or it can be a few hours) via the I2S interface, the LM49450 suddenly generates what only can be described as very loud random audio.
When the problem happens the ‘real’ I2S audio track can just about be heard, although the very loud ‘random’ audio virtually drowns it out.
Once this has happened the LM49450 is ‘stuck’ in this mode. If we stop the I2S audio track, and in fact if we stop all I2S clocks, the loud random audio continues.
Whilst in this error state, if we look at the Right & Left speaker outputs, we see the waveforms switching randomly, without any correlation to the usual 300 KHz.
Whilst in this error state, we can read the I2C registers and they are correct to the values that they have previously been set to.
If we disable the LM49450, by clearing Bit0 of Reg 0x00, and then re-enable the LM49450 by setting Bit0 of Reg 0x00, then the problem is cleared, and correct audio is heard. Although, subsequently the problem will re-occur sometime later.
If we repeat the test but use the headphone output instead of the Class-D speaker output then the problem does not occur.
This implied the problem is somehow related to the Class-D ouputs ??
Any thought or help would be appreciated.