Other Parts Discussed in Thread: PCM5122,
Hello all,
I'm trying to build an audio output stage for an IoT device that is based around a Raspberry Pi. The built-in audio of the Pi is very poor and susceptible to cpu noise, so I have created a design utilizing the TPA2008D2 amplifier and a PCM5122 DAC.
I've been struggling for the last several weeks with this project because of issues with the amplifier. It seems to be whenever there is even the slightest noise in the source audio signal, or even when I turn up the gain on the amp, it will shut down requiring I remove and re-apply power to restart it. I've been on chat with the support team, but they have referred me here. I will try to put as much detail as I can.
Here are the snippets of the schematics (pardon the messiness):
Note that D5 has been removed and U2 is bypassed.
The 1nf caps are documented on the datasheet page 14/15 for the application note of longer wires from the amp to the speaker. I have 13cm from the PCB to the headphone jack and from the jack to the internal 8ohm speakers. The ferrite bead is on the cable coming off of the PCB.
The 470uF caps are currently bypassed per my discussion with the customer support team, but was based on what I see recommended in the SLOU011 datasheet (pg. 28 / 3-12 ; C2 & C3) for the evaluation platform for this amp.
I've attempted a separate board populated only with the amp and it's components. Current draw was only showing 18ma draw at 5.07v. The scope measurement is at the audio output jack. I see the switching and this looks good to me.
I did attempt to put some additional 0.1uf caps between the audio signals (test both with phone and DAC) with no effect on keeping the amp running. I also tested adding a 50k ohm resistor in line in addition to the cap with similar results. I was able to get the amp to play back audio from the DAC by adding 0.1uF caps between the audio input to the amp and ground, plus a 2.2nF cap between the output of the DAC and the input to the amp. There is some distortion noise in the background and the amp still was shutting down occasionally. I also couldn't turn up the gain much past half way or it too would cause the amp to shutdown.
Might there be something with isolation? I noticed also that the DAC output while the amp was off was averaging at 280mV Pk-Pk (see left), whereas when the amp was running I was seeing 1.73 Pk-Pk and pulses at the switching points (see right).
So, I'm at a loss for what to do next... Is there something that I missed on the evaluation platform?
Thank you kindly. -Peter.