878 views|1 replies

37

Posts

0

Resources
The OP
 

ST NUCLEO-U083RC uses ADC to read accurate voltage values and chip temperature [Copy link]

1. Build the engineering process

1. Select the corresponding chip

2. STM32CubeMX options are as shown below

2. Experimental Description

Because the reference voltage for this sampling uses the internal reference voltage of the microcontroller, it is necessary to first find the factory reference voltage coefficient in the location specified by the microcontroller flash manufacturer in the data sheet, and then calculate the actual sampling voltage according to the formula in the user manual.

3. Experimental Phenomenon
The vol_val printed in the serial port is the sampling voltage. VEREFINT_CAL should have been the factory coefficient read from the chip 0x1FFF6EA4-0x1FFF6EA5, but for some reason the value read by the MCU on the development board was 0xFFFF, so a coefficient read from another MCU was written as the coefficient of this MCU.

ST NUCLEO-U083RC使用ADC读取精确读取电压值和芯片温度.zip

41.11 MB, downloads: 2

This post is from stm32/stm8

Latest reply

How many degrees does the temperature 187 correspond to?   Details Published on 2024-6-19 17:54
 

9702

Posts

24

Resources
2
 

How many degrees does the temperature 187 correspond to?

This post is from stm32/stm8
 
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list