Distinguish 55S66 vs 55S69 at run time

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Distinguish 55S66 vs 55S69 at run time

Jump to solution
1,156 Views
mditto1
Contributor III

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.

0 Kudos
1 Solution
1,086 Views
mditto1
Contributor III

I found a solution.  The flash API FLASH_GetProperty gives different values for kFLASH_PropertyPflashTotalSize.

0x40000 for LPC55S66, 0x9DE00 for LPC55S69.

View solution in original post

0 Kudos
3 Replies
1,087 Views
mditto1
Contributor III

I found a solution.  The flash API FLASH_GetProperty gives different values for kFLASH_PropertyPflashTotalSize.

0x40000 for LPC55S66, 0x9DE00 for LPC55S69.

0 Kudos
1,133 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

0 Kudos
1,009 Views
alj
Contributor II

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.

0 Kudos