M5Stack CoreS3

Feature-packed ESP32-S3 dev kit with touch display, camera, mic, speaker, IMU and SD card - everything integrated, prototype-ready out of the box.

USB-C Native USB
M5Stack CoreS3 board
54 × 54 mm
ESP32-S3
MCU
240MHz
clock
16MB
flash
512KB
SRAM
36· Two 12-bit, 20 Channels ADC
GPIO
BLE 5.0+ WiFi
radio
On this page

M5Stack CoreS3 Pinout

36 pins
M5Stack CoreS3 pinout diagramM5Stack CoreS3 pinout diagram, second view
PinGPIOLabelsStatusCapabilitiesNotes
10G0I2S_MCLKstrapping-
21G1PORT_A_SCLsafe-
32G2PORT_A_SDAsafe-
43G3LCD_CSstrapping-
54G4SD_CSsafe-
65G5safe-
76G6safe-
87G7safe-
98G8PORT_Bsafe-
109G9PORT_Bstrapping-
1110G10ADCstrapping-
1211G11SCLstrappingi2c
1312G12SDAstrappingi2c
1413G13I2S_DOUTstrapping-
1514G14I2S_DINstrapping-
1615G15CAM_D4safe-
1716G16CAM_D5safe-
1817G17PORT_C_TXsafe-
1918G18PORT_C_RXsafe-
2021G21TOUCH_INTsafe-
2133G33I2S_LRCKsafe-
2234G34I2S_BCLKsafe-
2335G35LCD_DCMISOsafespi
2436G36SCKsafespi
2537G37MOSIsafespi
2638G38CAM_HREFsafe-
2739G39CAM_D0strapping-
2840G40CAM_D1strapping-
2941G41CAM_D2strapping-
3042G42CAM_D3strapping-
3143G43TXuartuart
3244G44RXuartuart
3345G45CAM_PCLKstrapping-
3446G46CAM_VSYNCstrapping-
3547G47CAM_D7strapping-
3648G48CAM_D6strapping-
36 GPIOs broken out 18 free · 18 need care · 0 to avoid

Start with these

18 pins with no boot or system involvement
G1GPIO1G2GPIO2G4GPIO4G5GPIO5G6GPIO6G7GPIO7G8GPIO8G15GPIO15G16GPIO16G17GPIO17G18GPIO18G21GPIO21G33GPIO33G34GPIO34G35GPIO35G36GPIO36G37GPIO37G38GPIO38

Freely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.

Fine - with a little care

18 pins · 12 things to know
G0GPIO0 Bootstrapping pin (Chip boot mode selection) Strapping

Must be pulled high (default) or low (to enter UART download mode) at reset. Using it for other functions can interfere with boot mode configuration.

G3GPIO3 Bootstrapping pin (controls JTAG signal source) Strapping

Sampled at reset to select JTAG interface (USB Serial/JTAG controller vs. external pins). Improper use can disable external JTAG or alter debug interface.

G9GPIO9G10GPIO10G11GPIO11G12GPIO12G13GPIO13G14GPIO14 General-purpose SPI2 (FSPI) IO MUX pins Other

IO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet lists it as a priority-2 pin ("can be freely used without restrictions"), so it is only taken if your board wires flash, an SD card or a display to FSPI.

  • G9General-purpose SPI2 (FSPI) IO MUX pin - hold/data line (FSPIHD)
  • G10General-purpose SPI2 (FSPI) IO MUX pin - chip select (FSPICS0)
  • G11General-purpose SPI2 (FSPI) IO MUX pin - data in (FSPID)
  • G12General-purpose SPI2 (FSPI) IO MUX pin - clock (FSPICLK)
  • G13General-purpose SPI2 (FSPI) IO MUX pin - data out (FSPIQ)
  • G14General-purpose SPI2 (FSPI) IO MUX pin - write-protect/data line (FSPIWP)
G39GPIO39 JTAG test clock (MTCK); IO MUX alternates CLK_OUT3 and SUBSPICS1 (chip select on the alternative SUBSPI memory bus, unused on standard modules) JTAG

