cancel
Showing results for 
Search instead for 
Did you mean: 

stm32l0x1 incorrect UID LL_driver

MDW
Associate II
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
1 REPLY 1
Imen.D
ST Employee
Posted on December 26, 2017 at 14:46

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.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen