23.3.3 Voltage Measurement

The VDDIOx supply voltage is available as an internal input channel to the ADC. The voltage is divided by ten to allow the use of any internal ADC reference. To measure VDDIOx/10, the user is recommended to follow these steps:

  1. Configure the voltage reference for the ADC
  2. Select VDDIOx/10 as the positive input to the ADC
  3. Run a single-ended ADC conversion
  4. Calculate the voltage using the following equation:
    V DDIOx = ADC Result × V REF × 10 ADC Resolution