Spark Logic

ILI9341 TFT LCD controller pinout

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.

MSP3223 · 14-contact header

14 contacts Current package

ILI Technology·

MSP3223 · 14-contact header pinout

Follow the numbered contact or silkscreen on the exact module. The display and solder sides mirror each other.

Selected pin details

1 · VCC

Supply input · Power

5 V module supply for the onboard regulator.

Wiring requirements

  • 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.

LCDWiki MSP3223 product specification and module schematic (2023-05-24).

Electrical limits · Link to this pin

Power the MSP3223

  • +5 V
    • Regulated module supply
  • Ground
    • Host ground

Connection guide

All 14 pins

PinSignalDirectionFunction
1VCC Supply inputSupply input 5 V module supply for the onboard regulator.
2GND Supply returnSupply return Connect to host ground.
3LCD_CS InputInput Active-low display select.
4LCD_RST InputInput Active-low display reset.
5LCD_RS InputInput Low for a command byte. High for parameters and pixel data.
6SDI InputInput Host data shared by the display and the SD socket.
7SCK InputInput Host clock shared by the display and the SD socket.
8LED InputInput Backlight control. The board schematic allows this input to be open or high for illumination.
9SDO OutputOutput Data return shared by the display and the SD socket.
10CTP_SCL Open-drain busOpen-drain bus Capacitive touch I²C clock. Header pull-up to VCC.
11CTP_RST InputInput Active-low touch reset through the 74LVC245.
12CTP_SDA BidirectionalBidirectional Capacitive touch I²C data. Header pull-up to VCC.
13CTP_INT OutputOutput Active-low interrupt wired directly to the touch controller.
14SD_CS InputInput Active-low select for the SD socket, with an onboard pull-up to 3.3 V.

Signal assignments

SD card SPI

Use separate active-low selects. Hold LCD_CS high for SD transfers and SD_CS high for display transfers. Keep both high when idle.

Electrical limits

ParameterLimitConditions and source
Module supply5.0 V5.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 × 320240 × 320 Portrait address coordinates before rotation. LCDWiki MSP3223 product specification and module schematic (2023-05-24).
Write framing8 bits per transfer8 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).

Models and documents

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.

MSP3223
3.2-inch module with ILI9341V and capacitive touch.