Philips LPC213 Series User Manual page 264

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
4.3.2
Instruction latches and data latches . . . . . . . . 44
4.3.3
Flash programming Issues . . . . . . . . . . . . . . . 44
4.4
MAM operating modes . . . . . . . . . . . . . . . . . . 44
4.5
MAM configuration . . . . . . . . . . . . . . . . . . . . . 45
4.6
Register description . . . . . . . . . . . . . . . . . . . . 45
Chapter 5: Vectored Interrupt Controller (VIC)
5.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.2
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.3
Register description . . . . . . . . . . . . . . . . . . . . 48
5.4
VIC registers. . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.4.1
Software Interrupt register (VICSoftInt -
0xFFFF F018). . . . . . . . . . . . . . . . . . . . . . . . . 50
5.4.2
Software Interrupt Clear register (VICSoftIntClear
- 0xFFFF F01C) . . . . . . . . . . . . . . . . . . . . . . . 51
5.4.3
Raw Interrupt status register (VICRawIntr -
0xFFFF F008). . . . . . . . . . . . . . . . . . . . . . . . . 52
5.4.4
Interrupt Enable register (VICIntEnable -
0xFFFF F010). . . . . . . . . . . . . . . . . . . . . . . . . 52
5.4.5
Interrupt Enable Clear register (VICIntEnClear -
0xFFFF F014). . . . . . . . . . . . . . . . . . . . . . . . . 53
5.4.6
Interrupt Select register (VICIntSelect -
0xFFFF F00C) . . . . . . . . . . . . . . . . . . . . . . . . 53
5.4.7
IRQ Status register (VICIRQStatus -
0xFFFF F000). . . . . . . . . . . . . . . . . . . . . . . . . 54
5.4.8
FIQ Status register (VICFIQStatus -
0xFFFF F004). . . . . . . . . . . . . . . . . . . . . . . . . 55
5.4.9
Vector Control registers 0-15 (VICvectCntl0-15 -
0xFFFF F200-23C) . . . . . . . . . . . . . . . . . . . . . 55
Chapter 6: Pin configuration
6.1
LPC2131/2132/2134/2136/2138 pinout . . . . . . 64
Chapter 7: Pin Connect Block
7.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.2
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.3
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.4
Register description . . . . . . . . . . . . . . . . . . . . 73
7.4.1
Pin Function Select Register 0 (PINSEL0 -
0xE002 C000). . . . . . . . . . . . . . . . . . . . . . . . . 74
Chapter 8: General Purpose Input/Output ports (GPIO)
8.1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
8.2
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
8.3
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 79
User manual
4.7
MAM Control Register
(MAMCR - 0xE01F C000). . . . . . . . . . . . . . . . . 46
4.8
MAM Timing register
(MAMTIM - 0xE01F C004) . . . . . . . . . . . . . . . . 46
4.9
MAM usage notes . . . . . . . . . . . . . . . . . . . . . . 47
5.4.10
Vector Address registers 0-15 (VICVectAddr0-15 -
0xFFFF F100-13C) . . . . . . . . . . . . . . . . . . . . 56
5.4.11
Default Vector Address register (VICDefVectAddr
- 0xFFFF F034) . . . . . . . . . . . . . . . . . . . . . . . 56
5.4.12
Vector Address register (VICVectAddr -
0xFFFF F030) . . . . . . . . . . . . . . . . . . . . . . . . 56
5.4.13
Protection Enable register (VICProtection -
0xFFFF F020) . . . . . . . . . . . . . . . . . . . . . . . . 56
5.5
Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 57
5.6
Spurious interrupts. . . . . . . . . . . . . . . . . . . . . 59
5.6.1
Details and case studies on spurious
interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
5.6.2
Workaround . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.6.3
Solution 1: test for an IRQ received during a write
to disable IRQs . . . . . . . . . . . . . . . . . . . . . . . 60
5.6.4
Solution 2: disable IRQs and FIQs using separate
writes to the CPSR. . . . . . . . . . . . . . . . . . . . . 61
5.6.5
Solution 3: re-enable FIQs at the beginning of the
IRQ handler . . . . . . . . . . . . . . . . . . . . . . . . . . 61
5.7
VIC usage notes . . . . . . . . . . . . . . . . . . . . . . . 61
6.2
Pin description for LPC2131/2/4/6/8 . . . . . . . 66
7.4.2
Pin function Select register 1 (PINSEL1 -
0xE002 C004) . . . . . . . . . . . . . . . . . . . . . . . . 75
7.4.3
Pin function Select register 2 (PINSEL2 -
0xE002 C014) . . . . . . . . . . . . . . . . . . . . . . . . 77
7.4.4
Pin function select register values . . . . . . . . . 78
8.4
Register description . . . . . . . . . . . . . . . . . . . . 79
8.4.1
GPIO Pin Value register 0 and 1 (IO0PIN -
0xE002 8000 and IO1PIN - 0xE002 8010) . . 80
Rev. 01 — 24 June 2005
UM10120
Chapter 24: Supplementary information
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
continued >>
264

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents