I took the Waveforms Audio example, set the frequencies to 1000Hz, wave type to sine, and maxed the levels with
And looked at the line outputs with my QA403 audio analyzer:
Which is a bit shy of the -100dB THD and -85dB THD+N figures from the datasheet for 1Vrms from the DAC (though the outputs at maximum are a little higher than 1Vrms).
Next I took the PassThroughStereo example and maxed the levels in the same way, and thus tested the ADC as well, generating the signal on the QA403 at a level of 1Vrms (a.k.a. 0 dBV)
The THD against signal level plot is interesting:
The normal noise-limited slope down should bottom out once distortion dominates, but here there is a strange hump around -1 dBV - the dip at 0dBV might be a cancellation thing, but its still a little odd.
BTW the QA403 is good down to -110dB or better usually, so the distortion shown is all due to the SGTL5000.
The spreading of the 1kHz peak at the bottom is also definitely due to the SGTL5000, indicative of phase noise on its clock perhaps, or its internal jitter.
Code:
sgtl5000_1.lineInLevel(0);
sgtl5000_1.lineOutLevel(13);
And looked at the line outputs with my QA403 audio analyzer:
Which is a bit shy of the -100dB THD and -85dB THD+N figures from the datasheet for 1Vrms from the DAC (though the outputs at maximum are a little higher than 1Vrms).
Next I took the PassThroughStereo example and maxed the levels in the same way, and thus tested the ADC as well, generating the signal on the QA403 at a level of 1Vrms (a.k.a. 0 dBV)
The THD against signal level plot is interesting:
The normal noise-limited slope down should bottom out once distortion dominates, but here there is a strange hump around -1 dBV - the dip at 0dBV might be a cancellation thing, but its still a little odd.
BTW the QA403 is good down to -110dB or better usually, so the distortion shown is all due to the SGTL5000.
The spreading of the 1kHz peak at the bottom is also definitely due to the SGTL5000, indicative of phase noise on its clock perhaps, or its internal jitter.