![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 503](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827503.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
503 of 1441
NXP Semiconductors
UM10503
Chapter 20: LPC43xx/LPC43Sxx Serial GPIO (SGPIO)
20.7.6 Internal connections
SGPIO pins SGPIO10 and SGPIO12 can trigger the 12-bit ADC.
SGPIO pins SGPIO14 and SGPIO15 can trigger a GPDMA request. To generate the
request, program a pulse in the bit stream of slice 14 or 15. For example, use a pattern
like 0x4000 0000.
SGPIO pins SGPIO3 and SGPIO12 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 SGPIO15 is
controlled by slice P in 1-bit output mode) or by using these pins in GPIO mode.
20.8 Examples
SGPIO
10
B29
B30
G30
G31
xcl
xq
SGPIO
11
B28
B31
G31
N31
xcl
xq
SGPIO
12
B27
D28
D30
D31
SGPIO
13
B26
D29
D31
O31
SGPIO
14
B25
D30
H30
H31
SGPIO
15
B24
D31
H31
P31
Table 317. 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 318. 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.