DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
72 of 571
1.
How to read this chapter
The contents of this chapter apply to all LPC29xx parts. See
for available
GPIO pins and registers that are part specific.
2.
Introduction
The SCU controls some device functionality that is not part of any other block. Settings
made in the SCU influence the complete system.
The SCU manages the port-selection registers. The function of each I/O pin can be
configured. Not all peripherals of the device can be used at the same time, so the desired
functions are chosen by selecting a function for each I/O pin.
In addition, memory mapping features and AHB priority settings are controlled by the
SCU.
3.
SCU register overview
The System Control Unit registers are shown in
.
The System Control Unit registers have an offset to the base address SCU RegBase
which can be found in the memory map (see
).
UM10316
Chapter 6: LPC29xx System Control Unit (SCU)
Rev. 00.06 — 17 December 2008
User manual
Table 55.
LPC29xx SCU usage
Part number
GPIO
port 0
GPIO
port 1
GPIO
port 2
GPIO
port 3
GPIO
port 4
GPIO
port 5
USB D+/-
port
selection
registers
USB
SSMM3/
SMP3
registers
LPC2917/19/01
P0[31:0]
P1[31:0]
P2[27:0]
P3[15:0]
-
-
-
no
LPC2921/23/25
P0[31:0]
P1[27:0]
-
-
-
-
for P5[19:18]
yes
LPC2927/29
P0[31:0]
P1[27:0]
P2[27:0]
P3[15:0]
-
-
for P5[19:18]
yes
LPC2930
P0[31:0]
P1[27:0]
P2[27:0]
P3[15:0]
P4[23:0]
P5[15:0]
for P[19:16]
yes
LPC2939
P0[31:0]
P1[27:0]
P2[27:0]
P3[15:0]
P4[23:0]
P5[15:0]
for P[19:16]
yes
Table 56.
SCU register overview (base address: 0xE000 1000)
Name
Address
offset
Access
Reset value
Description
Reference
SFSP0_BASE
000h
R/W
0000 0000h
Function-select port 0 base
address
SFSP1_BASE
100h
R/W
0000 0000h
Function-select port 1 base
address
SFSP2_BASE
200h
R/W
0000 0000h
Function-select port 2 base
address
SFSP3_BASE
300h
R/W
0000 0000h
Function-select port 3 base
address