Other Parts Discussed in Thread: LAUNCHXL-F28379D, C2000WARE, SYSCONFIG
Tool/software:
Hello,
I am having trouble getting accurate ADC readings using LP-AM263P.
I have set up the ADC to sample at 20kHz using a PWM to trigger the SOC. The ADC is set to 12bit single ended mode, ADC clock prescaler is /1, sample window set to 16 counts (80ns). I connected a signal generator directly to the ADC pin, and set to generate a 100Hz or 200Hz sine wave with mean of 1V and peak-to-peak 1V.
The results are plotted in the the two attached figures, the red lines are the results from LP-AM263P, and the blue lines are the same test performed on a LAUNCHXL-F28379D board. (No effort was taken to align the phase, so the phase shift is expected.)
The results from AM263 is significantly worse than that from F28379D. I understand that the arm board ADC is not calibrated at the factory while the C2000 board is, but this doesn't seem to be something a calibration can fix. If a ADC calibration can resolve this, can someone provide a detailed procedure for the calibration? The reference manual ADC calibration section refers to C2000Ware and is confusing.
Thank you!