STM32L0x0, are "unique ID bits [95:64]" of "Unique device ID registers (@0x1FF8 0050)" uniques?
I am working with STM32L010C6T6 MCUs. I need a way to consistently and uniquely identify each MCU with as few bytes as possible. The 96 bits "Unique device ID" register seems ideal but what is the minimal number of bytes I need?
Are all 96 bits mandatory to fulfil my needs? At a first look, the answer seems to be no as 4 bytes seems to be enough but I am not sure.
In Reference Manual RM0451, section 25.2, page 730-731 the 96 bits "Unique device ID registers" are described as follows:
- [23-0]: LOT_NUM in ASCII code
- [31-24]: WAF_NUM in 8 bits unsigned number
- [63-32]: LOT_NUM in ASCII code
- [95-64] Unique ID bits
Here are my assumptions. We have 3 distinct fields:
- LOT_NUM: An ASCII string represented by 56 bits => 7 chars/bytes. I assume that only the 7 LSB bits of each byte are significant (standard ASCII code represented on 7 bits) and this string may be common among MCUs of the same Lot.
- WAF_NUM: A Wafer number represented by 8 bits => 1 byte. I assume that all bits are significant and this number may be common among MCUs of the same Wafer.
- Unique ID: A unique ID number represented by 32 bits => 4 bytes. I assume that all bits are significant and this number is unique but to what extent ?
Is the "Unique ID" field really unique? If yes, is it unique among all STM's MCU/MCPs, all STM32 MCUs, all STM32L0 Series, STM32L0x0 Value Line, …
Below is the full UID registers of two distinct STM32L010C6T6 I own.

