![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 508](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827508.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
508 of 1441
NXP Semiconductors
UM10503
Chapter 20: LPC43xx/LPC43Sxx Serial GPIO (SGPIO)
20.8.2 Camera interface example
The camera interface uses the following input signals:
•
DIN[0:7] Data inputs
•
HSYNC Horizontal synchronization input
•
VSYNC Vertical synchronization input
•
PIXCLX Pixel clock input
The DIN input is captured on an 8-bit input. Wider inputs (10-bit or 12-bit) require an
additional 2- or 4-bit input. Combining the 8- and 2- (or 4-) bit data to single 10- or 12-bit
words must be done in software.
From slice A and B supporting the 8-bit input mode, select slice A. To minimize the CPU
real time load, 8 slices are concatenated: A, I, E, J, C, K, F and L.
Inputs are captured on the PIXCLK falling edge. From pins SGPIO8-SGPIO11 which can
be used as clock input, choose pin SGPIO8. HSCYNC is used as qualifier for input data.
Pins SGPIO8-SGPIO11 can be used as qualifier; pin SGPIO8 is already used, therefore
use pin SGPIO9. Pin SGPIO9 is also input for slice M. VSYNC uses one of the remaining
free slices; for example G.
Output SGPIO15 (slice P) is used, as internal signal, to request a DMA transfer after a
block of data has been transferred to local SRAM.
20.8.2.1 Camera interface slice configuration
All interface signals are input only. The output configuration is don’t care.
Data is shifted in at PIXCLK (pin 8) using HSYNC (pin 9) as qualifier.
Fig 53. SGPIO camera interface configuration
Table 326. SGPIO Slice mapping for camera interface
Slice: function
A,I,E,J,C,K,F,L:
DIN[7:0]
Pin
SGPIO
8:
PIXCLK
pin
SGPIO
9/M:
HSCYNC
G: VSYNC
P:
DMA_REQ
PIXCLK
DIN
HSYNC
VSYNC
0
1
2
3
n
Table 327. SGPIO setting for camera interface (OUT_MUX_CFG registers)
OUT_MUX_CFGi
A...L
Pin 8
M (i=12)
G (i=6)
P_out_cfg
x
x
x
x
P_oe_cfg
x
x
x
x
GPIO_OUTREG
0
0
0
0