Boards / All-in-one boards

M5Stack Core2 v1.1 (AXP2101)

2.0" 320x240 ILI9342C with FT6336U touch. The Core2 v1.1: its panel's supply, reset and backlight are the AXP2101's.

The M5Stack Core2 v1.1 board
Photograph: M5Stack · vendor product photo, no licence stated

Building for it

A project is made for one toolchain, picked when you start it. For this board you can use three of the four:

Toolchain
Arduino (C++)Every board, every widget and every peripheral here. The most control, and the most to set up. Start a project
MicroPythonChange a screen by editing a file on the board. No compiler once it is flashed. Start a project
ESPHomeA line it sets before the panel is Power ALDO4, a supply of its power chip. A panel reset, or a line set before the panel, that is a supply of the power chip is switched by the Arduino, ESP-IDF and MicroPython exports; ESPHome has no component for the AXP2101 or the AXP192, so nothing would switch it and the panel would stay in reset. Use the Arduino, ESP-IDF or MicroPython export.
ESP-IDF (C)Espressif's own framework: esp_lcd, the component registry and idf.py, with nothing of Arduino in it. Start a project

At a glance

PartDetail
MakerM5Stack
MCUESP32 (WROOM / WROVER)
Xtensa LX6 dual-core @ 240 MHz, 520 KB SRAM (+ up to 8 MB PSRAM on WROVER)
DisplayIlitek ILI9342 / ILI9342C, 320 x 240 px, SPI (4-wire serial), 16-bit colour
TouchFocalTech FT6236 / FT6336U (capacitive, I2C)
BacklightAlways on, or controlled by the board
Memory16 MB flash, 8 MB quad PSRAM (N16R8)
Graphics libraryLovyanGFX

Display pins

ILI9342 / ILI9342C on SPI (4-wire serial): SPI clock 40 MHz, host VSPI, BGR colour order, inversion on.

SignalPin
SCK / CLKGPIO 18
MOSI / SDAGPIO 23
MISO / SDOGPIO 38
CSGPIO 5
DC / RSGPIO 15
RESETPower ALDO2 (power chip supply)

Touch pins

FT6236 / FT6336U: I2C address 0x38, 400 kHz, shares the display bus.

SignalPin
SDAGPIO 21
SCLGPIO 22
INT / IRQGPIO 39
RESETnot connected

Also on the board

The preset adds these to the Hardware tab with the board, so a sensor can go straight onto the connector.

Check your revision. This is the Core2 v1.1, with an AXP2101 power chip; the first Core2 (v1.0) has an AXP192 - choose the other preset for that one (the chip's id says which: 0x4A at register 0x03 is an AXP2101, 0x03 an AXP192). The panel's supply, reset and backlight are driven through the AXP2101 as LovyanGFX's Core2 start-up drives them; the backlight is on at 3.0 V and does not dim. MicroPython starts the chip before the panel too, on the touch panel I2C bus; ESPHome has no component for it and is not offered. Compiled; not seen on a panel by LCD Wizard.

Designing for it in LCD Wizard

The parts

ILI9342 / ILI9342C. Landscape-native sibling of the ILI9341. Used by M5Stack Core / Core2.

FT6236 / FT6336U. Register-compatible with the FT6206. Very common on 2.8"-3.5" capacitive TFTs.

ESP32 (WROOM / WROVER). No native RGB parallel peripheral - use SPI or an 8/16-bit i80 bus.

LovyanGFX. Widest panel and bus coverage, DMA on ESP32. Configured with a C++ config class.

The pinout on one page

Every pin above, laid out to print and keep beside the bench. Generated from this preset, so it says exactly what the designer writes into lcd_pins.h.

Download the pinout (PNG)Open it as SVG

The same pins as data - board.json and pins.csv - are in the open pinout dataset on GitHub, free to reuse under CC BY 4.0.

From the people who made it

The board’s own documentation. Pinouts on vendor pages do sometimes disagree with the hardware in front of you - where this page and that one differ, trust your board and tell us.

Designs for this board

Nobody has published a design for this board yet. Publish yours from the designer and it appears here and in the gallery.

M5Stack Core2 (v1.0, AXP192)2.0" 320x240 ILI9342C with FT6336U touch. The first Core2: its panel's supply, reset and backlight are the AXP192's.ESP32 · ILI9342 / ILI9342C 320 x 240 · FT6236 / FT6336U touch
LCDWIKI 2.8" ESP32-32E (E32R28T)A Cheap Yellow Display alternative: 2.8" 320x240 ILI9341V with XPT2046 resistive touch, an RGB LED, a speaker amplifier and battery charging. The LED and audio pins are not the Sunton board's.ESP32 · ILI9342 / ILI9342C 320 x 240 · XPT2046 touch
WT32-SC013.5" 320x480 ST7796 over SPI with FT6336U capacitive touch.ESP32 · ST7796 / ST7796S 320 x 480 · FT6236 / FT6336U touch
Guition JC2432W328C (2.8" capacitive, one USB-C)Guition's 2.8" CYD in a clear case: 240x320 ST7789 with CST820 capacitive touch, backlight on GPIO 27, TF card, RGB LED, speaker and light sensor.ESP32 · ST7789 240 x 320 · CST820 touch
Guition JC2432W328R (2.8" resistive, one USB-C)Guition's 2.8" CYD in a clear case: 240x320 ST7789 with XPT2046 resistive touch on the panel's own SPI bus, backlight on GPIO 27, TF card, RGB LED, speaker and light sensor.ESP32 · ST7789 240 x 320 · XPT2046 touch
ESP32-2432S028C (capacitive CYD)Capacitive variant of the Cheap Yellow Display: same ILI9341, CST820 touch over I2C.ESP32 · ILI9341 320 x 240 · CST820 touch

Next