Skip to content
Display Engineer
M5Stack · Display dev board

M5Stack Core2 display: specs, driver revisions & setup

M5Stack's 2.0-inch 320×240 IPS development kit on an ESP32-D0WDQ6-V3. The display controller is an ILI9342C, or an ILI9342E on units made after M5Stack's 2026-08-07 change, and touch is an FT6336U. The LCD reset and the backlight are driven by the power-management chip, not by ESP32 pins.

Updated Nov 16, 2026

M5Stack Core2 display specifications

MCUESP32-D0WDQ6-V3 (16 MB flash, 8 MB PSRAM)
Display2″ · 320×240
Display busSPI
Driver ICILI9342C / ILI9342E
TouchFT6336U capacitive (I2C, address 0x38)

Which M5Stack Core2 revision do you have?

Boards sold under the same name ship with different display driver ICs. Code written for one revision shows a white screen, wrong colours or nothing at all on the other, so identify yours first.

RevisionDriver ICHow to identifyLibrary settings
Core2 (AXP192)ILI9342C / ILI9342EGreen power LED; PMIC is AXP192; IMU is MPU6886. M5Stack's change log: ILI9342E from 2026-08-07, ILI9342C before.M5Unified / M5GFX auto-detect (M5GFX 0.2.27 or newer for ILI9342E); LovyanGFX Panel_ILI9342 with inversion on. LCD reset: AXP192 GPIO4. Backlight: AXP192 DCDC3.
Core2 v1.1 (AXP2101 + INA3221)ILI9342C / ILI9342EBlue power LED; PMIC is AXP2101 with an INA3221 current monitor; RTC backup battery added (M5Stack lists v1.1 from 2023-11).M5Unified / M5GFX auto-detect. LCD reset: AXP2101 ALDO2. Backlight: AXP2101 BLDO1. Code written for the AXP192 does not switch these rails.
Core2 v1.3ILI9342C / ILI9342EPMIC is AXP192; IMU is BMI270 instead of MPU6886. The display wiring is the same as the original Core2.M5Unified / M5GFX auto-detect. LCD reset: AXP192 GPIO4. Backlight: AXP192 DCDC3.

M5Stack Core2 display and touch pins

SignalGPIONotes
LCD MOSI23SPI bus, shared with the microSD slot
LCD MISO38SPI bus, shared with the microSD slot
LCD SCK18SPI bus, shared with the microSD slot
LCD CS5
LCD DC15
LCD RSTAXP192 GPIO4 (Core2, v1.3) / AXP2101 ALDO2 (v1.1)Not an ESP32 pin: set through the PMIC over I2C. Shared with touch reset
BacklightAXP192 DCDC3 (Core2, v1.3) / AXP2101 BLDO1 (v1.1)Not an ESP32 pin: brightness is the PMIC output voltage
LCD powerAXP192 LDO2 (Core2, v1.3) / AXP2101 ALDO4 (v1.1)Not an ESP32 pin
microSD CS4Same SPI bus as the LCD
Internal I2C SDA21FT6336U 0x38, AXP192 0x34, BM8563 RTC 0x51, IMU 0x68
Internal I2C SCL22
Touch INT39FT6336U
Touch RSTAXP192 GPIO4 (Core2, v1.3) / AXP2101 ALDO2 (v1.1)Same line as LCD RST
Speaker I2S BCLK12NS4168 amplifier
Speaker I2S LRCK0Also the microphone clock
Speaker I2S DATA2NS4168 amplifier
Microphone DATA34SPM1423 PDM microphone
Speaker enableAXP192 GPIO2 (Core2, v1.3) / AXP2101 ALDO3 (v1.1)Not an ESP32 pin
Port A (red)32 / 33I2C: SDA 32, SCL 33
Port B (black)26 / 36DAC / ADC
Port C (blue)13 / 14UART: RXD2 13, TXD2 14

Same display spec for volume production

Prototyped on the M5Stack Core2? These modules from our direct factories share the panel size and resolution, come with a datasheet and a fixed driver IC per production lot, and are available from 1 pc samples. MOQ and lead time are agreed per project.

From M5Stack Core2 prototype to production

Dev boards are ideal for proving a UI, but their panels are bought on the open market: the controller can change between batches, there is rarely a datasheet, and lifetime is not guaranteed. For a product, specify a module with a fixed driver IC per production lot, a datasheet and a lifecycle commitment.

