LPC55xxx DEVICE_ID register

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC55xxx DEVICE_ID register

418 Views
alj
Contributor I

In the LPC55xxx parts, the SYSCON block has a DEVICE_ID0 register which, according to the header file, includes the fields:

PARTCONFIG
SRAM_SIZE
FLASH_SIZE
ROM_REV_MINOR
MODELNUM_EXTENTION

But what do these fields actually _mean_: the user manual (UM11126) shows no information.

(What I'd actually like to do is distinguish between an LPC55S28 and an LPC5528 at run time.)

0 Kudos
7 Replies

392 Views
alj
Contributor I

The fields that I mentioned are in the header file, not in the UM11126 (which is partly why I raised the question)

If the DEVICE_ID0 register isn't suitable for differentiating between LPC55xx variants, what is the official way of doing that?  I would like to determine at run time which part I'm running on

0 Kudos

391 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

which header file do you mean? is it included in SDK package? please upload the file here. or if it is included in original SDK, let me know the file name. I will check.

0 Kudos

388 Views
alj
Contributor I

These fields were in LPC55S69_cm33_core0.h (the version I looked at was version 1.0 and dated 2018-08-22).

As I said I would like to be able to identify the particular part ayt run time : how do I do that?

0 Kudos

372 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

By checking internally, I can confirm LPC55 doesn't have feature of reading part number, as i said before.

User needs to know the part number and write it in Flash during programming the code.

Have a nice day

Jun Zhang

0 Kudos

366 Views
alj
Contributor I

Frankly that's pretty poor and rather unhelpful.  Perhaps NXP might consider adding one: other vendors seem to manage without difficulty

0 Kudos

358 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

As I said some of the LPCs like LPC8xx has this feature but LPC55 not. I have escalated it as feature request. If any update, will let you know.

0 Kudos

397 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

HI

For LPC55, only ROM version of DEVICE_ID0 is open to external.

ZhangJennie_0-1604907528917.png

Do you see below definition in SDK files? Please let me know the position, I will check.

PARTCONFIG
SRAM_SIZE
FLASH_SIZE
ROM_REV_MINOR
MODELNUM_EXTENTION

 

We can read part number from ROM for some of NXP LPC parts(for example LPC824). But LPC55 doesn't have this feature.

 

Best Regards

Jun Zhang

 

0 Kudos