cancel
Showing results for 
Search instead for 
Did you mean: 

Could anyone provide example code for reading temperature on STM32L476RG on STM32-Nucleo (based on HAL drivers) ?

Carol Trudel
Associate
Posted on July 21, 2017 at 17:30

example provided on STM32Cube package for STM32-Nucleo are based on LL drivers. I think I miss something in configuring the board using HAL functions. Thanks !

1 REPLY 1
john doe
Lead
Posted on July 22, 2017 at 03:09

Use the version in the F7 repository, strip out all the LCD stuff, and read your data sheet so you can adjust

VREFINT_CAL_ADDR

VREFINT_CAL_VREF

TEMPSENSOR_CAL1_ADDR

TEMPSENSOR_CAL2_ADDR

TEMPSENSOR_CAL1_TEMP

TEMPSENSOR_CAL2_TEMP

TEMPSENSOR_CAL_VREFANALOG