cancel
Showing results for 
Search instead for 
Did you mean: 

Hi all, am using stm32l4S5IT microcontroller for reading internal temperature ,VBAT and vref but not able to read the exact values of each one ,

himasagar reddy
Associate II

Vref is giving - 5200- 5700 mv but my source is (3300) max

VBAT - 3600 mv

Temp- 170 degrees

not able to get why it giving that difference and my configurations are as per the example cube library

Note: my Vref value is using as VREFANALOG_VOLTAGE for VBAT and Temperature

Thanks in Advance

2 REPLIES 2
S.Ma
Principal

Have you performed the ADC calibration step before running measurements?

Yes i performed.

  HAL_ADCEx_Calibration_Start(&hadc1, ADC_SINGLE_ENDED);