Question
stm32l0x1 incorrect UID LL_driver
Posted on December 05, 2017 at 15:47
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-bug