cancel
Showing results for 
Search instead for 
Did you mean: 

About ''HAL_GetUID()''

diverger
Senior
Posted on March 17, 2017 at 06:28

In STM32Cube_FW_F4_V1.15.0, I find a new function: HAL_GetUID(), the brief description of this function is: Return the unique device identifier (UID based on 96 bits). I wonder, how 'unique' of this ID, unique in ST's parts, or unique only in STM32 familly? Can it be used as a MAC like? 

1 REPLY 1
S.Ma
Principal
Posted on March 17, 2017 at 06:42

Looking at an

http://www.st.com/content/ccc/resource/technical/document/reference_manual/02/35/09/0c/4f/f7/40/03/DM00083560.pdf/files/DM00083560.pdf/jcr:content/translations/en.DM00083560.pdf

 the 96 bit is unique as it provide the origin of the device, its position on a wafer (unique), the wafer number and lot number (unique). This probably give clues to quality teams when customers return parts (ppm) for analysis. These IDs are probably filed at test time. If two devices have the same ID...