
Table 22-13. I2S Slave Configuration (continued)
Register
Value
Comments
TIMCMP(n+1)
0x0000_003F
Configure 32-bit transfers. Set
TIMCMP[15:0] = (number of bits x 2) - 1.
TIMCFG(n+1)
0x0020_3500
Configure enable on pin rising edge with
trigger high and disable on compare with
trigger low, initial clock state is logic 0
and decrement on pin input.
TIMCTL(n+1)
0x0340_0203
Configure 16-bit counter using Pin 2
input (bit clock), with Timer 0 output as
the trigger.
SHIFTBUFn
Data to transmit
Transmit data can be written to
SHIFTBUFBIS, use the Shifter Status
Flag to indicate when data can be
written using interrupt or DMA request.
Can support LSB first transfer by writing
to SHIFTBUF register instead.
SHIFTBUF(n+1)
Data to receive
Received data can be read from
SHIFTBUFBIS, use the Shifter Status
Flag to indicate when data can be read
using interrupt or DMA request. Can
support LSB first transfer by reading
from SHIFTBUF register instead.
22.4.8 Camera Interface
Camera Interface can be supported using one Timer, one or more Shifters and multiple
Pins. Multiple transfers can be supported using DMA controller.
The example below describes FlexIO configuration for interfacing to an 8-bit CMOS
sensor with PCLK, VSYNC, HREF and D[7:0] outputs. The example uses a 128-bit
buffer to capture 16-pixels of image data before interrupt or DMA transfer, however a
bigger or smaller buffer may be used depending on system DMA performance and
FlexIO resource usage by other applications. Note that additional timers may be used to
track number of pixels per row and number of rows per frame or HREF/VSYNC may be
assigned as GPIO interrupts for software tracking.
Table 22-14. Camera Interface Configuration for 8-bit CMOS sensor
Register
Value
Comments
SHIFTCFGn...n+2
0x0007_0100
Configure 8-bit parallel shift in from
adjacent shifter.
SH3
0x0007_0000
Configure 8-bit parallel shift in from pins
FXIO_D[7:0] (D[7:0]).
SHIFTCTLn...n+3
0x0080_0001
Configure receive using Timer 0 on
negedge of clock.
Table continues on the next page...
Application Information
K32 L2A Reference Manual, Rev. 2, 01/2020
586
NXP Semiconductors
Содержание K32 L2A Series
Страница 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Страница 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Страница 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Страница 146: ...Module operation in low power modes K32 L2A Reference Manual Rev 2 01 2020 146 NXP Semiconductors...
Страница 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Страница 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Страница 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Страница 322: ...Kinetis Bootloader Status Error Codes K32 L2A Reference Manual Rev 2 01 2020 322 NXP Semiconductors...
Страница 344: ...Application initialization information K32 L2A Reference Manual Rev 2 01 2020 344 NXP Semiconductors...
Страница 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Страница 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Страница 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Страница 602: ...Initialization and application information K32 L2A Reference Manual Rev 2 01 2020 602 NXP Semiconductors...
Страница 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Страница 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Страница 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Страница 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Страница 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Страница 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Страница 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Страница 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Страница 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Страница 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Страница 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Страница 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...
Страница 1344: ...USB Voltage Regulator Module Signal Descriptions K32 L2A Reference Manual Rev 2 01 2020 1344 NXP Semiconductors...
Страница 1356: ...Initialization Application Information K32 L2A Reference Manual Rev 2 01 2020 1356 NXP Semiconductors...