Hi
I have a 28069 controlstick and when I run the ControlSuite example TriggeredADC I get A/D conversion values with errors (as some other posts have alluded to). I am not using the PWM DAC as input source as there is too much ripple on the signal, instead I am feeding in a dc voltage direct to the ADC. According to my Fluke 187 multimeter and the debugger I have the following measured input voltage and ADResult (theoretically 0 to 4095)
11.7mV = 0
0.4995V = 587 to 589
0.9940V = 1193 to 1196
2.0095V = 2412 to 2414
2.6540V = 3203 to 3206
These values do not correspond accurately enough to a 3.3V internal reference.
The TI example code supplied includes a call to the calibration procedure for the ADC, and I note during running the debugger shows:
ADCREFTRIM = 0x15AA
ADCOFFTRIM = 0x0000
I have seen exactly these same calibration values also quoted in a similar forum posting, so I am questioning if these are the factory calibration values or something else.
Given this is supplied TI code, what could be the reason? Calibration not implemented while debugging? Calibration data false or corrupted? Defective chip? Conversion time not long enough?
I have no reason to believe my DMM is inaccurate. When using the external reference the values are converted more accurately.
I would be grateful of some assistance.
Andrew