Spark Logic

ILI9342 TFT LCD controller pinout

The ILI9342 family drives landscape 320 × 240 displays. The M5Stack Core2 v1.0 uses an ILI9342C display over SPI and an AXP192 for the display supply, backlight and reset.

Core2 v1.0 LCD1 · 10-contact display flex

10 contacts Current package

ILI Technology·

Core2 v1.0 LCD1 · 10-contact display flex pinout

Contact row shown in numerical order. Use the LCD1 numbers in the Core2 v1.0 schematic to identify the flex contacts.
Selected pin details

1 · GND

Supply return · Ground

Connect to host ground.

M5Stack Core2 v1.0 schematic and Core2 hardware PinMap.

Electrical limits · Link to this pin

Check the display on a Core2 v1.0

  • LCD ground
    • Core2 ground
  • MOSI
    • →
    • ESP32 GPIO23
  • MISO
    • →
    • ESP32 GPIO38
  • SCK
    • →
    • ESP32 GPIO18
  • CS
    • →
    • ESP32 GPIO5
  • RST
    • →
    • AXP192 IO4 (LCD_RST)
  • D/C
    • →
    • ESP32 GPIO15
  • VDD
    • AXP192 LDO2 through PERI_VDD
  • LED_A
    • AXP192 DC3 through LCD_BL

Connection guide

All 10 pins

PinSignalDirectionFunction
1GND Supply returnSupply return Connect to host ground.
2MOSI InputInput SPI data from ESP32 GPIO23.
3MISO OutputOutput SPI read data to ESP32 GPIO38.
4SCK InputInput SPI clock from ESP32 GPIO18.
5CS InputInput Active-low select from ESP32 GPIO5.
6RST InputInput Active-low LCD_RST from AXP192 IO4 resets both the ILI9342C and the FT6336U touch controller on CTP1.
7D/C InputInput Data or command selection from ESP32 GPIO15.
8VDD Supply inputSupply input Panel logic supply from AXP192 LDO2 on PERI_VDD.
9LED_A Supply inputSupply input Backlight anode on LCD_BL, fed by AXP192 DC3 through R17.
10GND Supply returnSupply return Connect to host ground.

Signal assignments

Electrical limits

ParameterLimitConditions and source
Panel pixels320 × 240320 × 240 The factory Core2 panel runs in landscape orientation. M5Stack Core2 v1.0 schematic and Core2 hardware PinMap.
Display I/OOnboard ESP32 SPIOnboard ESP32 SPI LCD1 is an internal connection on the Core2 v1.0 board. M5Stack Core2 v1.0 schematic and Core2 hardware PinMap.
PMICAXP192AXP192 Board firmware sets up panel power, reset and backlight. M5Stack Core2 v1.0 schematic and Core2 hardware PinMap.

Models and documents

The map covers the original Core2 v1.0 LCD1 connection in the M5Stack schematic. Its ESP32 and AXP192 assignments are specific to that board revision.

M5Stack Core2 v1.0 LCD1
LCD1 10-contact display connection, separate from the capacitive touch connection.