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
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
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?
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:
for use as serial number (USB string serial number, or other end applications)
for use as part of the security keys, to increase the security of code in Flash memory while using and combining this unique ID with software cryptographic primitives and protocols before programming the memory
to activate processes such as secure boot.
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
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.