![]() |
Reference control and status register (SYSCFG_CFGR3)
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
从官方的手册描述步骤看,使用这个温度传感器测量节温,与这一位没啥关系。使能内部参考电压,可以利用内置的参数校准当前的VDDA值,从而调整ADC转换的结果,使温度再精确一点