Hello,
Are there registers to check so we may run-time checking which MCU is used? I can see the OTP bits for identifying core frequency and silicon rev only.
Thanks in advance!
Thanks. But I got to say distinguishing RT104x/5x is "half useful" only.
@Pablo_Ramosis there a way to infer RT1052 (has PXP) v.s. RT1051 (no PXP) by checking some PXP registers?
I understand your need but as I mentioned before, there is only possible to distinguish between families, i.e, RT104x/5x.
The method that you purpose seems viable but we don't have any test of it. But feel free to try and please let me know your results.
An alternative is just using a macro that you can identify.
Hi @alfredatai
In order to distinguish between family (RT104x/5x) you can check the ID register (Silicon Version), but do not work for sub-family (RT1051/52).
i.MXRT |
ID register |
Value |
RT104x |
USB_ANALOG->DIGPROG |
0x006C0000 |
RT105x |
USB_ANALOG->DIGPROG |
0x006A0001 |