STM32U5xx: CPUID and REVID - where to find documentation of the expected values?
I read and display the CPUID and REVID on my project.
I see the difference between using an U575 chip vs. U5A5 chip (NUCLEO boards):
U5A5:
CPUID: 0x410FD214
REVID: 0x30016481
U575:
CPUID: 0x410FD214
REVID: 0x20016482
OK, based on ARM Cortex-M33 documentation: the same CPUID makes sense (and it is the same on different boards): the 214 at the end means: CM33 (the 41 should be the vendor).
But now I want to verify the REVID:
- I cannot find any information in the MCU reference manual, neither in the datasheet
- it looks like, the SCB->CPUID (and REVID) register content is not mentioned anymore in any document (as it was/is in "older" MCUs manuals)
I want to check during runtime, on which MCU the code is running: "is it a U5A5 or a U575?"
How to do? (or where to find how the REVID is coded and if it would tell me the target I am running on)
I see the difference on different boards, via REVID. I want to verify with manuals, documentation if it is the expected one (telling me: "it is a U5A5").
Where to find?
