Display SPI
The host sends the clock and display data. The separate D/C line distinguishes command or register index from data.
The ILI9488 drives a 320 × 480 TFT panel. On the MSP3520, separate SPI signals serve the display and the resistive touch controller.
Display serial clock.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | VCC Supply input | Supply input | Use 5 V with J1 open, or 3.3 V with J1 closed per the module schematic. |
| 2 | GND Supply return | Supply return | Connect to host ground. |
| 3 | CS Input | Input | Active-low display select. |
| 4 | RESET Input | Input | Active-low display reset. |
| 5 | DC/RS Input | Input | Low for a command byte. High for parameters and display data. |
| 6 | SDI Input | Input | Serial display data from the host. |
| 7 | SCK Input | Input | Display serial clock. |
| 8 | LED Input | Input | Drive high at 3.3 V to enable the backlight. |
| 9 | SDO Output | Output | Display data returned to the host. Leave open for a write-only setup. |
| 10 | T_CLK Input | Input | Resistive touch controller SPI clock. |
| 11 | T_CS Input | Input | Active-low touch select. |
| 12 | T_DIN Input | Input | Host-to-touch-controller data. |
| 13 | T_DO Output | Output | Touch-controller-to-host data. |
| 14 | T_IRQ Output | Output | Active-low touch interrupt. |
The host sends the clock and display data. The separate D/C line distinguishes command or register index from data.
The XPT2046 uses its own select and data return.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Module supply3.3 V or 5 V | 3.3 V or 5 V | For 5 V leave J1 open. For 3.3 V close J1. Power off before changing J1. LCDWiki MSP3520 User Manual CR2018-M13128, Interface Definition and 2018-08-06 module schematic. |
| Interface logic3.3 V | 3.3 V | This applies even with a 5 V module supply. LCDWiki MSP3520 User Manual CR2018-M13128, Interface Definition and 2018-08-06 module schematic. |
| Pixel transferRGB666 in serial mode | RGB666 in serial mode | Send three bytes per pixel, one per color, with each 6-bit component in the most significant bits. LCDWiki MSP3520 User Manual CR2018-M13128, Interface Definition and 2018-08-06 module schematic. |
The map covers the 14-contact LCDWiki MSP3520 with resistive touch. The MSP3521 lacks touch. The Ilitek datasheet describes the bare controller and its other interface modes.