Voltage Measurement

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. 1.Configure the voltage reference for the ADC.
  2. 2.Select VDDIOx/10 as the positive input to the ADC.
  3. 3.Run a single-ended ADC conversion.
  4. 4.Calculate the voltage using the following equation:
    VDDIOx=ADC Result×VREF×10ADC Resolution