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
π°οΈ Connectivity
π§ Microcontroller
β¨ Features
- 40 digital IO pins
- 16 external interrupt pins
- 16 analog input pins
- 19 PWM pins
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).
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 |
Default Tools for M5Stack-Core2
Bootloader tool | esptool_py |
Uploader tool | esptool_py |
Network uploader tool | esp_ota |
Bootloader address | 0x1000 |
Flash mode | dio |
Boot mode | dio |
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.