![NXP Semiconductors LCP43 Series User Manual Download Page 379](http://html1.mh-extra.com/html/nxp-semiconductors/lcp43-series/lcp43-series_user-manual_1721817379.webp)
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
379 of 1269
NXP Semiconductors
UM10503
Chapter 18: LPC43xx Serial GPIO (SGPIO)
MCK is not phase aligned to the other I2S signals. To toggle the output set
REG3 = 0x5555.5555 and REG_SS3 = 0x5555.5555. In slave mode MCK should be
divided by 4 to create SCK and the D and WS shift clock, this requires the pattern
11001100… hence REG3 = REG_SS3=0xCCCC.CCCC
All slices are started by enabling the COUNTERs by writing CTRL_ENABLE = 0x031B.
18.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 8-11 which can be used as
clock input, choose pin 8. HSCYNC is used as qualifier for input data. Pins 8-11 can be
used as qualifier; pin 8 is already used, therefore use pin 9. Pin 9 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.
18.8.2.1 Camera interface slice configuration
All interface signals are input only. The output configuration is don’t care.
Fig 42. SGPIO camera interface configuration
Table 265. SGPIO Slice mapping for camera interface
Slice: function
A,I,E,J,C,K,F,L:
DIN[7:0]
Pin 8:
PIXCLK
pin9/M: HSCYNC
G: VSYNC
P:
DMA_REQ
PIXCLK
DIN
HSYNC
VSYNC
0
1
2
3
n