Display SPI
The host sends the clock and display data. The separate D/C line distinguishes command or register index from data.
The ILI9341 family drives 240 × 320 TFT panels. LCDWiki specifies the ILI9341V on its MSP3223 module, with display and SD on a shared SPI bus and capacitive touch on I²C.
5 V module supply for the onboard regulator.
Touch I²C with 5 V module power. With VCC at 5 V, R6 (SCL) and R4 (SDA) each pull the header line up to 5 V through 10 kΩ. Q3 and Q2 (BSS138) couple the header lines to the internal 3.3 V bus. The pull-ups set the open-drain high level. Use 5 V-tolerant open-drain I²C pins or a bidirectional I²C level shifter between the 3.3 V host and the module.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | VCC Supply input | Supply input | 5 V module supply for the onboard regulator. |
| 2 | GND Supply return | Supply return | Connect to host ground. |
| 3 | LCD_CS Input | Input | Active-low display select. |
| 4 | LCD_RST Input | Input | Active-low display reset. |
| 5 | LCD_RS Input | Input | Low for a command byte. High for parameters and pixel data. |
| 6 | SDI Input | Input | Host data shared by the display and the SD socket. |
| 7 | SCK Input | Input | Host clock shared by the display and the SD socket. |
| 8 | LED Input | Input | Backlight control. The board schematic allows this input to be open or high for illumination. |
| 9 | SDO Output | Output | Data return shared by the display and the SD socket. |
| 10 | CTP_SCL Open-drain bus | Open-drain bus | Capacitive touch I²C clock. Header pull-up to VCC. |
| 11 | CTP_RST Input | Input | Active-low touch reset through the 74LVC245. |
| 12 | CTP_SDA Bidirectional | Bidirectional | Capacitive touch I²C data. Header pull-up to VCC. |
| 13 | CTP_INT Output | Output | Active-low interrupt wired directly to the touch controller. |
| 14 | SD_CS Input | Input | Active-low select for the SD socket, with an onboard pull-up to 3.3 V. |
The host sends the clock and display data. The separate D/C line distinguishes command or register index from data.
The header SCL and SDA pull up to the module input supply. Reset and interrupt use separate paths.
Use separate active-low selects. Hold LCD_CS high for SD transfers and SD_CS high for display transfers. Keep both high when idle.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Module supply5.0 V | 5.0 V | The module feeds a local 3.3 V regulator. This voltage applies to the board header. LCDWiki MSP3223 product specification and module schematic (2023-05-24). |
| Panel pixels240 × 320 | 240 × 320 | Portrait address coordinates before rotation. LCDWiki MSP3223 product specification and module schematic (2023-05-24). |
| Write framing8 bits per transfer | 8 bits per transfer | The module uses a separate LCD_RS line. Use the panel initialization sequence for the fitted module. LCDWiki MSP3223 product specification and module schematic (2023-05-24). |
The map covers the LCDWiki MSP3223 2.54 mm header as wired in the 2023-05-24 schematic. The separate 0.5 mm FPC connector carries the same signals.