2017-12-05 6:47 AM
In the stm32l0xx_ll_utils.h, the UID is using the wrong offset:
__STATIC_INLINE uint32_t LL_GetUID_Word2(void)
{ return (uint32_t)(READ_REG(*((uint32_t *)(UID_BASE_ADDRESS + 8U))));}Checked in both STM32Cube_FW_L0_V1.9.0 and STM32Cube_FW_L0_V1.10.0
In the reference manual (RM0377.pdf) page 818 the offset is defined as 0x14 which seems to work.Could someone verify this or send me to the correct channel to submit this driver-bug?#stm32l0x1 #uid #driver-bug2017-12-26 5:46 AM
Hello
De_Witte.Michiel
,Thank you for your bug reporting.
I confirm this issue of the STM32L0 HAL which defined incorrect unique device ID.This issue is already raised internally to the appropriate team.
Kind Regards,
Imen.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.