UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
374 of 1269
NXP Semiconductors
UM10503
Chapter 18: LPC43xx Serial GPIO (SGPIO)
18.7.5 Internal connections
SGPIO pins 10 and 12 can trigger the 12-bit ADC.
SGPIO pins 14 and 15 can trigger a GPDMA reset.
SGPIO pins 3 and 12 connect to SCT and timer capture inputs. For I2S applications, the
SGPIO3 and SGPIO12 pins also support a signal which is divided by 128 (SGPIO3_DIV
and SGPIO12_DIV).
A trigger signal can be created by the associated slice (for example pin 15 is controlled by
slice P in 1-bit output mode) or by using these pins in GPIO mode.
18.8 Examples
10
B29
B30
G30
G31
xcl
xq
11
B28
B31
G31
N31
xcl
xq
12
B27
D28
D30
D31
13
B26
D29
D31
O31
14
B25
D30
H30
H31
15
B24
D31
H31
P31
Table 256. Slice I/O multiplexing
x = external; cl = clock; q = qualifier
SGPIO Pin
Input mode
Parallel mode
8-bit
4-bit
2-bit
1-bit
Clock
Q
Table 257. SGPIO applications on the LPC43xx
Example
Description
Logic analyzer
Capture up to 16 lines as fast as possible
Pattern generator
Shift out up to 16 lines as fast as possible, data input looped back (if wanted)
PWM
Similar to pattern generator, now looped. Slices can be concatenated to
support longer patterns.
Fixed frequency changing duty cycle is also possible by setting more bits high.
SPIFI
Uses 4-bit shift mode for data. Use oe to turn around data bus direction. GPIO
for CS and one slice for clock.
I2C
Use oe path as data, tie the output data to 0.
I2S
Uses one slice per stereo channel. Use local or external clock for master or
slave mode. Bit clock and master clock run at an integer multiple of the data
clock.
SPDIF
Uses one slice per SPDIF audio interface.
TDM
Uses one slice per TDM audio interface.
UART
Use match feature to detect start bit, use qualifier if needed to capture first
data.