Our direct factories build modules with the same 2″ 320×240 format. Same 2.0-inch 320×240 size and ILI9342C controller; our modules use an RGB interface, so check the bus your host provides. Samples start at 1 pc; MOQ and lead time are agreed per project with our sales team.

Before you debug code

  1. Confirm which revision you have (table above): driver IC changes are the most common cause of a white screen.
  2. Check the backlight pin is not reused in your sketch.
  3. Change one setting at a time (driver, inversion, colour order), and keep a known-good example to compare against.

Configuration examples

Arduino: M5Unifiedcpp
#include <M5Unified.h>

void setup() {
  auto cfg = M5.config();
  M5.begin(cfg);          // configures display, touch and AXP192
  M5.Display.setTextSize(2);
  M5.Display.println("Hello Core2");
}

void loop() {
  M5.update();
}
Reference· Community / vendor configuration (see sources)
Arduino: backlight and touch with M5Unifiedcpp
#include <M5Unified.h>

void setup() {
  M5.begin();
  M5.Display.setBrightness(128);   // 0-255; written to the PMIC, there is no backlight GPIO
}

void loop() {
  M5.update();
  auto t = M5.Touch.getDetail();
  if (t.isPressed()) {
    M5.Display.fillCircle(t.x, t.y, 4, TFT_GREEN);
  }
}
Reference· Community / vendor configuration (see sources)

Frequently asked questions

Which display driver does the M5Stack Core2 use?

ILI9342C on units made before M5Stack's 2026-08-07 change and ILI9342E after it. M5Stack lists the same change for the Core2, Core2 v1.1 and Core2 v1.3. M5GFX reads the panel at start-up and picks the matching init list, so one firmware runs on both.

Which GPIO is the M5Stack Core2 backlight on?

None. The backlight is powered by the PMIC: AXP192 DCDC3 on the Core2 and Core2 v1.3, AXP2101 BLDO1 on the Core2 v1.1. Brightness is set by writing the output voltage over I2C (SDA 21, SCL 22). A TFT_BL define in a generic display library has no effect on this board.

Why is the Core2 screen black with TFT_eSPI or my own driver?

The LCD supply, LCD reset and backlight all come from the PMIC, not from ESP32 pins. A driver that only sets up SPI never powers the panel or releases reset. Initialise the PMIC first (M5Unified's M5.begin() does this), then start the display.

My new Core2 does not display correctly with old firmware. Why?

M5Stack's change log says the LCD changed from ILI9342C to ILI9342E on 2026-08-07 and that M5GFX 0.2.27 or newer is required. Update M5GFX (and M5Unified) and rebuild. In M5GFX the two controllers use different init lists.

What is the Core2 touch controller and its I2C address?

FT6336U at address 0x38 on the internal I2C bus (SDA 21, SCL 22), with the interrupt on GPIO 39. Its reset is the same PMIC line as the LCD reset. M5GFX maps the touch Y range to 0–279 while the display has 240 rows: the strip below the image is where the three printed buttons are.

What is the difference between Core2, Core2 v1.1 and Core2 v1.3?

The display, touch controller and ESP32 pin map are the same. Core2 v1.1 replaces the AXP192 PMIC with AXP2101 + INA3221, adds an RTC backup battery and has a blue power LED. Core2 v1.3 keeps the AXP192 and changes the IMU from MPU6886 to BMI270.

Does the Core2 display share its SPI bus with the microSD card?

Yes. MOSI 23, MISO 38 and SCK 18 are shared; the LCD chip select is GPIO 5 and the microSD chip select is GPIO 4.

Sources

  1. M5Stack docs: Core2 (pin map, specifications, change log)
  2. M5Stack docs: Core2 v1.1 (AXP2101 pin map, version comparison)
  3. M5Stack docs: Core2 v1.3 (BMI270 IMU)
  4. M5GFX: src/M5GFX.cpp, Core2 panel and backlight classes (commit 28d47949)
  5. M5GFX: board_detect/m5/esp32_d0wdq6_construct.inl, Core2 bus and touch (commit 28d47949)

Not sure which display fits your design?

Send us your size, interface and host processor. A display engineer replies within 12 hours with 2–3 options, datasheets and init code. Samples from 1 pc.