Default JTAG TCK - keep it free if you debug over JTAG. It is not a flash or PSRAM line on standard modules: those sit on GPIO26-37.

G40GPIO40 JTAG test data out pin (MTDO) JTAG

Default JTAG TDO output for debugging. Using it as GPIO will interfere with JTAG debugging functionality.

G41GPIO41 JTAG test data in pin (MTDI) JTAG

Default JTAG TDI input for debugging. Should be reserved for JTAG or left unused if JTAG is to remain available.

G42GPIO42 JTAG test mode select pin (MTMS) JTAG

Default JTAG TMS signal for debugging. Using this pin for other purposes will disable the JTAG interface (unless JTAG is rerouted to USB).

G43GPIO43 UART0 transmit pin (U0TXD), default serial console TX UART

Used for bootloader output and UART console logs. If repurposed, you will lose the default serial output (and programming via UART0).

G44GPIO44 UART0 receive pin (U0RXD), default serial console RX UART

Used for bootloader input (download mode via serial). If repurposed, you cannot use the default UART0 download mode for programming the chip.

G45GPIO45 Bootstrapping pin (selects VDD_SPI flash voltage) Strapping

Determines flash/PSRAM power voltage (3.3 V vs 1.8 V) at boot. Must match hardware configuration; using as GPIO can upset flash supply setting.

G46GPIO46 Bootstrapping pin (used with GPIO0 for boot mode; controls ROM log output) Strapping

Must be at a defined level during reset (with GPIO0) to select normal or download boot and UART/USB print mode. This pin is input-only (no output drive), so it should be left for its intended strapping function.

G47GPIO47G48GPIO48 Octal SPI differential clock legs (SPICLK_P/N_DIFF), used only by the 1.8 V octal flash/PSRAM variants Other

Only the 1.8 V octal parts (ESP32-S3R8V, ESP32-S3R16V) run the differential memory clock here, and on those the pin works at 1.8 V instead of 3.3 V. On the common 3.3 V modules it is a normal GPIO - several devkits drive their RGB LED from GPIO48.

  • G47Octal SPI differential clock positive leg (SPICLK_P_DIFF), used only by the 1.8 V octal flash/PSRAM variants
  • G48Octal SPI differential clock negative leg (SPICLK_N_DIFF), used only by the 1.8 V octal flash/PSRAM variants
These are recommendations, not hard rules - with the right pull-ups, timing and boot-state awareness most pins can be made to work. When in doubt, start green.

The M5Stack CoreS3 pinout brings out 36 GPIO pins - every one of them usable in your project.

For peripherals, I²C is mapped to SDA on GPIO12 and SCL on GPIO11; the SPI bus (MOSI, MISO, SCK) is broken out in full; TX/RX on GPIO43 and GPIO44 cover serial logging and flashing.

If you want zero surprises, G1, G2, G4, G5 and 14 more are free of any such role - the safest first picks. 18 of the exposed pins carry boot-time or system duties on the ESP32-S3 (G0, G3, G9 and 15 more).

Pinout notes Unlike bare dev boards, the M5Stack CoreS3 doesn't expose a classic pin header. Instead, its GPIOs are available through the M5-Bus - a 30-pin connector on the…

Unlike bare dev boards, the M5Stack CoreS3 doesn't expose a classic pin header. Instead, its GPIOs are available through the M5-Bus - a 30-pin connector on the bottom that provides GPIO, I2C, SPI, I2S, UART and ADC access for stacking modules and bases.

For quick peripheral hookups there are three Grove (HY2.0-4P) ports: Port A (G1/G2, external I2C), Port B (G8/G9, GPIO/ADC) and Port C (G17/G18, UART). This is easily the fastest way to attach sensors without any soldering.

Internally, most of the onboard peripherals live on the internal I2C bus (G12 SDA / G11 SCL) - the AXP2101 PMU, AW9523B IO expander, IMU, magnetometer, RTC, touch controller and proximity sensor all share it. The display and microSD slot share the SPI bus (G36 SCK / G37 MOSI), and the microphone and speaker share the I2S bus.

