Hi there,
my board is based on iMX51 + 13892 and WinEC700.
The board has a docking base that allow to connect the board to the wall charger.
Sometimes happen that if i insert the board on the base, the sound (based on SGTL5000) stops to work.
Other effect is that I'm not able to switch off the board via software.
I debugged the problem adding serial debug outputs on the sound driver: when i run a sound i always see the couple of event BSPAudioStartDAC() + BSPAudioStopDAC().
When the problem is on, i only see the call to BSPAudioStartDAC() and then no more other output for the audio driver.
Any idea?
The BSPAudioStopDAC() is called by StopOutputDMA() when the audio stream is stopped.
You can check the I2S data pin to see if there are data transfer when your issue happen.
Also you can check the BitClk and FrameSync clock on the I2S port.
For the moment we solved putting a ferrite ring near the connector of the speakers.
Our guess is that a power supply noise is entering on the speakers ..
OK. Thanks for your update.