Distinguish 55S66 vs 55S69 at run time

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Distinguish 55S66 vs 55S69 at run time

跳至解决方案
1,167 次查看
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 项奖励
1 解答
1,097 次查看
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 项奖励
3 回复数
1,098 次查看
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 项奖励
1,144 次查看
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 项奖励
1,020 次查看
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 项奖励