Skip to main content
Visitor II
Mar 26, 2026 3:05 PM UTC
Solved

STM32WB55 custom UID

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

TDK
TDKBest answer
Mar 26, 2026 3:08 PM UTC

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""."

2 replies

TDK
TDKBest answer
Mar 26, 2026 3:08 PM UTC

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
Mar 26, 2026 3:11 PM UTC

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.