Hi,
I am developing on developing on a F280049PZQ Rev B processor and seeing some off values when I use the internal ADC references. When I read ADC pin A2 which has a nominal value of 1.65V, I see the ADC conversion results below depending on the reference options.
|
Reference Setup |
ADC result |
Notes |
|
SetVREF(ADC_ADCA, ADC_EXTERNAL, ADC_VREF3P3); |
0x0813 |
Works as expected |
|
SetVREF(ADC_ADCA, ADC_INTERNAL, ADC_VREF3P3); |
0x0409 |
Appears to be half of nominal |
|
SetVREF(ADC_ADCA, ADC_INTERNAL, ADC_VREF2P5); |
0x0814 |
Appears to use 3.3V as the reference |
Neither of the internal reference values seem correct here. The main CPU is running at 100 MHz, ADC PRESALE=2, ACQPS=9
Is there an issue when using the internal reference for the ADC? Are there any setting that that would account for the 3.3V internal reference reading half of the expected value that I may not have set correctly?
Thanks,
Jose