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
348 of 1269
18.1 How to read this chapter
The SGPIO is available on all LPC43xx parts. The 12-bit ADC is not available on parts
LPC4350/30/20/10.
18.2 Basic configuration
The SGPIO is configured as follows:
•
See
for clocking and power control.
•
The SGPIO is reset by the SGPIO_RST (reset # 57).
•
The SGPIO interrupt is connected to interrupt slot # 31 in the ARM Cortex-M4 NVIC.
•
SGPIO outputs SGPIO3 and SGPIO12 are connected through the GIMA to the event
recorder, the timers, and the SCT (see
). SGPIO3 and SGPIO12 also
support a divided-by-128 signal to the GIMA (SGPIO3_DIV and SGPIO12_DIV).
•
SGPIO outputs 10 and 12 can trigger the 12-bit ADC.
•
SGPIO outputs 14 and 15 can trigger a GPDMA request.
18.3 Features
•
Each SGPIO input/output slice can be used to perform a serial to parallel or parallel to
serial data conversion.
•
16 SGPIO input/output slices each with a 32-bit FIFO can shift the input value from a
pin or an output value to a pin with every cycle of a shift clock.
•
Each slice is double-buffered.
•
Interrupt is generated on a full FIFO, shift clock, or pattern match.
•
Slices can be concatenated to increase buffer size.
•
Each slice has a 32-bit pattern match filter.
UM10503
Chapter 18: LPC43xx Serial GPIO (SGPIO)
Rev. 1.3 — 6 July 2012
User manual
Table 209. SGPIO clocking and power control
Base clock
Branch clock
Operating
frequency
Notes
SGPIO peripheral
clock
(SGPIO_CLOCK)
BASE_PERIPH_
CLK
CLK_PERIPH_
SGPIO
up to
204 MHz
This clock is
asynchronous to the
main clock and can be
freely chosen to create
a desired SGPIO data
rate.