七夜-2003106 发表于 2020-6-29 21:20:25

配置stm32基准VREFINT输出,

配置VREFUNT_ADC输出到PB1引脚上,实际pB1引脚并无电压输出?理论上已经完全配置成功,不知道为什么实际输出电压,有遇到的没



七夜-2003106 发表于 2020-6-30 10:39:21

Reference control and status register (SYSCFG_CFGR3)

七夜-2003106 发表于 2020-6-30 13:20:24

Reference control and status register (SYSCFG_CFGR3) 这个控制寄存器里有个bit:

ENBUF_SENSOR_ADC: Temperature sensor reference for ADC enable bit
This bit is set and cleared by software (only if REF_LOCK not set). When this bit is set, the
VREFINT is automatically enabled.
0: Disables the buffer used to generate VREFINT reference for the temperature sensor.
1: Enables the buffer used to generate VREFINT reference for the temperature sensor
这个the buffer如何理解,比方说使能了,是不是 the temperature sensor的ad采样值的参考电压就是vrefint,但实际实际好像不是这样,即便使能了
ad参考电压依然是vdda



butterflyspring 发表于 2020-7-9 17:23:24

从官方的手册描述步骤看,使用这个温度传感器测量节温,与这一位没啥关系。使能内部参考电压,可以利用内置的参数校准当前的VDDA值,从而调整ADC转换的结果,使温度再精确一点
页: [1]
查看完整版本: 配置stm32基准VREFINT输出,