ST7735R
V0.2 26 2009-08-05
9 Function description
9.1 Interface type selection
The selection of given interfaces are done by setting IM2, IM1, and IM0 pins as shown in following table.
P68 IM2 IM1 IM0 Interface Read back selection
- 0 - - 3-line serial interface Via the read instruction
0 1 0 0 8080 MCU 8-bit parallel RDX strobe (8-bit read data and 8-bit read parameter)
0 1 0 1 8080 MCU 16-bit parallel RDX strobe (16-bit read data and 8-bit read parameter)
0 1 1 0 8080 MCU 9-bit parallel RDX strobe (9-bit read data and 8-bit read parameter)
0 1 1 1 8080 MCU 18-bit parallel RDX strobe (18-bit read data and 8-bit read parameter)
- 0 - - 3-line serial interface Via the read instruction
1 1 0 0 6800 MCU 8-bit parallel E strobe (8-bit read data and 8-bit read parameter)
1 1 0 1 6800 MCU 16-bit parallel E strobe (16-bit read data and 8-bit read parameter)
1 1 1 0 6800 MCU 9-bit parallel E strobe (9-bit read data and 8-bit read parameter)
1 1 1 1 6800 MCU 18-bit parallel E strobe (18-bit read data and 8-bit read parameter)
Table 9.1.1 Selection of MCU interface
P68 IM2 IM1 IM0 Interface RDX WRX D/CX
Read back selection
- 0 - - 3-line serial interface Note1
Note1
SCL D[17:1]: unused, D0: SDA
0 1 0 0 8080 8-bit parallel RDX WRX D/CX
D[17:8]: unused, D7-D0: 8-bit data
0 1 0 1 8080 16-bit parallel RDX WRX D/CX
D[17:16]: unused, D15-D0: 16-bit
data
0 1 1 0 8080 9-bit parallel RDX WRX D/CX
D[17:9]: unused, D8-D0: 9-bit data
0 1 1 1 8080 18-bit parallel RDX WRX D/CX
D17-D0: 18-bit data
- 0 - - 3-line serial interface Note1
D/CX
SCL D[17:1]: unused, D0: SDA
1 1 0 0 6800 8-bit parallel E WRX RS D[17:8]: unused, D7-D0: 8-bit data
1 1 0 1 6800 16-bit parallel E WRX RS
D[17:16]: unused, D15-D0: 16-bit
data
1 1 1 0 6800 9-bit parallel E WRX RS D[17:9]: unused, D8-D0: 9-bit data
1 1 1 1 6800 18-bit parallel E WRX RS D17-D0: 18-bit data
Table 9.1.2 Pin connection according to various MCU interface
Note: Unused pins can be open, or connected to DGND or VDDI.