Question
STM32F303CB Unique Device ID - false values?
Posted on April 27, 2016 at 15:48
Hi
I am reading from different STM32F303CB the unique device IDs as follows:// unique device ID base address from RM p.1120
#define BASE_ADDR_UID ((uint32_t *)0x1FFFF7AC)
uint32_t UID_Low = BASE_ADDR_UID[0];
uint32_t UID_Mid = BASE_ADDR_UID[1];
uint32_t UID_High = BASE_ADDR_UID[2];
I got following values:
UID_High
UID_Mid
UID_Low
uC 1
20 34 36 34
57 32 57 07
0025 0023
uC 2
20 34 36 34
57 32 57 07
001F 002F
uC 3
20 34 36 34
57 32 57 04
0022 0036
uC 4
20 36 35 32
50 33 57 11
003F 0026
There is a description in the reference manual, what these values mean:
UID [31:0]: X/Y coordinates on Wafer (BCD coded) UID [39:32]: Wafer number (8-bit unsigned number) UID [95:40]: LOT number (ASCII encoded) Problem: In my UID_Low shall be the X/Ycoordinates coded inBCD. But 0xF in BCD does not exist. In addition, the highest byte of the LOT number is a space (0x20). Is the reference manual information false or am I doing/understanding something wrong? I hope you can help me. Thank you and best regards #unique-device-id-96bit-uid-stm32