AnsweredAssumed Answered

stm32l0x1 incorrect UID LL_driver

Question asked by Michiel De Witte on Dec 5, 2017
Latest reply on Dec 26, 2017 by Imen D

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?

Outcomes