LPC2129 Datasheet
LPC2129 Datasheet
LPC2129 Datasheet
1. General description
The LPC2119/LPC2129 are based on a 16/32 bit ARM7TDMI-S“ CPU with real-time
emulation and embedded trace support, together with 128/256 kilobytes (kB) of
embedded high speed ßash memory. A 128-bit wide 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 compact 64 pin package, low power consumption, various 32-bit timers,
4-channel 10-bit ADC, 2 advanced CAN channels, PWM channels and 46 GPIO lines
with up to 9 external interrupt pins these microcontrollers are particularly suitable for
automotive and industrial control applications as well as medical systems and
fault-tolerant maintenance buses. With a wide range of additional serial
communications interfaces, they are also suited for communication gateways and
protocol converters as well as many other general-purpose applications.
2. Features
3. Ordering information
Table 1: Ordering information
Type number Package
Name Description Version
LPC2119FBD64 LQFP64 plastic low proÞle quad ßat package; 64 leads; SOT314-2
body 10 ´ 10 ´ 1.4 mm
LPC2129FBD64 LQFP64 plastic low proÞle quad ßat package; 64 leads; SOT314-2
body 10 ´ 10 ´ 1.4 mm
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
4. Block diagram
TRST(1)
TMS(1)
TDO(1)
TCK(1)
TDI(1)
RTCK
XTAL1
XTAL2
V1.8
RST
VSS
V3
EMULATION TRACE
TEST/DEBUG
INTERFACE
SYSTEM
MODULE
PLL
FUNCTIONS
ARM7TDMI-S system
clock VECTORED INTERRUPT
AHB BRIDGE CONTROLLER
EINT0* APB
EINT1* SCL*
EINT2*
EXTERNAL I2C SERIAL
INTERRUPTS INTERFACE SDA*
EINT3*
SCK*
8 x CAP*
CAPTURE/ MOSI*
COMPARE SPI SERIAL
MISO*
8 x MAT* INTERFACE 0 & 1
TIMER0/TIMER1
SSEL*
TxD0,1*
PWM1..6* RxD0,1*
PWM0 UART0/UART1
MODEM CONTROL
(6 PINS)*
P0 (30 PINS)
GENERAL
PURPOSE I/O REAL TIME CLOCK
P1.31:16
RD2:1*
CAN INTERFACE 0 & 1 SYSTEM
TD2:1* ACCEPTANCE FILTERS CONTROL
(1) When test/debug interface is used, GPIO/other function sharing these pins are not available.
Fig 1. Block diagram.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
5. Pinning information
5.1 Pinning
54 P0.19/MAT1.2/MOSI1/CAP1.2
53 P0.18/CAP1.3/MISO1/MAT1.3
55 P0.20/MAT1.3/SSEL1/EINT3
58 VSSA_PLL
52 P1.30/TMS
56 P1.29/TCK
64 P1.27/TD0
60 P1.28/TDI
57 RESET
62 XTAL1
61 XTAL2
59 VSSA
63 V18A
50 VSS
49 V18
51 V3
handbook, full pagewidth
P0.21/PWM5/CAP1.3 1 48 P1.20/TRACESYNC
P0.22/CAP0.0/MAT0.0 2 47 P0.17/CAP1.2/SCK1/MAT1.2
P0.23/RD2 3 46 P0.16/EINT0/MAT0.2/CAP0.2
P1.19/TRACEPKT3 4 45 P0.15/RI1/EINT2
P0.24/TD2 5 44 P1.21/PIPESTAT0
VSS 6 43 V3
V3A 7 42 VSS
P1.18/TRACEPKT2 8 41 P0.14/DCD1/EINT1
LPC2119/LPC2129
P0.25/RD1 9 40 P1.22/PIPESTAT1
TD1 10 39 P0.13/DTR1/MAT1.1
P0.27/AIN0/CAP0.1/MAT0.1 11 38 P0.12/DSR1/MAT1.0
P1.17/TRACEPKT1 12 37 P0.11/CTS1/CAP1.1
P0.28/AIN1/CAP0.2/MAT0.2 13 36 P1.23/PIPESTAT2
P0.29/AIN2/CAP0.3/MAT0.3 14 35 P0.10/RTS1/CAP1.0
P0.30/AIN3/EINT3/CAP0.0 15 34 P0.9/RxD1/PWM6/EINT3
P1.16/TRACEPKT0 16 33 P0.8/TxD1/PWM4
V18 17
VSS 18
P0.0/TxD0/PWM1 19
P1.31/TRST 20
P0.1/RxD0/PWM3/EINT0 21
P0.2/SCL/CAP0.0 22
V3 23
P1.26/RTCK 24
VSS 25
P0.3/SDA/MAT0.0/EINT1 26
P0.4/SCK0/CAP0.1 27
P1.25/EXTIN0 28
P0.5/MISO0/MAT0.1 29
P0.6/MOSI0/CAP0.2 30
P0.7/SSEL0/PWM2/EINT2 31
P1.24/TRACECLK 32
002aaa663
Fig 2. Pinning.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
6. Functional description
Details of the LPC2119/LPC2129 systems and peripheral functions are described in
the following sections.
Pipeline techniques are employed so that all parts of the processing and memory
systems can operate continuously. Typically, while one instruction is being executed,
its successor is being decoded, and a third instruction is being fetched from memory.
The key idea behind Thumb is that of a super-reduced instruction set. Essentially, the
ARM7TDMI-S processor has two instruction sets:
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.
On-chip bootloader (as of revision 1.60) provides Code Read Protection (CRP) for the
LPC2119/LPC2129 on-chip Flash memory. When the CRP is enabled, the JTAG
debug port and ISP commands accessing either the on-chip RAM or Flash memory
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
are disabled. However, the ISP Flash Erase command can be executed at any time
(no matter whether the CRP is on or off). Removal of CRP is achieved by erasure of
full on-chip user Flash. With the CRP off, full access to the chip via the JTAG and/or
ISP is restored.
In addition, the CPU interrupt vectors may be re-mapped to allow them to reside in
either Flash memory (the default) or on-chip static RAM. This is described in Section
6.20 ÒSystem controlÓ .
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
0x8000 0000
2.0 GB 0x7FFF FFFF
BOOT BLOCK (RE-MAPPED FROM
ON-CHIP FLASH MEMORY 0x7FFF E000
0x7FFF DFFF
0x4001 0000
0x4000 3FFF
16 KBYTE ON-CHIP STATIC RAM
0x4000 0000
1.0 GB 0x3FFF FFFF
0x0004 0000
0x0003 FFFF
256 KBYTE ON-CHIP FLASH MEMORY (LPC2129)
0x0002 0000
0x0001 FFFF
128 KBYTE ON-CHIP FLASH MEMORY (LPC2119)
0x0000 0000
0.0 GB
002aaa664
Fast Interrupt reQuest (FIQ) has the highest priority. If more than one request is
assigned to FIQ, the VIC combines the requests to produce the FIQ signal to the
ARM processor. The fastest possible FIQ latency is achieved when only one request
is classiÞed as FIQ, because then the FIQ service routine can simply start dealing
with that device. But if more than one request is assigned to the FIQ class, the FIQ
service routine can read a word from the VIC that identiÞes which FIQ source(s) is
(are) requesting an interrupt.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Vectored IRQs have the middle priority. Sixteen of the interrupt requests can be
assigned to this category. Any of the interrupt requests can be assigned to any of the
16 vectored IRQ slots, among which slot 0 has the highest priority and slot 15 has the
lowest.
The VIC combines the requests from all the vectored and non-vectored IRQs to
produce the IRQ signal to the ARM processor. The IRQ service routine can start by
reading a register from the VIC and jumping there. If any of the vectored IRQs are
requesting, the VIC provides the address of the highest-priority requesting IRQs
service routine, otherwise it provides the address of a default routine that is shared by
all the non-vectored IRQs. The default routine can read another VIC register to see
what IRQs are active.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Table 5:
Address Name Description Access
0xE002C000 PINSEL0 Pin function select register 0 Read/Write
0xE002C004 PINSEL1 Pin function select register 1 Read/Write
0xE002C014 PINSEL2 Pin function select register 2 Read/Write
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
6.10.1 Features
6.11.1 Features
¥ Measurement range of 0 V to 3 V.
¥ Capable of performing more than 400,000 10-bit samples per second.
¥ Burst conversion mode for single or multiple inputs.
¥ Optional conversion on transition on input pin or Timer Match signal.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
6.12.1 Features
6.13 UARTs
The LPC2119/LPC2129 each contain two UARTs. One UART provides a full modem
control handshake interface, the other provides only transmit and receive data lines.
6.13.1 Features
I2C implemented in LPC2119/LPC2129 supports bit rate up to 400 kbit/s (Fast I2C).
6.14.1 Features
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
¥ Serial clock synchronization allows devices with different bit rates to communicate
via one serial bus.
¥ The I2C bus may be used for test and diagnostic purposes.
6.15.1 Features
6.16.1 Features
¥ Four external outputs per timer corresponding to match registers, with the following
capabilities:
—Set LOW on match.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
6.17.1 Features
6.18.1 Features
The ability to separately control rising and falling edge locations allows the PWM to
be used for more applications. For instance, multi-phase motor control typically
requires three non-overlapping PWM outputs with individual control of all three pulse
widths and positions.
Two match registers can be used to provide a single edge controlled PWM output.
One match register (MR0) controls the PWM cycle rate, by resetting the count upon
match. The other match register controls the PWM edge position. Additional single
edge controlled PWM outputs require only one match register each, since the
repetition rate is the same for all PWM outputs. Multiple single edge controlled PWM
outputs will all have a rising edge at the beginning of each PWM cycle, when an MR0
match occurs.
Three match registers can be used to provide a PWM output with both edges
controlled. Again, the MR0 match register controls the PWM cycle rate. The other
match registers control the two PWM edge positions. Additional double edge
controlled PWM outputs require only two match registers each, since the repetition
rate is the same for all PWM outputs.
With double edge controlled PWM outputs, speciÞc match registers control the rising
and falling edge of the output. This allows both positive going PWM pulses (when the
rising edge occurs prior to the falling edge), and negative going PWM pulses (when
the falling edge occurs prior to the rising edge).
6.19.1 Features
¥ Seven match registers allow up to six single edge controlled or three double edge
controlled PWM outputs, or a mix of both types.
¥ Supports single edge controlled and/or double edge controlled PWM outputs.
Single edge controlled PWM outputs all go HIGH at the beginning of each cycle
unless the output is a constant LOW. Double edge controlled PWM outputs can
have either edge occur at any position within a cycle. This allows for both positive
going and negative going pulses.
¥ Pulse period and width can be any number of timer counts. This allows complete
ßexibility in the trade-off between resolution and repetition rate. All PWM outputs
will occur at the same repetition rate.
¥ Match register updates are synchronized with pulse outputs to prevent generation
of erroneous pulses. Software must ÔreleaseÕ new match values before they can
become effective.
6.20.2 PLL
The PLL accepts an input clock frequency in the range of 10 MHz to 25 MHz. The
input frequency is multiplied up into the range of 10 MHz to 60 MHz with a Current
Controlled Oscillator (CCO). The multiplier can be an integer value from 1 to 32 (in
practice, the multiplier value cannot be higher than 6 on this family of microcontrollers
due to the upper frequency limit of the CPU). The CCO operates in the range of
156 MHz to 320 MHz, so there is an additional divider in the loop to keep the CCO
within its frequency range while the PLL is providing the desired output frequency.
The output divider may be set to divide by 2, 4, 8, or 16 to produce the output clock.
Since the minimum output divider value is 2, it is insured that the PLL output has a
50 % duty cycle.The PLL is turned off and bypassed following a chip Reset and may
be enabled by software. The program must conÞgure and activate the PLL, wait for
the PLL to Lock, then connect to the PLL as a clock source. The PLL settling time is
100 m s.
When the internal Reset is removed, the processor begins executing at address 0,
which is the Reset vector. At that point, all of the processor and peripheral registers
have been initialized to predetermined values.
The wake-up timer ensures that the oscillator and other analog functions required for
chip operation are fully functional before the processor is allowed to execute
instructions. This is important at power on, all types of Reset, and whenever any of
the aforementioned functions are turned off for any reason. Since the oscillator and
other functions are turned off during Power-down mode, any wake-up of the
processor from Power-down mode makes use of the Wake-up Timer.
The Wake-up Timer monitors the crystal oscillator as the means of checking whether
it is safe to begin code execution. When power is applied to the chip, or some event
caused the chip to exit Power-down mode, some time is required for the oscillator to
produce a signal of sufÞcient amplitude to drive the clock logic. The amount of time
depends on many factors, including the rate of VDD ramp (in the case of power on),
the type of crystal and its electrical characteristics (if a quartz crystal is used), as well
as any other external circuitry (e.g. capacitors), and the characteristics of the
oscillator itself under the existing ambient conditions.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
In Power-down mode, the oscillator is shut down and the chip receives no internal
clocks. The processor state and registers, peripheral registers, and internal SRAM
values are preserved throughout Power-down mode and the logic levels of chip
output pins remain static. The Power-down mode can be terminated and normal
operation resumed by either a Reset or certain speciÞc interrupts that are able to
function without clocks. Since all dynamic operation of the chip is suspended,
Power-down mode reduces chip power consumption to nearly zero.
A Power Control for Peripherals feature allows individual peripherals to be turned off if
they are not needed in the application, resulting in additional power savings.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
interface peripherals residing on Port 0 are available during the development and
debugging phase as they are when the application is run in the embedded system
itself.
The ARM core has a Debug Communication Channel function built-in. The debug
communication channel allows a program running on the target to communicate with
the host debugger or another separate host without stopping the program ßow or
even entering the debug state. The debug communication channel is accessed as a
co-processor 14 by the program running on the ARM7TDMI-S core. The debug
communication channel allows the JTAG port to be used for sending and receiving
data without affecting the normal program ßow. The debug communication channel
data and control registers are mapped in to addresses in the EmbeddedICE logic.
The ETM is connected directly to the ARM core and not to the main AMBA system
bus. It compresses the trace information and exports it through a narrow trace port.
An external trace port analyzer must capture the trace information under software
debugger control. Instruction trace (or PC trace) shows the ßow of execution of the
processor and provides a list of all the instructions that were executed. Instruction
trace is signiÞcantly compressed by only broadcasting branch addresses as well as a
set of status signals that indicate the pipeline status on a cycle by cycle basis. Trace
information generation can be controlled by selecting the trigger resource. Trigger
resources include address comparators, counters and sequencers. Since trace
information is compressed the software debugger requires a static image of the code
being executed. Self-modifying code can not be traced because of this restriction.
6.21.3 RealMonitor“
RealMonitor is a conÞgurable software module, developed by ARM Inc., which
enables real time debug. It is a lightweight debug monitor that runs in the background
while users debug their foreground application. It communicates with the host using
the DCC (Debug Communications Channel), which is present in the EmbeddedICE
logic. The LPC2119/LPC2129 contain a speciÞc conÞguration of RealMonitor
software programmed into the on-chip Flash memory.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
7. Limiting values
Table 9: Limiting values
In accordance with the Absolute Maximum Rating System (IEC 60134).[1]
Symbol Parameter Conditions Min Max Unit
V18 Supply voltage, internal rail - 0.5 +2.5 V
V3 Supply voltage, external rail - 0.5 +3.6 V
V3A Analog 3.3 V pad supply voltage - 0.5 4.6 V
AVIN Analog input voltage on A/D related - 0.5 5.1 V
pins
Vi DC input voltage, 5 V tolerant I/O - 0.5 6.0 V
pins[2][3]
Vi DC input voltage, other I/O pins[2][4] - 0.5 V3 + 0.5 V
I DC supply current per supply pin[5] - 100 mA
I DC ground current per ground pin[5] - 100 mA
Tstg Storage temperature[6] - 65 150 °C
P Power dissipation (based on 1.5 - W
package heat transfer, not device
power consumption)
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
8. Static characteristics
Table 10: Static characteristics
Tamb = - 40 °C to +85 °C for commercial, unless otherwise speciÞed.
Symbol Parameter Conditions Min Typ[1] Max Unit
V18 Supply voltage 1.65 1.8 1.95 V
V3 External rail supply voltage 3.0 3.3 3.6 V
V3A Analog 3.3 V pad supply 2.5 3.3 3.6 V
voltage
Standard Port pins, RESET, RTCK
IIL Low level input current, no Vi = 0 - - 3 m A
pull-up
IIH High level input current, no Vi = V3 - - 3 m A
pull down
IOZ 3-state output leakage, no Vo = 0, Vo = V3 - - 3 m A
pull-up/down
Ilatchup I/O latch-up current - (0.5 V3) < V < (1.5 V3) 100 - - mA
Tj < 125 °C
Vi Input voltage[2][3][4] 0 - 5.5 V
Vo Output voltage, output active 0 - V3 V
VIH High level input voltage 2.0 - - V
VIL Low level input voltage - - 0.8 V
Vhys Hysteresis voltage - 0.4 - V
VOH High level output voltage[5] IOH = - 4 mA V3 - 0.4 - - V
VOL Low level output voltage[5] IOL = - 4 mA - - 0.4 V
IOH High level output current[5] VOH = V3 - 0.4 V - 4 - - mA
IOL Low level output current[5] VOL = 0.4 V 4 - - mA
IOH High level short circuit VOH = 0 - - - 45 mA
current[6]
IOL Low level short circuit VOL = V3 - - 50 mA
current[6]
IPD Pull-down current Vi = 5 V[7] 10 50 150 m A
IPU Pull-up current (applies to Vi = 0 - 15 - 50 - 85 m A
P1.16 - P1.25) V3 < Vi< 5 V[7] 0 0 0 m A
I18 Active Mode V18 = 1.8 V, cclk = 60 MHz, - 60 - mA
Tamb = 25 °C, code
while(1){}
executed from FLASH, no active
peripherals
Power-down Mode V18 = 1.8 V, Tamb = +25 °C, - 10 - m A
V18 = 1.8 V, Tamb = +85 °C - 110 500 m A
I2C pins
VIH High level input voltage VTOL is from 4.5 V to 5.5 V 0.7VTOL - - V
VIL Low level input voltage VTOL is from 4.5 V to 5.5 V - - 0.3VTOL V
Vhys Hysteresis voltage VTOL is from 4.5 V to 5.5 V - 0.5VTOL - V
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
[1] Typical ratings are not guaranteed. The values listed are at room temperature (+25 ßC), nominal supply voltages. Pin capacitance is
characterized but not tested.
[2] Including voltage on outputs in 3-state mode.
[3] V3 supply voltages must be present.
[4] 3-state outputs go into 3-state mode when V3 is grounded.
[5] Accounts for 100 mV voltage drop in all supply lines.
[6] Only allowed for a short time period.
[7] Minimum condition for Vi = 4.5 V, maximum condition for Vi = 5.5 V.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
offset gain
error error
EO EG
1023
1022
1021
1020
1019
1018
(2)
7
code (1)
out
6
(5)
4
(4)
3
(3)
2
1 1 LSB
(ideal)
0
1 2 3 4 5 6 7 1018 1019 1020 1021 1022 1023 1024
VIA (LSBideal)
VDDA - VSSA
offset 1 LSB =
error 1024
EO 002aaa668
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9. Dynamic characteristics
Table 12: Characteristics
Tamb = 0 °C to +70 °C for commercial, - 40 °C to +85 °C for industrial, V18, V3 over speciÞed ranges [1]
[1] Parameters are valid over operating temperature range unless otherwise speciÞed.
[2] Bus capacitance Cb in pF, from 10 pF to 400 pF.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9.1 Timing
VDD - 0.5 V
0.2 VDD + 0.9
002aaa416
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
c
y
48 33
49 32 ZE
e
E HE A
A2
(A 3)
A1
wM
∉
bp Lp
pin 1 index L
64 17
1 16 detail X
ZD v M A
e wM
bp
D B
HD v M B
0 2.5 5 mm
scale
mm 1.6 0.20 1.45 0.27 0.18 10.1 10.1 12.15 12.15 0.75 1.45 1.45 7o
0.25 0.5 1 0.2 0.12 0.1 o
0.05 1.35 0.17 0.12 9.9 9.9 11.85 11.85 0.45 1.05 1.05 0
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
00-01-19
SOT314-2 136E10 MS-026
03-02-25
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
[1] Please consult the most recently issued data sheet before initiating or completing a design.
[2] The product status of the device(s) described in this data sheet may have changed since this data sheet was published. The latest information is available on the Internet at
URL http://www.semiconductors.philips.com.
[3] For data sheets describing multiple type numbers, the highest-level product status determines the data sheet status.
13. DeÞnitions performance. When the product is in full production (status ÔProductionÕ),
relevant changes will be communicated via a Customer Product/Process
Change NotiÞcation (CPCN). Philips Semiconductors assumes no
Short-form speciÞcation Ñ The data in a short-form speciÞcation is responsibility or liability for the use of any of these products, conveys no
extracted from a full data sheet with the same type number and title. For licence or title under any patent, copyright, or mask work right to these
detailed information see the relevant data sheet or data handbook. products, and makes no representations or warranties that these products are
free from patent, copyright, or mask work right infringement, unless otherwise
Limiting values deÞnition Ñ Limiting values given are in accordance with speciÞed.
the Absolute Maximum Rating System (IEC 60134). Stress above one or
more of the limiting values may cause permanent damage to the device.
These are stress ratings only and operation of the device at these or at any
other conditions above those given in the Characteristics sections of the
15. Licenses
speciÞcation is not implied. Exposure to limiting values for extended periods
may affect device reliability.
Purchase of Philips I2C components
Application information Ñ Applications that are described herein for any
of these products are for illustrative purposes only. Philips Semiconductors Purchase of Philips I2C components conveys a license
make no representation or warranty that such applications will be suitable for under the PhilipsÕ I 2C patent to use the components in the
the speciÞed use without further testing or modiÞcation. I2C system provided the system conforms to the I2C
speciÞcation deÞned by Philips. This speciÞcation can be
ordered using the code 9398 393 40011.
14. Disclaimers
Life support Ñ These products are not designed for use in life support
16. Trademarks
appliances, devices, or systems where malfunction of these products can
reasonably be expected to result in personal injury. Philips Semiconductors ARM Ñ is a registered trademark of ARM, Inc.
customers using or selling these products for use in such applications do so ARM7TDMI-S Ñ is a trademark of ARM, Inc.
at their own risk and agree to fully indemnify Philips Semiconductors for any EmbeddedICE Ñ is a registered trademark of ARM, Inc.
damages resulting from such application. Embedded Trace Macrocell Ñ is a trademark of ARM, Inc.
Right to make changes Ñ Philips Semiconductors reserves the right to RealMonitor Ñ is a trademark of ARM, Inc.
make changes in the products - including circuits, standard cells, and/or SPI Ñ is a trademark of Motorola, Inc.
software - described or contained herein in order to improve design and/or Thumb Ñ is a registered trademark of ARM, Inc.
Contact information
For additional information, please visit http://www.semiconductors.philips.com.
For sales ofÞce addresses, send e-mail to: [email protected]. Fax: +31 40 27 24825
9397 750 13146 ' Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Contents
1 General description . . . . . . . . . . . . . . . . . . . . . . 1 6.20.6 Power Control. . . . . . . . . . . . . . . . . . . . . . . . . 23
2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6.20.7 VPB bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.1 Key features . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6.21 Emulation and debugging. . . . . . . . . . . . . . . . 23
6.21.1 Embedded ICE. . . . . . . . . . . . . . . . . . . . . . . . 24
3 Ordering information . . . . . . . . . . . . . . . . . . . . . 2
6.21.2 Embedded trace. . . . . . . . . . . . . . . . . . . . . . . 24
3.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 2
6.21.3 RealMonitor“ . . . . . . . . . . . . . . . . . . . . . . . . 24
4 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
7 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 25
5 Pinning information . . . . . . . . . . . . . . . . . . . . . . 4
8 Static characteristics . . . . . . . . . . . . . . . . . . . 26
5.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
9 Dynamic characteristics . . . . . . . . . . . . . . . . . 29
5.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5
9.1 Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6 Functional description . . . . . . . . . . . . . . . . . . . 9
10 Package outline . . . . . . . . . . . . . . . . . . . . . . . . 31
6.1 Architectural overview. . . . . . . . . . . . . . . . . . . . 9
6.2 On-Chip Flash program memory . . . . . . . . . . . 9 11 Revision history . . . . . . . . . . . . . . . . . . . . . . . 32
6.3 On-Chip static RAM . . . . . . . . . . . . . . . . . . . . 10 12 Data sheet status. . . . . . . . . . . . . . . . . . . . . . . 33
6.4 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 10 13 DeÞnitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.5 Interrupt controller . . . . . . . . . . . . . . . . . . . . . 11 14 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.5.1 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 12
15 Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.6 Pin connect block . . . . . . . . . . . . . . . . . . . . . . 13
6.7 Pin function select register 0 (PINSEL0 16 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
- 0xE002C000). . . . . . . . . . . . . . . . . . . . . . . . 13
6.8 Pin function select register 1 (PINSEL1
- 0xE002C004). . . . . . . . . . . . . . . . . . . . . . . . 15
6.9 Pin function select register 2 (PINSEL2
- 0xE002C014). . . . . . . . . . . . . . . . . . . . . . . . 17
6.10 General purpose parallel I/O. . . . . . . . . . . . . . 17
6.10.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.11 10-bit A/D converter . . . . . . . . . . . . . . . . . . . . 17
6.11.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.12 CAN controllers and acceptance Þlter . . . . . . 18
6.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.13 UARTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.14 I2C serial I/O controller . . . . . . . . . . . . . . . . . . 18
6.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.15 SPI serial I/O controller. . . . . . . . . . . . . . . . . . 19
6.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.16 General purpose timers . . . . . . . . . . . . . . . . . 19
6.16.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.17 Watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . 20
6.17.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.18 Real time clock . . . . . . . . . . . . . . . . . . . . . . . . 20
6.18.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.19 Pulse width modulator . . . . . . . . . . . . . . . . . . 20
6.19.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.20 System control . . . . . . . . . . . . . . . . . . . . . . . . 22
6.20.1 Crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . 22
6.20.2 PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.20.3 Reset and wake-up timer . . . . . . . . . . . . . . . . 22
6.20.4 External interrupt inputs . . . . . . . . . . . . . . . . . 23
6.20.5 Memory Mapping Control . . . . . . . . . . . . . . . . 23