Forums

Detecting LPC2119 revision by SW

Started by icduswpm February 12, 2010
Hi,
Does anybody know a method to determine the LPC2119 chip revision ?
For instance using registers ?
Thanks in advance
REgards
PM

An Engineer's Guide to the LPC2100 Series

--- In l..., "icduswpm" wrote:
>
> Does anybody know a method to determine the LPC2119 chip revision ?
> For instance using registers ?

You would think it would make sense for NXP to provide this capability wouldn't you? However, judging by the number of replies to this message I would say no ;-)

Unfortunately, unlike some other LPC parts, the documentation implies that the same Part ID (0x0201 FF12) is used for all revisions of the LPC2219.

What revision level do you want to detect? LPC2119 vs LPC2119/01
or Rev A vs. Rev B etc.?

If the former case, you could try using IAP to read the boot code version. The user manual indicates that v1.68 is only used on the /01 parts. This might not be future-proof however.

--
Chris Burrows
CFB Software
Armaide: LPC2xxx Development System for Pascal Programmers
http://www.armaide.com

--- In l..., "icduswpm" wrote:
>
> Hi,
> Does anybody know a method to determine the LPC2119 chip revision ?
> For instance using registers ?
> Thanks in advance
> REgards
> PM
>

I have uploaded a piece of code to the 'Files/Tools' section (Keil-XXXX-version-check.zip). It allows you to reliably detect a /01 version.

/01 silicon has an additional SSP block. The code uses the fact that an attempt to access the SSP address range on older silicon throws a data abort exception.

Rolf