LPC55xxx DEVICE_ID register

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

LPC55xxx DEVICE_ID register

2,198 Views
alj
Contributor II

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
Reply
10 Replies

2,172 Views
alj
Contributor II

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
Reply

2,171 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
Reply

2,168 Views
alj
Contributor II

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
Reply

2,152 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
Reply

2,146 Views
alj
Contributor II

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

2,138 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
Reply

1,540 Views
craigmcqueenir
Contributor IV

The LPC55S6x/LPC55S2x User Manual (UM11126) revision 2.4 has the following values listed:

  • 0x501000C5 = LPC55S69 Rev 1B
  • 0x501022C2 = LPC55S66 Rev 1B
  • 0x5000000 = LPC55S69 Rev 0A (is this correct? It's only 7 hex digits)
  • 0x5000220 = LPC55S66 Rev 0A (is this correct? It's only 7 hex digits)

I have an LPCXpresso 55S28, and the DEVICE_ID0 register on that reads as 0xA010119C. It must be a Rev 1B.

I'd like to know the value for LPC55S26, LPC5528, LPC5526, for both rev 1B and 0A. Please NXP tell us the values for all the LPC55xx processors.

1,367 Views
craigmcqueenir
Contributor IV

I now have a board with LPC55S26 on it. The SYSCON DEVICE_ID0 is 0xA010229A.

I notice that using Flash Magic (13.61), it is missing signature values for a number of processors in the LPC55xx list. For some processors, it has a good signature value, but for others it just has 0x00000000.

1,338 Views
danielholala
Senior Contributor II

I notice that using Flash Magic (13.61), it is missing signature values for a number of processors in the LPC55xx list. For some processors, it has a good signature value, but for others it just has 0x00000000.

I'm glad you confirmed this as I was puzzled by the missing signature in Flash Magic, too.

0 Kudos
Reply

2,177 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
Reply