
Table 22-14. Camera Interface Configuration for 8-bit CMOS sensor (continued)
Register
Value
Comments
TIMCMPn
0x0000_001F
Configure 16-pixel (8 bits/pixel x 16
pixels = 128-bits) transfer. Set
TIMCMP[15:0] = (number of pixels x 2) -
1.
TIMCFGn
0x0120_6600
Configure enable on trigger (HREF)
rising edge and disable on trigger falling
edge, initial Shift clock state is logic 0
and decrement on PCLK input.
TIMCTLn
0x12C0_0803
Configure 16-bit counter using
FXIO_D[8] input (PCLK), with FXIO_D[9]
input (HREF) as the inverted trigger.
SHIFTBUFn...n+3
Data to receive
Received data can be read from
SHIFTBUFn...n+3, use the Shifter Status
Flag to indicate when data can be read
using interrupt or DMA request.
1. n=0 or 4
22.4.9 Motorola 68K/Intel 8080 Bus Interface
The Motorola 68K and Intel 8080 bus are two parallel interfaces commonly used by
Smart/Asynchronous LCD controllers. In conjunction with GPIO, FlexIO is able to drive
these interfaces using one Timer and one Shifter, although additional Shifters could be
used to support large transfers via the DMA controller.
The configuration below provides an example of how to drive a 16-bit 68K or 8080 bus.
For a 8080 bus, two GPIO are used to drive the nCS and RS pins. For a 68K bus, an
additional GPIO is required to drive the RDWR pin.
Table 22-15. Motorola 68K/Intel 8080 Write Configuration
Register
Value
Comments
SHIFTCFG0...7
0x000F_0100
Configure 16-bit parallel shift in from
adjacent shifter.
SHIFTCTL0
0x0003_0002
Configure transmit using Timer 0 on
posedge of clock with data output to
FXIO_D[15:0].
SHIFTCTL1...7
0x0000_0002
Configure transmit using Timer 0 on
posedge of clock.
TIMCMP0
0x0000_0101 (1-beat)
0x0000_1F01 (16-beats)
Configure 1 or 16-beat transfer with
baud rate of divide by 4 of the FlexIO
clock. Set TIMCMP[15:8] = (number of
beats x 2) - 1. Set TIMCMP[7:0] = (baud
rate divider / 2) - 1.
Table continues on the next page...
Chapter 22 Flexible I/O (FlexIO)
K32 L2A Reference Manual, Rev. 2, 01/2020
NXP Semiconductors
587
Содержание 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...