Skip to main content
ESPBoards
Yes
No
N/A

M5Stack-Core2 Development Board Pinout and Technical Specifications

Code name: M5STACK_Core2

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


πŸ”— Quick Links

πŸ“Š M5Stack-Core2 Specs

Below you can find the specifications of M5Stack-Core2, such as features, connectivity options, and M5Stack-Core2 technical specs.

✨ Features

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

πŸ–₯ Display

  • Type: LCD
  • Size: 2.0"
  • Resolution: 320x240

πŸ–₯️ Display

  • Type: LCD
  • Size: 2.0"
  • Resolution: 320x240

πŸ›°οΈ Connectivity

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

πŸ“ Technical specs

Microcontroller esp32
Clock Speed 240 MHz
Flash size 16MB
Architecture xtensa

πŸ”Œ 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 an external interrupt pins , 16 as analog input pins and 19 pins have Pulse-Width Modulation (PWM) .

Pin Analog Touch PWM Other
0 G0
1 PWM TX G1
2 PWM G2
3 PWM RX G3
5 PWM SS G5
12 PWM G12
13 PWM RX2 G13
14 PWM TX2 G14
15 PWM G15
17 PWM G17
18 PWM SCK G18
19 PWM G19
21 PWM G21
22 PWM G22
23 PWM MOSI G23
25 PWM G25 DAC1
26 PWM G26 DAC2
27 PWM G27
32 PWM SDA G32
33 PWM SCL G33
34 G34
35 G35 ADC1
36 G36 ADC2
38 MISO G38
Analog - Analog input pins
Touch - Touch pins
Function - Function pins
RX / TX - Receive (RX) / Transmit (TX)
LED_BUILTIN - Built-in LED
PWM - Pulse-Width Modulation

πŸ› οΈ Default Tools

Bootloader tool esptool_py
Uploader tool esptool_py
Network uploader tool esp_ota
Bootloader address 0x1000
Flash mode dio
Boot mode dio
PSRAM type
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.