[NUC240] Use ADC to Measure AVDD

Post Reply
Posts: 135
Joined: 13 Mar 2020, 09:08

18 May 2020, 15:36

  • Application: This example code use ADC to measure internal Bandgap voltage(VBG) and use VBG to calculate AVDD.
  • BSP Version: NUC230/240 Series BSP CMSIS V3.01.001
  • Hardware: NuEdu-EVB-NUC240 v1.0
A temperature independent voltage reference circuit inside microcontroller can produce a constant voltage called internal bandgap voltage (VBG). VBG is one of the ADC reference voltages.

In this example code, we use ADC channel 7 to measure the VBG. We then use the measured value to calculate AVDD value by using below formula. This method requires the VREF pin connects to AVDD pin.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1227145113

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest