牛卧堂MCU技术交流

标题: [NUC240] Use ADC to Measure AVDD [打印本页]

作者: admin    时间: 2022-7-7 11:48
标题: [NUC240] Use ADC to Measure AVDD
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






欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2