2024-10-02 06:34 AM - last edited on 2024-10-02 07:01 AM by Andrew Neil
Hi,
Is it possible to distinguish an STM32G0B1KBU6N from an STM32G0B1KBU6 based on the UID?
Is it possible to read this UID in FW in order to recognize whether the correct controller is fitted or is this only possible via the SW interface?
2024-10-02 06:51 AM
There's some register (or ROM location) that tells the package type.
2024-10-02 07:03 AM
@TR01 wrote:Is it possible to read this UID in FW
Yes - see:
https://community.st.com/t5/stm32-mcus/how-to-obtain-and-use-the-stm32-96-bit-uid/ta-p/621443
@TR01 wrote:Is it possible to distinguish an STM32G0B1KBU6N from an STM32G0B1KBU6 based on the UID?
It doesn't look like it.
As @Pavel A. said, there may be other ROM locations which may help ...
2024-10-02 07:09 AM - edited 2024-10-02 07:10 AM
2024-10-02 07:14 AM - edited 2024-10-02 07:16 AM
These part numbers STM32G0B1KBU6N and STM32G0B1KBU6 difference is the N at the end, UID, Flash size and package information don't give this differentiation.
So I don't think it's possible to get that information by software.