3 years, 8 months ago.

How to report a bug in target?


It seems to me there is a bug in defenition of TEMPSENSOR_CAL1_TEMP constant. https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.11.5/targets/TARGET_STM/TARGET_STM32F3/device/stm32f3xx_ll_adc.h#L389 Datasheet says it is 30 while in file above it's 25. It leads to an error in internal temperature readings, using provided macro.

I've checked datasheets for all MCU, mentioned in file above (STM32F301x8 || STM32F302x8 || STM32F302xC || STM32F302xE || STM32F303x8 || STM32F303xC || STM32F303xE || STM32F318xx || STM32F328xx || STM32F334x8 || STM32F358xx || STM32F398xx), and none of those says any different: only 30 Celcius for TS_CAL1 value.

For some reason, in other block, at line 7475, the value is 30, as expected.

I'm very new to MCU development, so I apologize if it's not the right place to post this bug suggestion. Please, guide me how to do it right.

Regards, Roman

1 Answer

3 years, 8 months ago.

Please create an issue on https://github.com/armmbed/mbed-os/issues.

Thanks, Lin, team Mbed

Accepted Answer