STM32H723 ADC3 with VREF+ at 3 v
All:
We have a custom board with STM32H723 where VREF+ is set to 3 volts.
When I feed ADC3 input 2 with a value of 0 volts, I get 118 counts on the 12-bit ADC,
1.48 volts gives 1385 counts, and 2.95 volts gives 2600 counts.
Earlier work with Nucleo board with STM32h723 had VREF+ set to 3.3 volts.
Same inputs: ADC3 input 2 with a value of 0 volts gives 12 counts on the 12-bit ADC,
1.65 volts gives 2090 counts, and 3.3 volts gives 4075 counts.
I was expecting to see similar values when I switched from Nucleo to custom.
I am running HAL_ADCEx_Calibration_Start( ) at power up.
The ADC is set up not to use DMA, so I send the following every 50 msec:
ADC_Select_Temperature();
HAL_ADC_Start(&hadc3);
HAL_ADC_PollForConversion(&hadc3, HAL_MAX_DELAY);
temp_value = HAL_ADC_GetValue(&hadc3);
HAL_ADC_Stop(&hadc3);
Is there a setup step needed for change in VREF+ or should that be transparent?
Regards,
Todd Anderson
