Part Number: TMS320F28069
I'm using ADCINA6 to measure an external temperature. The value seems to fluctuate a lot when varying ambient temperature.
Setup
- Internal BG reference (ADCREFSEL = 0)
- VREFLO tied to GND
- SOC6 CHSEL = 6
- SOC6 ACQPS = 15
- SOC6 TRIGSEL = 1 (CPU Timer 0)
- CPU Timer 0 setup to 100usec and enabled
- CPU Timer 0 ISR reads the ADC value
No re-calibration or offset re-calibration is being performed (I've tried to run the AdcOffsetSelfCal() routine periodically but that did not seem to help).
I'm seeing at ~15C (and lower) ambient temp around 50 counts (0.042V) difference than when the ambient temp goes above ~18C. I'm trying to interpret table 6-27 from SPRS698G to see if this is expected.
Here is the table from the document along with me trying to convert it to V (3.3V scaled) on the right for my reference:
| min | typ | max | unit | min | typ | max | unit | ||
| offset error | -20 | 20 | LSB | -0.01611 | 0.016113 | V | |||
| overall gain error (int ref) | -60 | 60 | LSB | -0.04834 | 0.04834 | V | |||
| temp coeff (int ref) | -50 | ppm/C | -0.00017 | V/C |
Is this saying that I can expect +/- 60 counts (+/- 0.04834 V) of error due to the gain error, and that my ~50 count (~0.042V) differences are within spec, or is there something else I should do to try and re-calibrate to get more consistent results over different temperatures? I don't have any reference voltages tied to any ADC inputs that I could use to try and see if there is an offset.