cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55 custom UID

miguekun
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

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

View solution in original post

2 REPLIES 2
TDK
Super User

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

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.