2020-12-11 01:08 AM
2020-12-11 01:47 AM
When available (some STM32 don't offer it) it is a fixed number that is uniquely determined during the manufacturing process. It's not customizable.
When your question is answered, please close this topic by choosing Select as Best.
/Peter
2020-12-11 02:29 AM
Thank You.
Is the serial number customizable for STM32WB55RG and STM32F373CC? From where can we get that number if it is uniquely determined during manufacturing process? Is it available in datasheet or can it be read using STM32Cube?
2020-12-11 02:55 AM
Yes, the so-called Unique Device ID is also available in the STM32WB55 and the STM32F373. The corresponding section in the reference manual contains a description of this, e.g. for the STM32WB55 (search for unique to find it quickly):
Unique device ID register (96 bits)
The unique device identifier is ideally suited:
The 96-bit unique device identifier provides a reference number, unique for a given device and in any context. These bits cannot be altered by the user.
The reference manual also contains the address from which you can obtain this information.
Regards
/Peter
2020-12-11 04:22 AM
It is in a block of memory you can read with a pointer.
If you need your own write one into OTP, EEPROM or FLASH which has the sequence, length and form you want.
The one available would be useful for salting hashes in a device unique way.
2020-12-11 06:23 AM
It wouldn't be unique if the user could customize it.