Keep in mind that the display reset and backlight are controlled through the AW9523B IO expander rather than direct GPIOs - something to remember when configuring ESPHome or writing your own drivers.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Native USB - shows up as a port right away, no driver needed. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO1 toggles - wire an LED and resistor to it, or change the pin to your board's own LED.
Set these in Tools · leave everything else at default
Arduino IDE 2.x - Tools Copy
Board: "ESP32S3 Dev Module"▸
USB CDC On Boot: "Enabled"▸
Flash Size: "16MB (128Mb)"▸
Flash Mode: "QIO"▸
PSRAM: "QSPI PSRAM"▸
Partition Scheme: "16M Flash (3MB APP/9.9MB FATFS)" (default)▸
Upload Speed: "921600"▸
▸ every other Tools option - leave at default
Board: ESP32S3 Dev Module
USB CDC On Boot: Enabled
Flash Size: 16MB (128Mb)
Flash Mode: QIO
PSRAM: QSPI PSRAM
Partition Scheme: 16M Flash (3MB APP/9.9MB FATFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32S3 Dev Module
blink.ino Copy
// toggle GPIO1 - wire an LED and resistor to it
void setup() {
  pinMode(1, OUTPUT);
}
void loop() {
  digitalWrite(1, HIGH); delay(500);
  digitalWrite(1, LOW);  delay(500);
}
board to selectesp32-s3-devkitc-1⧉ copy
platformio.ini Copy
[env:m5stack-cores3]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.arduino.memory_type = qio_qspi
build_flags = -DBOARD_HAS_PSRAM
Find it: PlatformIO Home ▸ Boards, search esp32-s3-devkitc-1 - or type it after board =.
board to selectesp32-s3-devkitc-1⧉ copy
device.yaml Copy
esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  framework:
    type: esp-idf
psram:
  mode: quad
  speed: 80MHz

# blink - GPIO1
output:
  - platform: gpio
    pin: 1
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32-s3-devkitc-1 (same ids as PlatformIO).
esptool doesn't pick board settings - a prebuilt .bin already has them baked in. This is just the raw flash command.
terminal Copy
esptool.py --chip esp32s3 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x0 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
Build details: sketch space 6553600 B · data 327680 B · QIO

Good to know

board-specific quirks worth 60 seconds
The screen stays black until two other chips are set up illustration
The screen stays black until two other chips are set up
The backlight is not a GPIO - it is the AXP2101's DLDO1 rail, and brightness is set by varying that rail's voltage (about 2.6-3.3V). LCD reset and touch reset sit on the AW9523B IO expander (pins 9 and 0). Firmware that doesn't initialize both chips gets a black screen and no error anywhere - M5Unified/M5GFX do this for you, custom drivers must do it themselves. In ESPHome the display itself is native…

The backlight is not a GPIO - it is the AXP2101's DLDO1 rail, and brightness is set by varying that rail's voltage (about 2.6-3.3V). LCD reset and touch reset sit on the AW9523B IO expander (pins 9 and 0). Firmware that doesn't initialize both chips gets a black screen and no error anywhere - M5Unified/M5GFX do this for you, custom drivers must do it themselves.

In ESPHome the display itself is native (mipi_spi, model M5CORE, invert_colors: true), but the AXP2101 and AW9523B need M5Stack's external components from github://m5stack/esphome-yaml.

5V on the Grove ports is firmware-gated illustration
5V on the Grove ports is firmware-gated
Grove and M-Bus 5V comes from a boost converter that firmware has to switch on through the AW9523B (BOOST_EN pin 15, BUS_OUT_EN pin 1). Skip that and a meter shows only ~0.5V on Port A. In Arduino/M5Unified it's M5.Power.setExtOutput(true); in UIFlow, the "Set external port power to output mode" block. M5Unified also cuts external output when the battery drops to about 8% with no charger attached. The gate…

Grove and M-Bus 5V comes from a boost converter that firmware has to switch on through the AW9523B (BOOST_EN pin 15, BUS_OUT_EN pin 1). Skip that and a meter shows only ~0.5V on Port A. In Arduino/M5Unified it's M5.Power.setExtOutput(true); in UIFlow, the "Set external port power to output mode" block. M5Unified also cuts external output when the battery drops to about 8% with no charger attached.

The gate works both ways - when powering the CoreS3 from a Grove port or the DC input, official docs require cfg.output_power = false, or the board fights its own supply.

GPIO35 is both SPI MISO and the display's D/C line illustration
GPIO35 is both SPI MISO and the display's D/C line
The display and microSD slot share one SPI bus (SCK G36, MOSI G37), and GPIO35 does double duty: it is SPI MISO for the SD card and the D/C line for the LCD. M5GFX flips the pin between input and output on every chip-select change, so the two can never be on the bus at the same moment - drawing an image straight from the SD card crashes with a bus conflict. Keep SD reads and screen redraws sequential: load the…

The display and microSD slot share one SPI bus (SCK G36, MOSI G37), and GPIO35 does double duty: it is SPI MISO for the SD card and the D/C line for the LCD. M5GFX flips the pin between input and output on every chip-select change, so the two can never be on the bus at the same moment - drawing an image straight from the SD card crashes with a bus conflict.

Keep SD reads and screen redraws sequential: load the file into RAM (or copy to flash) first, then draw. Streaming from card to screen is the one pattern that reliably fails.

Specifications

ESP32-S3 · 54 × 54 mm · vs other ESP32 chips →
Compute
MCU
ESP32-S3
Clock
240 MHz
SRAM · Flash
512 KB · 16MB · 8MB (QSPI) PSRAM
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
5.0 LE
Antenna
3D
I/O
GPIO · ADC
36 · Two 12-bit, 20 Channels
UART · I²C · SPI
3 · 2 · 2
PWM
8 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x0
Display
Screen
IPS LCD · 2.0" · 320x240
Driver
ILI9342C
Touch
FT6336U
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
QIO · QIO
Sketch · Data
6.25 MB · 320 KB

Dimensions

54 mm54 mm
54 × 54 mm
The M5Stack CoreS3 uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is QIO with QIO boot mode. The maximum sketch size is 6.25 MB with 320 KB available for data.

About this board

At its core is the ESP32-S3 - a dual-core Xtensa with vector extensions suited to AI workloads.

Expect to pay about $60.00 - above the ~$29 typical for ESP32-S3 boards.

36 GPIO are broken out - more than most ESP32-S3 boards, so the pin budget is rarely the constraint.

Onboard you'll find 8MB (QSPI) PSRAM, an IPS LCD 2.0" 320x240 display with touch, a GC0308 camera (0.3MP), a microSD slot, a microphone (Dual mic array), a speaker, an audio codec (ES7210), an amplifier (AW88298), a BMI270 + BMM150 IMU, a BM8563 RTC, an ambient-light sensor (LTR-553) and battery charging (AXP2101).

It flashes over native USB - no serial-converter driver needed, which isn't a given among ESP32-S3 boards.


The M5Stack CoreS3 is the third-generation flagship of the M5Stack Core series, built around the ESP32-S3 (dual-core @ 240 MHz, 16 MB flash, 8 MB PSRAM). It's less of a bare dev board and more of a complete, enclosed development kit - a 2.0" capacitive-touch IPS display behind glass, in a solid case with a proper power button.


The integrated peripheral list is long: a GC0308 camera, microSD card slot, dual microphones (ES7210 codec), a 1W speaker on an AW88298 I2S amplifier, a BMI270 IMU with BMM150 magnetometer, a proximity sensor, a BM8563 RTC, and an AXP2101 power management chip handling it all.


It ships with the DinBase - a bottom module that adds a 500 mAh battery, DC 9-24V power input, and DIN-rail / wall / screw mounting options.


It's bulkier than a bare board, but that's the trade-off: everything is already wired up, so instead of breadboarding a display, camera, mic and battery charger yourself, you flash it and start prototyping.

  • 2.0" capacitive-touch IPS display (320x240, ILI9342C) behind high-strength glass
  • GC0308 0.3MP camera with LTR-553ALS-WA proximity sensor
  • Dual microphones with ES7210 codec + 1W speaker via AW88298 I2S amplifier
  • BMI270 6-axis IMU and BMM150 3-axis magnetometer
  • BM8563 RTC with sleep-timer wake-up
  • AXP2101 power management IC and AW9523B IO expander
  • microSD card slot (shares SPI bus with the display)
  • Three Grove ports (I2C / GPIO / UART) and 30-pin M5-Bus expansion
  • Included DinBase: 500mAh battery, DC 12V (9-24V) input, DIN-rail / wall / screw mounting, proto areas
  • Dedicated power button and reset button (long-press for download mode)

FAQ

8 common questions
What is the difference between the M5Stack CoreS3 and Core2?›
The CoreS3 upgrades the SoC from the original ESP32 to the ESP32-S3 (dual-core Xtensa LX7, native USB-OTG, AI vector instructions) and adds a GC0308 camera, proximity sensor, BMM150 magnetometer and dual microphones. It keeps the 2.0" 320x240 capacitive touch display, and swaps the power management to an AXP2101 PMU.
Does the M5Stack CoreS3 work with ESPHome?›
Yes. The display, touchscreen, speaker, microphone, microSD slot, RTC and AXP2101 power management are all usable in ESPHome with external components. The BMI270 IMU is not natively supported yet. Note that the display backlight and reset are controlled via the AW9523B IO expander, not direct GPIOs.
Does the M5Stack CoreS3 have a battery?›
Yes - the included DinBase adds a 500mAh lithium battery managed by the AXP2101 PMU, so the CoreS3 can run untethered. It can also be powered over USB-C or DC 12V (9-24V range) through the DinBase.
What camera does the M5Stack CoreS3 have?›
The CoreS3 has a built-in GC0308 camera with 0.3MP resolution. It is a basic sensor - fine for simple vision experiments, presence detection or QR-code style tasks, but not for high-quality imaging.
How do I program the M5Stack CoreS3?›
Via the USB-C port using the ESP32-S3 native USB (OTG & CDC) - no external programmer or drivers needed. It supports UIFlow2, Arduino IDE, ESP-IDF, PlatformIO and ESPHome. Long-press the reset button for 3 seconds (green LED on) to enter download mode if needed - the screen staying black there is normal. If no COM port appears, check the USB cable - charge-only cables are the usual culprit.
What is the difference between the CoreS3 and the CoreS3 SE?›
The cheaper SE drops the camera, proximity sensor, BMI270 IMU, BMM150 magnetometer, the 500mAh battery and the DinBase. It keeps the display, dual mics, speaker, RTC and microSD slot. One quirk in the SE's favor - its touch glass extends 40 pixels below the display (320x280 touch area) where the camera used to sit, so it can offer a Core2-style touch zone the regular CoreS3 lacks.
Can the speaker and microphone be used at the same time?›
No. The AW88298 amplifier and ES7210 mic ADC share the I2S clock lines, and M5Stack's docs state they cannot run simultaneously - M5Unified requires M5.Speaker.end() before M5.Mic.begin() and vice versa. Plan voice interfaces as listen-then-respond, not full duplex.
Does the CoreS3 have touch buttons below the screen like the Core2?›
No - the touch surface is limited to the 320x240 display area, so there is no separate zone below it. The classic A/B/C buttons are emulated in software by mapping the bottom rows of the screen (M5Unified examples and the gob_unifiedButton library do this). Early official docs describing three dedicated touch zones were incorrect and later corrected by M5Stack.

Where to buy

prices are typical street prices
As an Amazon Associate, ESPboards earns from qualifying purchases.
The M5 Stack store link is an affiliate link - ESPboards may earn a commission on purchases, at no extra cost to you.

Resources

Similar boards