Other Parts Discussed in Thread: TMS320C5515
Hello,
I am using TMS320C5515 and codec AIC3204 for audio project.
Inside DSP C5515 i am generating 15 bit sine wave and then setting different codec gains (DAC and HP).
Without load when i use negative gains of DAC below -6 i am getting highly distorted signal at codec output.
Below is my experimental results captured on Tektronik Digital Oscilloscope
The codec is set to run at 1.8V.
| DAC Gain | HP Gain | Voltage P2P | RMS | Waveform Description |
| 0 | 0 | 860mV | 250mV | Sinewave |
| -1 | 0 | 780mV | 223mV | Sinewave |
| -2 | 0 | 700mV | 199mV | Sinewave |
| -3 | 0 | 640mV | 179mV | Sinewave |
| -4 | 0 | 580mV | 160mV | Sinewave |
| -5 | 0 | 540mV | 142mV | Sinewave |
| -6 | 0 | 500mV | 128mV | Sinewave |
| -7 | 0 | 480mV | 115mV | Sinewave |
| -8 | 0 | 440mv | 104mV | Sinewave |
| -9 | 0 | 400mV | 93.2mV | Distorted Sinewave |
| -10 | 0 | 384mV | 83.4mV | Distorted Sinewave |
| -11 | 0 | 368mV | 75.5mV | Distorted Sinewave |
| -12 | 0 | 336mV | 67.5mV | Distorted Sinewave |
Query: How can i achieve a clean sinewave of 100mv with THD < 1%. Can the currently selected codec AIC3204 and DSP 5515 satisfy the requirement. If yes what is the specific codec settings i must use to achieve it. The data sheet of codec mentions DAC gain range of -63 to 24. But i get highly distorted waveform at -6db itself.
Please help me resolve this issue.
Thanks,
Swamy