M5Stack-Core2 Development Board

Code name: M5STACK_Core2

M5Stack-Core2 development board is based on esp32 microcontroller and uses xtensa architecture. This board has a maximum CPU frequency of 240 MHz and a flash size of 16MB.

About M5Stack-Core2

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

M5Stack-Core2 Technical Specifications

πŸ–₯️ 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

  • 40 digital IO pins
  • 16 external interrupt pins
  • 16 analog input pins
  • 19 PWM pins

M5Stack-Core2 Pinout

M5Stack-Core2 Pins Mapping Arduino IDE

Below you can find the M5Stack-Core2 pinout. This development board provides 40 digital IO pins, out of which 16 can be used as external interrupt pins, 16 as analog input pins and 19 pins have Pulse-Width Modulation (PWM).

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
Analog Analog input pins
Touch Touch pins
Function Function pins
RX / TX Receive/Transmit
LED_BUILTIN Built-in LED
PWM Pulse-Width Modulation

Default Tools for M5Stack-Core2

Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modedio
Maximum upload size
6400 Kb
(6553600 B)
Maximum data size
4416 Kb
(4521984 B)

The M5Stack-Core2 development board by default uses esptool_py uploader tool, esp_ota network uploader tool for Over-the-air (OTA) uploads and esptool_py bootloader tool. The bootloader starts at address "0x1000". Flash mode and boot mode for M5Stack-Core2 development board by default is dio and dio respectively.