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.
M5Stack Core2 display specifications
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.
| Revision | Driver IC | How to identify | Library settings |
|---|---|---|---|
| Core2 (AXP192) | ILI9342C / ILI9342E | Green 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 / ILI9342E | Blue 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.3 | ILI9342C / ILI9342E | PMIC 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
| Signal | GPIO | Notes |
|---|---|---|
| LCD MOSI | 23 | SPI bus, shared with the microSD slot |
| LCD MISO | 38 | SPI bus, shared with the microSD slot |
| LCD SCK | 18 | SPI bus, shared with the microSD slot |
| LCD CS | 5 | |
| LCD DC | 15 | |
| LCD RST | AXP192 GPIO4 (Core2, v1.3) / AXP2101 ALDO2 (v1.1) | Not an ESP32 pin: set through the PMIC over I2C. Shared with touch reset |
| Backlight | AXP192 DCDC3 (Core2, v1.3) / AXP2101 BLDO1 (v1.1) | Not an ESP32 pin: brightness is the PMIC output voltage |
| LCD power | AXP192 LDO2 (Core2, v1.3) / AXP2101 ALDO4 (v1.1) | Not an ESP32 pin |
| microSD CS | 4 | Same SPI bus as the LCD |
| Internal I2C SDA | 21 | FT6336U 0x38, AXP192 0x34, BM8563 RTC 0x51, IMU 0x68 |
| Internal I2C SCL | 22 | |
| Touch INT | 39 | FT6336U |
| Touch RST | AXP192 GPIO4 (Core2, v1.3) / AXP2101 ALDO2 (v1.1) | Same line as LCD RST |
| Speaker I2S BCLK | 12 | NS4168 amplifier |
| Speaker I2S LRCK | 0 | Also the microphone clock |
| Speaker I2S DATA | 2 | NS4168 amplifier |
| Microphone DATA | 34 | SPM1423 PDM microphone |
| Speaker enable | AXP192 GPIO2 (Core2, v1.3) / AXP2101 ALDO3 (v1.1) | Not an ESP32 pin |
| Port A (red) | 32 / 33 | I2C: SDA 32, SCL 33 |
| Port B (black) | 26 / 36 | DAC / ADC |
| Port C (blue) | 13 / 14 | UART: 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
- Confirm which revision you have (table above): driver IC changes are the most common cause of a white screen.
- Check the backlight pin is not reused in your sketch.
- Change one setting at a time (driver, inversion, colour order), and keep a known-good example to compare against.
Configuration examples
#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();
}#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);
}
}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
- M5Stack docs: Core2 (pin map, specifications, change log)
- M5Stack docs: Core2 v1.1 (AXP2101 pin map, version comparison)
- M5Stack docs: Core2 v1.3 (BMI270 IMU)
- M5GFX: src/M5GFX.cpp, Core2 panel and backlight classes (commit 28d47949)
- 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.

