-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
adcAnalog-to-Digital ConverterAnalog-to-Digital ConverterbugSomething isn't workingSomething isn't workinghalHAL-LL driver-related issue or pull-request.HAL-LL driver-related issue or pull-request.
Description
The LL API seems to incorrectly assume that TS_CAL1 (temperature sensor calibration value @ 30c) is missing on the STM32L011 series.
The datasheet says in section 6.3.16 Temperature Sensor Characteristics, sub-point 2, "V30 ADC conversion result is stored in the TS_CAL1 byte".
I've tested this on STM32L011 development boards, and the TS_CAL1 value is indeed present in 0x1FF8007A, and the value seems sensible, producing quite accurate temperature readings using the included macro.
Could stm32l0xx_ll_adc.h be modified to correct this? Thanks.
Metadata
Metadata
Assignees
Labels
adcAnalog-to-Digital ConverterAnalog-to-Digital ConverterbugSomething isn't workingSomething isn't workinghalHAL-LL driver-related issue or pull-request.HAL-LL driver-related issue or pull-request.
Type
Projects
Status
Analyzed