Skip to main content
Visitor II
March 26, 2026
Solved

STM32WB55 custom UID

  • March 26, 2026
  • 2 replies
  • 152 views

Hi,

UID is set at factory for all products?

 

Wholesale ICs comes already programmed? I need to repair some machines and IC needs to have same UID as replaced.

 

Thanks

Best answer by TDK

The UID can't be set or changed. (That would make it non-unique.)

2 replies

TDK
TDKBest answer
Super User
March 26, 2026

The UID can't be set or changed. (That would make it non-unique.)

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
March 26, 2026

Yes, There is a UID built-in to the STM32:

https://community.st.com/t5/stm32-mcus/how-to-obtain-and-use-the-stm32-96-bit-uid/ta-p/621443

If you don't want to use that UID, you will have to adapt your code to take its UID from another source.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.