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.)
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
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.
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?
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
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.
The LPC55S6x/LPC55S2x User Manual (UM11126) revision 2.4 has the following values listed:
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.
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.
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.
HI
For LPC55, only ROM version of DEVICE_ID0 is open to external.
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