M5Stack-Core2 image

M5Stack-Core2

Development Board

Code name: M5STACK_Core2

M5Stack-Core2 is a development board based on the ESP32 microcontroller using XTENSA architecture.

This board features a maximum CPU frequency of 240 MHz and 16MB flash memory.

About M5Stack-Core2

Advanced ESP32 touchscreen dev kit with IMU, mic, and speaker - great for interactive and multimedia IoT.

📋 Technical Specifications

Complete technical specification details for M5Stack-Core2

🖥️ Display

Type LCD
Size 2.0"
Resolution 320x240
Touch Screen FT6336U

🛰️ Connectivity

WiFi 802.11 b/g/n (2.4 GHz)
Bluetooth 4.2
BLE 4.2

🧠 Microcontroller

Model esp32
Clock Speed 240 MHz
Flash Size 16MB
Architecture xtensa

Features & Pins

Digital IO 40
Analog Input 16
PWM 19
Interrupts 16

M5Stack-Core2 Pinout Diagram

Complete pin reference for M5Stack-Core2

M5Stack-Core2 pinout

Useful Links

Datasheets and resources for M5Stack-Core2

Pin Mappings

Complete pinout and GPIO mapping for M5Stack-Core2

40
Digital I/O Pins
16
Interrupt Pins
16
Analog Inputs
19
PWM Pins
PinAnalogTouchPWMOther
0G0
1PWMTX G1
2PWMG2
3PWMRX G3
5PWMSS G5
12PWMG12
13PWMRX2 G13
14PWMTX2 G14
15PWMG15
17PWMG17
18PWMSCK G18
19PWMG19
21PWMG21
22PWMG22
23PWMMOSI G23
25PWMG25 DAC1
26PWMG26 DAC2
27PWMG27
32PWMSDA G32
33PWMSCL G33
34G34
35G35 ADC1
36G36 ADC2
38MISO G38
Legend
A0 Analog input
T0 Touch sensor
PWM PWM capable
RX/TX Serial pins
LED Built-in LED
# Pin number

Default Tools & Configuration

Build and upload settings for M5Stack-Core2

SettingValue
Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modedio
Maximum upload size
6400 KB (6553600 bytes)
Maximum data size
4416 KB (4521984 bytes)
Configuration Summary

The M5Stack-Core2 uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x1000.

Flash mode: dio | Boot mode: dio

Max sketch size: 6400 KB | Max data size: 4416 KB