Is there a register (or SDK API) I can use to distinguish LPC55S66 from '69 at run time? I'm thinking some bits in SYSCON->DEVICE_ID0 or something like that.
Solved! Go to Solution.
I found a solution. The flash API FLASH_GetProperty gives different values for kFLASH_PropertyPflashTotalSize.
0x40000 for LPC55S66, 0x9DE00 for LPC55S69.
I found a solution. The flash API FLASH_GetProperty gives different values for kFLASH_PropertyPflashTotalSize.
0x40000 for LPC55S66, 0x9DE00 for LPC55S69.
Hi Mike,
No, LPC55 doesn't have register for device id. LPC55 FFR area includes 128-bit unique device serial number for identification (UUID), user can read it out by iap command. But it doesn't include device part number.
Have a great day,
Jun Zhang
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Jun
Is this really true? The SYSCON block has the DEVICE_ID0 register which, according to the header file, includes the field:
PARTCONFIG
SRAM_SIZE
FLASH_SIZE
ROM_REV_MINOR
MODELNUM_EXTENTION
Further to this what do these fields actually _mean_: the user manual (UM11126) shows no information.