39. Device electronic signature

The device electronic signature is stored in the system memory area of the flash memory module and can be read using the debug interface or by the CPU.

It contains factory-programmed identification and calibration data that allow the user firmware or other external devices to automatically match the characteristics of the microcontroller.

39.1 Device electronic signature registers

39.1.1 Unique device ID register (UID)

The 96-bit unique device identifier is ideally suited:

This unique device identifier provides a reference number, unique for a given device and in any context. These bits cannot be altered by the user.

Base address: 0x1FFF 7590

Address offset: 0x00

Reset value: 0xXXXX XXXX

Note: X is factory-programmed.

31302928272625242322212019181716
UID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
UID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 UID[31:0] : X and Y coordinates on the wafer expressed in BCD format

Address offset: 0x04

Reset value: 0xXXXX XXXX

Note: X is factory-programmed.

31302928272625242322212019181716
UID[63:48]
rrrrrrrrrrrrrrrr
1514131211109876543210
UID[47:32]
rrrrrrrrrrrrrrrr

Bits 31:8 UID[63:40] : LOT_NUM[23:0], lot number (ASCII encoded)

Bits 7:0 UID[39:32] : WAF_NUM[7:0], wafer number (8-bit unsigned number)

Address offset: 0x08

Reset value: 0xXXXX XXXX

Note: X is factory-programmed.

31302928272625242322212019181716
UID[95:80]
rrrrrrrrrrrrrrrr
1514131211109876543210
UID[79:64]
rrrrrrrrrrrrrrrr

Bits 31:0 UID[95:64] : LOT_NUM[55:24], lot number (ASCII encoded)

39.1.2 FLASH size data register (FLASHSIZE)

Base address: 0x1FFF 75E0

Address offset: 0x00

Reset value: 0xXXXX

Note: X is factory-programmed.

1514131211109876543210
FLASH_SIZE[15:0]
rrrrrrrrrrrrrrrr

Bits 15:0 FLASH_SIZE[15:0] : Flash memory size

These bits indicates the size of the device flash memory in Kbytes.

As an example, 0x0040 corresponds to 64 Kbytes.

39.1.3 Package data register (PKG)

Base address: 0x1FFF 7500

Address offset: 0x00

Reset value: 0xFFXX

Note: X is either factory- or user-programmed.

1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PKG[4:0]
rrrrr

Bits 15:5 Reserved, must be kept at reset value.

Bits 4:0 PKG[4:0] : package type

00000: UFBGA73

00010: WLCSP59

01010: UFQFPN48

Others: reserved

39.1.4 IEEE 64-bit unique device ID register (UID64)

A 64-bit unique device identification (UID64) is stored in the flash memory and can be accessed by the CPUs.

Base address: 0x1FFF 7580

Address offset: 0x00

Reset value: 0xXXXX XXXX

Note: X is factory-programmed.

31302928272625242322212019181716
DEVNUM[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
DEVNUM[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 DEVNUM[31:0] : device number

The 32-bit unique device number is a sequential number, different for each individual device.

Address offset: 0x04

Reset value: 0x0080 E115

31302928272625242322212019181716
STID[23:8]
rrrrrrrrrrrrrrrr
1514131211109876543210
STID[7:0]DEVID[7:0]
rrrrrrrrrrrrrrrr

Bits 31:8 STID[23:0] : company ID
0x0080E1 for STMicroelectronics

Bits 7:0 DEVID[7:0] : device ID
0x15