As I've mentioned in previous posts, we are designing a new hardware platform that uses an MSP430F5359 interfaced to the TLV320AIC34 codec using the method described in app note SLAA449A. I believe we have the design mostly working with respect to the output stage, but I have observed what appears to be rather significant noise on the signal. In my test setup, I'm trying to send a full scale linear ramp-up/ramp-down signal out through the codec. Although the signal appears to have the general shape and frequency that I'd expect, there is noise (upwards of 50mv) on the output signal from the codec. I have the codec configured such that I should be sending new 32-bit samples (16-bit left, 16-bit right) at about a 20khz rate. This means my samples should be changing roughly once every 50 microseconds. As you can see from the traces below, the signal noise I'm seeing is far above this frequency.
I'm at a loss as to what could be causing the noise. I've attached three scope traces below. The first shows the general shape and frequency of my output signal. It's an alternating triangle wave pattern where I vary the amplitude on every other cycle. The other traces show a zoomed in view to provide a close inspection of the signal (still in green) and the power supplies (26v and 3.3v) used to power the system and output stage amplifier. The power supply traces are pink and are ac coupled so you can see the "ripple". It doesn't look to me as through the noise on the codec output is related to my power supply ripple. So, I'm not too sure where it is coming from or if there is some other setting within the codec that could be used to improve this signal.
Please let me know what other information you would need from me to further diagnose this issue.
General waveform shape and frequency...
Zoomed in view showing signal (green) and 26v power supply (pink) ac coupled.
Zoomed in view showing signal (green) and 3.3v power supply (pink) ac coupled.