• Prototype LPC2114/2124/2212/2214 User Manual created from the design specification.
2003 Dec 09:
• External Memory Controller and Pin Connect Block chapters updated.
2003 Dec 15/16:
• System Control Block chapter updated.
2003 Dec 18:
• A/D Converter Block chapter updated.
2004 Jan 07:
• PLL related material updated.
2004 Jan 26:
• System Control Block (Crystal Oscillator section - new frequencies added) updated.
2004 Feb 03:
• Introduction chapter (register list) updated.
2004 May 03:
• P0.16 description in "Pin Connect Block" chapter corrected from "Reserved" to "Capture 0.2 (TIMER0)".
• LPC2212 Flash size corrected in "Introduction" chapter corrected from 256 to 128 kB.
• Interrupt source #17 in "Vectored Interrupt Controller (VIC)" corrected from "EINT2" to "EINT3".
• Parallel ports 2 and 3 related registers added to "Introduction" and "GPIO" chapters
• Trigger levels deter mined by bits 7 and 6 in U0 FCR and U1FCR ("UART0" and "UART1" chapters) now showed in both decim al
and hexadecimal notations
• References to DBGSEL pin removed from entire document (pin does not exist in this family of microcontrollers)
• Pin 20 in figure showing 64-pin package ("Pin Configuration" chapter) corrected from "1.3" to "1.31"
•V
replaced with V3A in "A/D Converter" chapter and V3A description updated in "Pin Configuration" chapter
ddA
• Warning on analog input levels added to "A/D Converter" chapter
• On-chip upper RAM boundary corrected from 0x4000 1FFF to 0x4000 3FFF in "LPC2114/2124/2212/2214 Memory
Addressing" chapter
• Port pin tolerance, pull-up presence and voltage considerations added in "Pin Configuration" and "A/D Converter" chapter
• Baudrates in "Flash Memory System and Programming" corrected: 115200 and 230400 instead of 115000 and 230000
• Number of the on-ch ip Fla sh era se and wr it e c ycles a dde d i nto "In t rod uct ion " a nd "Fl as h Mem ory Sy ste m and Prog ram ming"
chapters
• Pins capable of providing an External Interrupt functionality are acounted and listed in "System Control Block" chapter
• Access to ports with respect to GPIO configured pins clarified in "GPIO" and "Pin Connect Block" chapters
• Description of Code Read Protection feature added in "Flash Memory System and Programming" chapter
• IOPIN0 and IOPIN1 tyopografic errors corrected in "System Control Block" chapter
• PINSEL2 added to to "Introduction" chapter
13May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
• T0IR, T0CCR, T0TCR, T1TCR, T0EMR and PCONP updated in "Introduction" chapter
• EXTMODE and EXTPOLAR registers added in "Introduction" chapter and updated in "System Control Block" chapter
• Power Control Usage Notes for reducing the total power added to "System Control Block" chapter
• PINSEL2 register as well as booting procedure updated in "Pin Connect Block" and "Watchdog" chapters
• references to the pclk in "External Memory Controller (EMC)" chapter corrected to the cclk
• LPC2212/2214 PINSEL2 table in "Pin Connect Block" chapter corrected
• A/D pin description in "A/D Converter" chapter rephrased
• Information on Spurious Interrupts added into "Vectored Interrupt Controller (VIC)" chapter
• Details on the checksum generation in case of Read Memory and Write to RAM ISP commands added in "Flash Memory
System and Programming" chapter
14May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
1. INTRODUCTION
GENERAL DESCRIPTION
The LPC2114/2124/2212/2214 are based on a 16/32 bit ARM7TDMI-STM CPU with real-time emulation and embedded trace
support, together with 128/256 kilobytes (kB) of embedded high speed flash memory. A 128-bit wide internal memory interface
and a unique accelerator architecture enable 32-bit code execution at maximum clock rate. For critical code size applications,
the alternative 16-bit Thumb Mode reduces code by more than 30% with minimal performance penalty.
With their comapct 64 and 144 pin packages, low power con sumption, various 32 -bit timers, combination of 4-channel 10-bit ADC
or 8-channel 10-bit ADC (64 and 144 pin packages respectively), and up to 9 external interrupt pins these microcontrollers are
particularly suitable for industrial control, medical systems, access control and point-of-sale.
Number of availabl e GPIOs goes up to 46 in 64 pin package. In 144 pin packages number of available GPIOs tops 76 (with
external memory i n us e) th rou gh 1 12 (s in gle - ch ip a ppl ic ati on). Being equipped wide ran ge o f se rial co mm unications interfaces ,
they are also very well suited for communication gateways, protocol converters and embedded soft modems as well as many
other general-purpose applications.
FEATURES
• 16/32-bit ARM7TDMI-S microcontroller in a 64 or 144 pin package.
• 16 kB on-chip Static RAM
• 128/256 kB on-chip Flash Progra m Memory (at least 10,000 erat e/write cycles over the whole temperature range). 128-bit wi de
interface/accelerator enables high speed 60 MHz operation.
• External 8, 16 or 32-bit bus (144 pin package only)
• In-System Programming (ISP) and In-Application Programming (IAP) via on-chip boot-loader software. Flash programming
takes 1 ms per 512 byte line. Single sector or full chip erase takes 400 ms.
• EmbeddedICE-RT interface enables breakpoints and watch points. Interrupt service routines can continue to execute whilst
the foreground task is debugged with the on-chip RealMonitor software.
• Embedded Trace Macrocell enables non-intrusive high speed real-time tracing of instruction execution.
• Four/eight channel (64/144 pin package) 10-bit A/D converter with conversion time as low as 2.44 ms.
• Two 32-bit timers (with 4 capture and 4 compare channels), PWM unit (6 outputs), Real Time Clock and Watchdog.
2
• Multiple serial interfaces including two UARTs (16C550), Fast I
• 60 MHz maximum CPU clock available from programmable on-chip Phase-Locked Loop.
• Vectored Interrupt Controller with configurable priorities and vector addresses.
• Up to forty-six (64 pin) and hundred-twelve (144 pin package) 5 V tolerant general purpose I/O pins. Up to 12 independent
external interrupt pins available (EIN and CAP functions).
• On-chip crystal oscillator with an operating range of 1 MHz to 30 MHz.
• Two low power modes, Idle and Power-down.
• Processor wake-up from Power-down mode via external interrupt.
• Individual enable/disable of peripheral functions for power optimization.
• Dual power supply.
- CPU operating voltage range of 1.65V to 1.95V (1.8V +/- 8.3%).
C (400 kbits/s) and two SPIs™.
- I/O power supply range of 3.0V to 3.6V (3.3V +/- 10%).
Introduction15May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
APPLICATIONS
• Industrial control
• Medical systems
• Access control
• Point-of-sale
• Communication gateway
• Embedded soft modem
• general purpose applicatio ns
DEVICE INFORMATION
Table 1: LPC2114/2124/2212/2214 device information
The LPC2114/2124/2212/2214 consists of an ARM7TDMI-S CPU with emulation support, the ARM7 Local Bus for interface to
on-chip memory controllers, the AMBA Advanced High-performance Bus (AHB) for interface to the interrupt controller, and the
VLSI Peripheral Bus (VPB, a comp atible superset of ARM’s AMBA Advanced Peripheral Bu s) for connection to on-c hip peripheral
functions. The LPC2114/2124/2212/2214 configures the ARM7TDMI-S processor in little-endian byte order.
AHB peripherals are allocated a 2 megabyte range of addresses at the very top of the 4 gigabyte ARM memory space. Each
AHB peripheral is allocated a 16 kilobyte address space within the AHB address space. LPC2114/2124/2212/2214 peripheral
functions (other than the interrupt controller) are connected to the VPB bus. The AHB to VPB bridge interfaces the VPB bus to
the AHB bus. VPB peripherals are also allocated a 2 megaby te range o f addresses , beginni ng at the 3 .5 gigabyte a ddress po int.
Each VPB peripheral is allocated a 16 kilobyte address space within the VPB address space.
The connection of on-chip pe ripherals to d evice pins i s controlled by a Pin Conne ction Block. This must be configured by software
to fit specific application requirements for the use of peripheral functions and pins.
ARM7TDMI-S PROCESSOR
The ARM7TDMI-S is a general purpose 32-bit microproce ssor, which offers high perfo rmance and very low pow er consumption .
The ARM architecture is based on Reduced Instruction Set Computer (RISC) principles, and the instruction set and related
decode mechanism are much simpler than those of microprogrammed Complex Instruction Set Computers. This simplicity
results in a high instruction throughput and impressive real-time interrupt response from a small and cost-effective processor
core.
Pipeline techniques are em plo ye d so tha t all parts of the processing and memory sy stems can operate continuou sly. Typically,
while one instruction is being executed, its successor is being decoded, and a third instruction is being fetched from memory.
The ARM7TDMI-S processor also employs a unique architectural strategy known as THUMB, which makes it ideally suited to
high-volume applications with memory restrictions, or applications where code density is an issue.
The key idea behind THUMB is that of a super-reduced instruction set. Essentially, the ARM7TDMI-S processor has two
instruction sets:
• The standard 32-bit ARM instruction set.
• A 16-bit THUMB instruction se t.
The THUMB set’s 16-bit ins truc tio n l eng th al lo ws it to ap proa ch tw ic e th e de ns ity of s tan dard AR M c ode while retaining most of
the ARM’s performance advantage over a traditional 16-bit processor using 16-bit registers. This is possible because THUMB
code operates on the same 32-bit register set as ARM code.
THUMB code is able to provide up to 65% of the code size of ARM, and 160% of the performance of an equivalent ARM
processor connected to a 16-bit memory system.
The ARM7TDMI-S processor is described in detail in the ARM7TDMI-S Datasheet that can be found on official ARM website.
ON-CHIP FLASH MEMORY SYSTEM
The LPC2114/2212 incorporate a 128 kB Flash memory system, while LPC2124/2214 incorporate a 256 kB Flash memory
system. This mem ory ma y be u sed fo r both c ode an d data storage . Program ming of the Flash memo ry may be ac comp lishe d in
several ways: over the serial built-in JTAG interface, using In System Programming (ISP) and UART0, or by means of In
Application Programmi ng (IAP) capabilities. Th e application pro gram, using the In Appli cation Programmin g (IAP) functions, may
also erase and/or program the Flash while the application is running, allowing a great degree of flexibility for data storage field
firmware up grades, etc.
Introduction17May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
ON-CHIP STATIC RAM
The LPC2114/2124/2 212/2214 provide a 16 kB static RAM m em ory th at ma y be used for code and/or data storage. The SRAM
supports 8-bit, 16-bit, and 32-bit accesses.
The SRAM controller inc orpo rate s a wri te-b ac k bu ffer i n ord er to p rev ent CPU stalls during back-to-back writes. The write-back
buffer always holds the last data sent by software to the SRAM. This data is only written to the SRAM when another write is
requested by software (the data is only written to the SRAM when software does another write). If a chip reset occurs, actual
SRAM contents will not reflect the most recent write request (i.e. after a "warm" chip reset, the SRAM does not reflect the last
write operation). Any software that checks SRAM contents after reset must take this into account. Two identical writes to a
location guarantee that the data will be present after a Reset. Alternatively, a dummy write operation before entering idle or
power-down mode will similarly guarantee that the last data written will be present in SRAM after a subsequent Reset.
Introduction18May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
BLOCK DIAGRAM
Internal SRAM
Controller
16 kB
SRAM
EINT3:0
8 x CAP0
8 x MAT
Ain3:0
2
Ain7:4
P0.30:0
P1.31:16, 1:0
P2.31:0
P3.31:0
2
2
ARM7 Local Bus
External
Interrupts
Capture /
Compare
TIMER 0 & 1
Converter
2
General
Purpose I/O
Internal Flash
Controller
128/256 kB
FLASH
A/D
1
1
TMS
TRST
Test/Debug Interface
1
1
1
TDI
TCK
TDO
ARM7TDMI-S
AHB Bridge
AHB to VPB
Bridge
VPB (VLSI
Peripheral Bus)
PLL
System
Module
Emulation Trace
(Advanced High-performance Bus)
VPB
Divider
Clock
AMBA AHB
External Memory
Controller
I2C Serial
Interface
SPI Serial
Interfaces 0 & 1
UART 0 & 1
Xtal1
System
Functions
Vectored Interrupt
Controller
AHB
Decoder
2
DSR1,CTS1,D
Xtal2
RESET
CS3:0*
A23:0*
BLS3:0*
OE, WE*
D31:0*
SCL
SDA
SCK0,1
MOSI0,1
MISO0,1
SSEL0,1
TxD0,1
RxD0,1
CD1, RI1
PWM6:1
PWM0
Real Time
Clock
* Shared with GPIO
1
When Test/Debug Interface is used, GPIO/other functions sharing these pins are not available
2
LPC2212/2214 only.
Watchdog
Timer
System
Control
Figure 1: LPC2114/2124/2212/2214 Block Diagram
Introduction19May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
LPC2114/2124/2212/2214 REGISTERS
Accesses to registers in LPC21 14/2 12 4/22 12/2214 is restricted in the followi ng ways :
1) user must NOT attempt to access any register locations not defined.
2) Access to any defined register locations must be strictly for the functions for the registers.
3) Register bits labeled ’-’, ’0’ or ’1’ can ONLY be written and read as follows:
- ’-’ MUST be written with ’0’, but can return any value when read (even if i t was written with ’0’). It is a reserved bit and may
be used in future derivatives.
- ’0’ MUST be written with ’0’, and will return a ’0’ when read.
- ’1’ MUST be written with ’1’, and will return a ’1’ when read.
The following table shows all registers available in LPC2114/2124/2212/2214 microcontroller sorted according to the address.
Access to the specific one can be categorized as either read/write, read only or write only (R/W, RO and WO respectively).
"Reset Value" field refe rs to the data stored in us ed/accessible bit s only. It does not inc lude reserved bits cont ent. Some registers
may contain undeterm ined data up on reset. In thi s case, reset value is ca tegorized as "un defined". Classificati on as "NA" is u sed
in case reset value is not applicable. Some registers in RTC are not affected by the chip reset. Their reset value is marked as *
and these registers must be initialized by software if the RTC is enabled.
Registers in LPC2114/2124/2212/2214 are 8, 16 or 32 bits wide. For 8 bit registers shown in Table 2, bit residing in the MSB
(The Most Significant Bi t) colu mn co rrespon ds to th e bit 7 o f that reg ister, wh ile bit in the LS B (The Least Si gnific ant Bit) c olumn
corresponds to the bit 0 of the same register.
If a register is 16/3 2 bit wide, the b it res iding in t he top left corne r of i ts d escrip tion, is th e bit corre spond ing to the bit 1 5/31 o f the
register, while the bit in the bottom right corner corresponds to bit 0 of this register.
Examples: bit "EN A6" in PWMPCR register (add res s 0 xE001404C) represents the bit at position 14 in thi s reg ister; bits 15, 8, 7
and 0 in the same register are reserved. Bit "Stop on MR6" in PWMMCR register (0xE001 4014) corresponds to the bit at positi on
20; bits 31 to 21 of the same register are reserved.
Unused (reserved) bits are marked with "-" and represented as gray fields. Access to them is restricted as already described.
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
WD
0xE0000000
0xE0000004WDTC
NameDescriptionMSBLSBAccess
WD
MOD
Watchdog
mode register
Watchdog
timer
constant
register
----
WD
INTWDTOF
32 bit dataR/W0xFF
WDRE
SET
WDENR/W0
Reset
Value
Watchdog
0xE0000008
WD
FEED
feed
sequence
register
8 bit data (0xAA fallowed by 0x55)WONA
Introduction20May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
0xE000000CWDTV
TIMER0
0xE0004000T0IR
0xE0004004T0TCR
0xE0004008T0TCT0 Counter32 bit dataRW0
0xE000400CT0PR
0xE0004010T0PC
0xE0004014 T0MCR
NameDescriptionMSBLSBAccess
Watchdog
timer value
register
T0 Interrupt
Register
T0 Control
Register
T0 Prescale
Register
T0 Prescale
Counter
T0 Match
Control
Register
CR3
Int.
Reset
on
MR2
CR2
Int.
------
4 reserved (-) bits
Int. on
MR2
CR1
Int.
Stop
on
MR1
32 bit dataRO0xFF
CR0
Int.
Reset
MR1
MR3
Int.
32 bit dataR/W0
32 bit dataR/W0
Stop
on
MR3
Int. on
on
MR1
MR2
Int.
Reset
on
MR3
Stop
on
MR0
MR1
Int.
CTR
Reset
Int. on
MR3
Reset
on
MR0
MR0
Int.
CTR
Enable
Stop
on
MR2
Int. on
MR0
R/W0
R/W0
R/W0
Reset
Value
0xE0004018T0MR0
0xE000401C T0MR1
0xE0004020T0MR2
0xE0004024T0MR3
0xE0004028 T0CCR
0xE000402C T0CR0
0xE0004030T0CR1
0xE0004034T0CR2
T0 Match
Register 0
T0 Match
Register 1
T0 Match
Register 2
T0 Match
Register 3
T0 Capture
Control
Register
T0 Capture
Register 0
T0 Capture
Register 1
T0 Capture
Register 2
4 reserved (-) bits
Int. on
Cpt.2
falling
Int. on
Cpt.2
rising
Int. on
Cpt.1
32 bit dataR/W0
32 bit dataR/W0
32 bit dataR/W0
32 bit dataR/W0
Int. on
Cpt.3
Int. on
Cpt.1
falling
Int. on
Cpt.1
rising
32 bit dataRO0
32 bit dataRO0
32 bit dataRO0
Int. on
Cpt.3
falling
Int. on
Cpt.0
Int. on
Cpt.3
rising
Int. on
Cpt.0
falling
Int. on
Cpt.2
R/W0
Int. on
Cpt.0
rising
Introduction21May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
0xE000403C T0EMR
TIMER1
0xE0008000T1IR
0xE0008004T1TCR
0xE0008008T1TCT1 Counter32 bit dataRW0
0xE000800CT1PR
0xE0008010T1PC
0xE0008014 T1MCR
NameDescriptionMSBLSBAccess
T0 External
Match
Register
T1 Interrupt
Register
T1 Control
Register
T1 Prescale
Register
T1 Prescale
Counter
T1 Match
Control
Register
4 reserved (-) bits
External Match
Control 1
CR3
Int.
Reset
on
MR2
CR2
------
4 reserved (-) bits
Int. on
MR2
Int.
External Match
Control 0
CR1
Int.
Stop
MR1
CR0
Reset
on
MR1
External Match
Control 3
Ext.
Mtch3.
MR3
Int.
32 bit dataR/W0
32 bit dataR/W0
on
Int.
Stop
on
MR3
Int. on
MR1
Mtch2.
MR2
Reset
MR3
Stop
MR0
Ext.
Int.
on
on
External Match
Control 2
Ext.
Mtch.1
MR1
Int.
CTR
Reset
Int. on
MR3
Reset
on
MR0
Ext.
Mtch.0
MR0
Int.
CTR
Enable
Stop
on
MR2
Int. on
MR0
R/W0
R/W0
R/W0
R/W0
Reset
Value
0xE0008018T1MR0
0xE000801C T1MR1
0xE0008020T1MR2
0xE0008024T1MR3
0xE0008028 T1CCR
0xE000802C T1CR0
0xE0008030T1CR1
0xE0008034T1CR2
T1 Match
Register 0
T1 Match
Register 1
T1 Match
Register 2
T1 Match
Register 3
T1 Capture
Control
Register
T1 Capture
Register 0
T1 Capture
Register 1
T1 Capture
Register 2
4 reserved (-) bits
Int. on
Cpt.2
falling
Int. on
Cpt.2
rising
Int. on
Cpt.1
32 bit dataR/W0
32 bit dataR/W0
32 bit dataR/W0
32 bit dataR/W0
Int. on
Cpt.3
Int. on
Cpt.1
falling
Int. on
Cpt.1
rising
32 bit dataRO0
32 bit dataRO0
32 bit dataRO0
Int. on
Cpt.3
falling
Int. on
Cpt.0
Int. on
Cpt.3
rising
Int. on
Cpt.0
falling
Int. on
Cpt.2
R/W0
Int. on
Cpt.0
rising
Introduction22May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
NameDescriptionMSBLSBAccess
0xE0008038T1CR3
0xE000803C T1EMR
UART0
U0RBR
(DLAB=0)
0xE000C000
U0THR
(DLAB=0)
U0DLL
(DLAB=1)
U0IER
0xE000C004
(DLAB=0)
T1 Capture
Register 3
T1 External
Match
Register
U0 Receiver
Buffer
Register
U0 Transmit
Holding
Register
U0 Divisor
Latch LSB
U0 Interrupt
Enable
Register
32 bit dataRO0
4 reserved (-) bits
External Match
Control 1
External Match
Control 0
External Match
Control 3
Ext.
Mtch.3
8 bit dataRO
8 bit dataWONA
8 bit dataR/W0x01
00000
Ext.
Mtch2.
En. Rx
Line
Status
Int.
External Match
Control 2
Ext.
Mtch.1
Enable
THRE
Int.
Ext.
Mtch.0
En. Rx
Data
Av.Int.
Reset
Value
R/W0
un-
defined
R/W0
U0DLM
(DLAB=1)
U0IIR
0xE000C008
U0FCR
0xE000C00C U0LCR
0xE000C014U0LSR
0xE000C01C U0SCR
UART1
U0 Divisor
Latch MSB
U0 Interrupt
ID Register
U0 FIFO
Control
Register
U0 Line
Control
Register
U0 Line
Status
Register
U0 Scratch
Pad Register
8 bit dataR/W0
FIFOs Enabled00IIR3IIR2IIR1IIR0RO0x01
Rx Trigger
DLAB
Set
Break
---
Stick
Parity
Even
Parity
Select
Parity
Enable
U0 Tx
FIFO
Reset
Nm. of
Stop
Bits
U0 Rx
FIFO
Reset
U0
FIFO
Enable
Word Length
Select
WO0
R/W0
Rx
FIFO
TEMT THREBIFEPEOEDRRO0x60
Error
8 bit dataR/W0
Introduction23May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
NameDescriptionMSBLSBAccess
U1RBR
(DLAB=0)
0xE0010000
U1THR
(DLAB=0)
U1DLL
(DLAB=1)
U1IER
0xE0010004
(DLAB=0)
U1DLM
(DLAB=1)
U1IIR
0xE0010008
U1FCR
0xE001000C U1LCR
0xE0010010
U1
MCR
0xE0010014U1LSR
U1 Receiver
Buffer
Register
U1 Transmit
Holding
Register
U1 Divisor
Latch LSB
U1 Interrupt
Enable
Register
U1 Divisor
Latch MSB
U1 Interrupt
ID Register
U1 FIFO
Control
Register
U1 Line
Control
Register
U1 Modem
Control
Register
U1 Line
Status
Register
Reset
Value
8 bit dataRO
un-
defined
8 bit dataWONA
8 bit dataR/W0x01
En.
0000
Mdem
Satus
En. Rx
Status
Int.
Line
Int.
Enable
THRE
Int.
En. Rx
Data
Av.Int.
R/W0
8 bit dataR/W0
FIFOs Enabled00IIR3IIR2IIR1IIR0RO0x01
Rx Trigger
DLAB
Set
Break
---
Stick
Parity
000
Even
Parity
Select
Loop
Back
U0 Tx
FIFO
Reset
Parity
Enable
Nm. of
Stop
00RTSDTRR/W0
Bits
U0 Rx
FIFO
Reset
U0
FIFO
Enable
Word Length
Select
WO0
R/W0
Rx
FIFO
TEMT THREBIFEPEOEDRRO0x60
Error
U1
U1 Scratch
Pad Register
U1 Modem
Status
Register
8 bit dataR/W0
DCDRIDSRCTS
Delta
DCD
Trailing
Edge
RI
Delta
DSR
Delta
CTS
RO0
0xE001001C U1SCR
0xE0010018
MSR
PWM
0xE0014000
0xE0014004
0xE0014008
IR
PWM
Interrupt
Register
PWM Timer
Control
Register
PWM
PWM
TCR
PWMTCPWM Timer
Counter
-----
----
----
MR3
PWM
Enable
32 bit dataRW0
Int.
MR6
Int.
MR2
Int.
MR5
Int.
MR4
Int.
R/W0
MR1
Int.
CTR
Reset
MR0
Int.
CTR
Enable
R/W0
Introduction24May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
0xE001400C
0xE0014010
0xE0014014
0xE0014018
0xE001401C
0xE0014020
NameDescriptionMSBLSBAccess
PR
PC
PWM
Prescale
Register
PWM
Prescale
Counter
PWM Match
Control
Register
PWM Match
Register 0
PWM Match
Register 1
PWM Match
Register 2
11 reserved (-) bits
Int. on
MR5
Reset
on
MR2
Stop
on
MR4
Int. on
MR2
Reset
on
MR4
Stop
on
MR1
32 bit dataR/W0
32 bit dataR/W0
Stop
MR6
Int. on
MR4
Reset
MR1
on
on
Reset
on
MR6
Stop
on
MR3
Int. on
MR1
Int. on
MR6
Reset
on
MR3
Stop
on
MR0
Stop
on
MR5
Int. on
MR3
Reset
on
MR0
Reset
on
MR5
Stop
on
MR2
Int. on
MR0
R/W0
32 bit dataR/W0
32 bit dataR/W0
32 bit dataR/W0
PWM
PWM
PWM
MCR
PWM
MR0
PWM
MR1
PWM
MR2
Reset
Value
0xE0014024
0xE0014040
0xE0014044
0xE0014048
0xE001404C
0xE0014050
2
C
I
0xE001C000
PWM
MR3
PWM
MR4
PWM
MR5
PWM
MR6
PWM
PCR
PWM
LER
I2CONSETI
0xE001C004 I2STAT
0xE001C008I2DAT
PWM Match
Register 3
PWM Match
Register 4
PWM Match
Register 5
PWM Match
Register 6
PWM Control
Register
PWM Latch
Enable
Register
2
C Control
Set Register
2
C Status
I
Register
2
C Data
I
Register
32 bit dataR/W0
32 bit dataR/W0
32 bit dataR/W0
32 bit dataR/W0
-ENA6ENA5ENA4ENA3ENA2ENA1R/W0
-SEL6SEL5SEL4SEL3SEL2SEL1-
Ena.
PWM
-
M6
Latch
Ena.
PWM
M5
Latch
Ena.
PWM
M4
Latch
Ena.
PWM
M3
Latch
Ena.
PWM
M2
Latch
Ena.
PWM
M1
Latch
Ena.
PWM
M0
Latch
R/W0
-I2ENSTASTOSIAA --R/W0
5 bit Status000RO0xF8
8 bit dataR/W0
Introduction25May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
0xE001C00C
0xE001C010
0xE001C014
0xE001C018
SPI0
0xE0020000
0xE0020004
0xE0020008
0xE002000C
0xE002001C
NameDescriptionMSBLSBAccess
2
C Slave
I
I2
ADR
Address
Register
7 bit dataGCR/W0
SCL Duty
I2
SCLH
Cycle
Register High
16 bit dataR/W0x04
Half Word
SCL Duty
I2
SCLL
Cycle
Register Low
16 bit dataR/W0x04
Half Word
2
C Control
LR
S0
S0
S0
S0
S0
I
Clear
Register
SPI0 Control
Register
SPI0 Status
Register
SPI0 Data
Register
SPI0 Clock
Counter
Register
SPI0
Interrupt Flag
-I2ENC STAC-SICAAC--WONA
SPIELSBFMSTR CPOLCPHA
SPIFWCOL ROVR MODF ABRT
---R/W0
---RO0
8 bit dataR/W0
8 bit dataR/W0
-------
SPI
Int.
R/W0
I2CONC
SPCR
SPSR
SPDR
SPCCR
SPINT
Reset
Value
SPI1
0xE0030000
0xE0030004
0xE0030008
0xE003000C
0xE003001C
SPCR
S1
SPSR
S1
SPDR
S1
SPCCR
S1
SPINT
SPI1 Control
Register
SPI1 Status
Register
SPI1 Data
Register
SPI1 Clock
Counter
Register
SPI1
Interrupt Flag
SPIELSBFMSTR CPOLCPHA
SPIFWCOL ROVR MODF ABRT
8 bit dataR/W0
8 bit dataR/W0
-------
---R/W0
---RO0
SPI
Int.
R/W0
S1
RTC
Introduction26May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
NameDescriptionMSBLSBAccess
0xE0024000ILR
0xE0024004CTC
0xE0024008CCR
0xE002400CCIIR
0xE0024010AMR
0xE0024014
0xE0024018
CTIME0
CTIME1
Interrupt
Location
Register
Clock Tick
Counter
Clock Control
Register
Counter
Increment
Interrupt
Register
Alarm Mask
Register
Consolidated
Time
Register 0
Consolidated
Time
Register 1
------
15 bit data
----CTTEST
RTC
ALF
CTC
RST
RTC
CIF
-RO*
CLK
EN
IM
YEARIMMONIMDOYIMDOWIMDOMIMHOURIMMINIMSEC
AMR
YEAR
AMR
MON
AMR
DOY
AMR
DOW
AMR
DOM
AMR
HOUR
AMR
MIN
AMR
SEC
-----3 bit Day of Week
---5 bit Hours
--6 bit Minutes
--6 bit Seconds
---12 bit Year
----4 bit Month
---5 bit Day of Month
Reset
Value
R/W*
R/W*
R/W*
R/W*
RO*
RO*
Consolidated
0xE002401C
CTIME2
Time
Register 2
0xE0024020SEC
0xE0024024MIN
0xE0024028HOUR
0xE002402CDOM
0xE0024030DOW
0xE0024034DOY
0xE0024038
MONTH
Seconds
Register
Minutes
Register
Hours
Register
Day of Month
Register
Day of Week
Register
Day of Year
Register
Months
Register
0xE002403CYEARYear Register
reserved (-) 20 bits12 bit Day of YearRO*
--6 bit dataR/W*
--6 bit dataR/W*
---5 bit dataR/W*
---5 bit dataR/W*
-----3 bit dataR/W*
reserved (-) 7 bits9 bit dataR/W*
----4 bit dataR/W*
reserved (-) 4 bits12 bit dataR/W*
Introduction27May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
0xE0024060
0xE0024064
0xE0024068
0xE002406C
0xE0024070
0xE0024074
0xE0024078
0xE002407C
0xE0024080
0xE0024084
NameDescriptionMSBLSBAccess
AL
SEC
AL
MIN
AL
HOUR
AL
DOM
AL
DOW
AL
DOY
AL
MON
AL
YEAR
PRE
INT
PRE
FRAC
Alarm value
for Seconds
Alarm value
for Minutes
Alarm value
for Hours
Alarm value
for Day of
Month
Alarm value
for Day of
Week
Alarm value
for Day of
Year
Alarm value
for Months
Alarm value
for Year
Prescale
value, integer
portion
Prescale
value,
fractional
portion
--6 bit dataR/W*
--6 bit dataR/W*
---5 bit dataR/W*
---5 bit dataR/W*
-----3 bit dataR/W*
reserved (-) 7 bits9 bit dataR/W*
----4 bit dataR/W*
reserved
(-) 4 bits
reserved
(-) 3 bits
-15 bit dataR/W0
12 bit dataR/W*
13 bit dataR/W0
Reset
Value
GPIO PORT0
0xE0028000IO0PIN
0xE0028004 IO0SET
0xE0028008 IO0DIR
0xE002800C IO0CLR
GPIO PORT1
0xE0028010IO1PIN
0xE0028014 IO1SET
GPIO 0 Pin
Value reg.
GPIO 0 Out.
Set register
GPIO 0 Dir.
control reg.
GPIO 0 Out.
Clear register
GPIO 1 Pin
Value reg.
GPIO 1 Out.
Set register
32 bit dataRONA
32 bit dataR/W0
32 bit dataR/W0
32 bit dataWO0
32 bit dataRONA
32 bit dataR/W0
Introduction28May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
0xE0028018 IO1DIR
0xE002801C IO1CLR
GPIO PORT2
0xE0028020IO2PIN
0xE0028024 IO2SET
0xE0028028 IO2DIR
0xE002802C IO2CLR
GPIO PORT3
0xE0028030IO3PIN
0xE0028034 IO3SET
NameDescriptionMSBLSBAccess
GPIO 1 Dir.
control reg.
GPIO 1 Out.
Clear register
GPIO 2 Pin
Value reg.
GPIO 2 Out.
Set register
GPIO 2 Dir.
control reg.
GPIO 2 Out.
Clear register
GPIO 3 Pin
Value reg.
GPIO 3 Out.
Set register
Reset
Value
32 bit dataR/W0
32 bit dataWO0
32 bit dataRONA
32 bit dataR/W0
32 bit dataR/W0
32 bit dataWO0
32 bit dataRONA
32 bit dataR/W0
0xE0028038 IO3DIR
0xE002803C IO3CLR
Pin Connet Block
0xE002C000
0xE002C004
0xE002C014
ADC
PIN
SEL0
PIN
SEL1
PIN
SEL2
GPIO 3 Dir.
control reg.
GPIO 3 Out.
Clear register
Pin function
select
register 0
Pin function
select
register 1
Pin function
select
register 2
32 bit dataR/W0
32 bit dataWO0
32 bit dataR/W0
32 bit dataR/W0
-
24-bit pin configuration data (144 package case)
Reserved bits (64 package case)
configuration
data
R/W0
-
Introduction29May 03, 2004
Philips SemiconductorsPreliminary User Manual
LPC2114/2124/2212/2214ARM-based Microc ontroller
Table 2: LPC2114/2124/2212/2214 Registers
Address
Offset
NameDescriptionMSBLSBAccess
0xE0034000ADCRADC Control
register
0xE0034004ADDRADC Data
register
System Control Block
0xE01FC000
0xE01FC004
0xE01FC040
MAMCRMAM control
register
MAM
TIM
MEM
MAP
MAM timing
control
Memory
mapping
control
Reset
Value
-EDGESTART
TEST1:0PDN-CLKS
BURST
RW01
8 bit data
8 bit data
DONE
OVER
RUN
-CHN
-
RWx
10 bit data
-
------2 bit dataR/W0
-----3 bit dataR/W0x07
------2 bit dataR/W0
0xE01FC080
0xE01FC084
0xE01FC088
0xE01FC08C
PLL
CON
PLL
CFG
PLL
STAT
PLL
FEED
0xE01FC0C0PCON
0xE01FC0C4 PCONP
0xE01FC100
0xE01FC140
VPB
DIV
EXT
INT
PLL control
register
PLL
configuration
register
PLL status
register
PLL feed
register
Power control
register
Power control
for
peripherals
VPB divider
control
External
interrupt flag
register
------PLLCPLLER/W0
-2bit data PSEL5 bit data MSELR/W0
-----
PLOCK
PLLCPLLE
RO0
-2bit data PSEL5 bit data MSEL
8 bit dataWONA
------PDIDLR/W0
reserved (-) 19 bitsPCAD-
PC
SPI1PCRTCPCSPI0
R/W0x3BE
PC
I2C
PC
PWM0PCURT1PCURT0PCTIM1PCTIM0
-
------2 bit dataR/W0
----EINT3 EINT2 EINT1 EINT0R/W0
Introduction30May 03, 2004
Loading...
+ 231 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.