Forums

LPC2XXX Peripherals

Started by waldstadt2004 May 4, 2007
Hello,

Does anybody know if the peripherals within a family of LPC2000 chips
are register compatible?

With "family" I mean LPC2100/LPC2200 and LPC2300/LPC2400.

I would like to start to write drivers for the peripherals on the
LPC2368, since the LPC2478 is not yet available.

Especially, I am interested in the Interrupt controller, DMA
controller and the timers.

There is not yet a user manual for the LPC2478 avalable, so maybe only
somebody from NXP would know.

Regards,

Thomas

An Engineer's Guide to the LPC2100 Series

--- In l..., "waldstadt2004"
wrote:
>
> Hello,
>
> Does anybody know if the peripherals within a family of LPC2000
chips
> are register compatible?
>
> With "family" I mean LPC2100/LPC2200 and LPC2300/LPC2400.
>
> I would like to start to write drivers for the peripherals on the
> LPC2368, since the LPC2478 is not yet available.
>
> Especially, I am interested in the Interrupt controller, DMA
> controller and the timers.
>
> There is not yet a user manual for the LPC2478 avalable, so maybe
only
> somebody from NXP would know.
>
> Regards,
>
> Thomas
>
Hi Thomas,
Registers between the LPC236x, LPC237x, the LPC246x and LPC247x are
binary compatible. If two devices have the same functionality it is
controlled through the same registers at the same address with the
same bit assignement.

For the LPC2100 / LPC2200 almost all registers are compatible,
however, you mentioned DMA, which is not present in the LPC2100 /
LPC2200 and interrupt controller. The interrupt controller
programming is a little different, mostly in regards to CAN as the
CAN controller on the LPC23/2400 has been redesigned and uses less
interrupts compared to the implementation on the LPC21/2200.

Hope this answers your questions.

btw, all LPC213x and LPC214x are register compatible, all LPC211x
LPC212x, LPC22xx are register compatible as well. And between all
LPC21/22/23/24xx there is a >>90% register compatibility.

NXP_Apps