pdf-icon

Core2 v1.1

SKU:K010-V11

Description

Core2 v1.1 is the iterative version of the second-generation host in the M5Stack development kit series, further enhancing the functionality based on the original generation host. It features a power management chip solution of AXP2101+INA3221, offering more comprehensive hardware functions, adding an RTC battery to meet the needs of low-power applications and precise timing functions. Its core controller is equipped with an ESP32-D0WDQ6-V3, featuring two independently controllable Xtensa® 32-bit LX6 processors, with a main frequency of up to 240Mhz, supporting WiFi functionality, and onboard 16MB Flash and 8MB PSRAM. Programs can be downloaded via the TYPE-C interface, and the robust configuration meets the resource demands of complex applications. The front is equipped with a 2.0-inch integrated capacitive touch screen, providing users with a smoother human-computer interaction experience.

The body has a built-in vibration motor, providing tactile feedback and vibration alert functions. The built-in RTC module and battery dedicated to RTC power supply offer precise timing functions. The power section features an AXP2101 power management chip for effective control of body power consumption, with a built-in blue power indicator light. Additionally, the body is equipped with a TF-card (microSD) slot and speaker. To ensure higher quality sound effects, an I2S digital audio interface amplifier chip is used to effectively prevent signal distortion. The left side and bottom of the body have independent power and reset (RST) buttons, and the three dots on the front of the screen are part of the touch screen, which can be programmed to map hot zones as three virtual buttons. The expansion board on the back of the body integrates a 6-axis IMU sensor and microphone.

Tutorial

This tutorial will introduce you to controlling the Core2 v1.1 device through the UIFlow graphical programming platform
This tutorial will introduce you to controlling the Core2 v1.1 device through the UIFlow 2.0 graphical programming platform
This tutorial will introduce you to controlling the Core2 v1.1 device through Arduino IDE programming

Features

  • Developed based on ESP32, supports WiFi
  • 16M Flash, 8M PSRAM
  • Built-in speaker, power indicator light, vibration motor, RTC, I2S amplifier, capacitive touch screen, power button, reset button
  • TF card slot (supports up to 16GB)
  • Built-in lithium battery, equipped with a power management chip
  • Independent board with built-in 6-axis IMU, PDM microphone
  • M-Bus interface
  • Compatible with multi-platform development:
    • UIFlow
    • MicroPython
    • Arduino
    • .NET nanoFramework
    • Expandable real-time operating system (RTOS): zephyr

Includes

  • 1 x Core2 V1.1
  • 1 x USB Type-C cable (20cm)
  • 1 x Hex wrench

Applications

  • IoT controller
  • STEM education
  • DIY projects
  • Smart home devices

Specifications

Specification Parameter
ESP32-D0WDQ6-V3 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi
Flash 16MB
PSRAM 8MB
Input Voltage 5V @ 500mA
Host Interface TypeC x 1, GROVE(I2C+I/O+UART) x 1
LED Blue power indicator light
Buttons Power button, RST button, 3 virtual screen buttons
Vibration Alert Vibration motor
IPS LCD Screen 2.0"@320 x 240 ILI9342C
Capacitive Touch IC FT6336U
Speaker Amplifier 1W (Size: 0928)
Microphone SPM1423
I2S Amplifier NS4168
IMU MPU6886
RTC BM8563
PMU AXP2101
Current Meter INA3221
USB Chip CH9102F
DC-DC Boost SY7088
TF Slot Supports up to 16G
Lithium Battery 500mAh @ 3.7V
Antenna 2.4G 3D antenna
Operating Temperature 0 ~ 60°C
Base Screw Spec Hexagon socket head M3
Internal PCB Reserved Battery interface (Spec: 1.25mm-2P) USB line interface (Spec: 1.25mm-4P)
Case Material Plastic (PC)
Product Dimensions 54.0 x 54.0 x 16.5mm
Product Weight 45.1g
Package Dimensions 80.0 x 59.9 x 21.6mm
Package Weight 74.3g

Learn

Power Management

Power On/Off Operations:
Power On: Single click the left power button
Power Off: Long press the left power button for 4 seconds
Reset: Single click the bottom RST button

Expansion Module/Compatibility

When stacking Core2 V1.1 with M5 modules, you need to remove the battery bottom of Core2 V1.1. If you want to keep the I2S microphone, IMU, and battery functions of the base while stacking other modules, it is recommended to use M5GO Bottom2 . The PCB of Core2 V1.1 has reserved interfaces for the CH910F chip and lithium battery interface.
The vibration motor of Core2 V1.1 interferes structurally with the M5 Base series base. To prevent damage to the device, do not stack Core2 V1.1 with M5 Base series functional bases.
There may be touch non-linearity issues on some screen edges. You can try using M5Tool to upgrade the screen firmware to solve this problem.

Schematics

PinMap

LCD & TF card (LCD: 320x240 TF card Maximum size 16GB)

ESP32 Chip GPIO38 GPIO23 GPIO18 GPIO5 GPIO15
AXP2101 Chip AXP_ALDO2 AXP_BLDO1 AXP_ALDO4
ILI9342C MISO MOSI SCK CS DC RST BL PWR
ESP32 Chip GPIO38 GPIO23 GPIO18 GPIO4
TF Card MISO MOSI SCK CS

CAP.TOUCH (I2C Addr: 0x38)

ESP32 chip GPIO21 GPIO22 GPIO39
AXP2101 AXP_ALDO2
FT6336U SDA SCL INT RST

Mic & NS4168 (Speaker)

ESP32 Chip GPIO12 GPIO0 GPIO2 AXP_ALDO3 GPIO34
NS4168 BCLK LRCK DATA SPK_EN
Mic CLK DATA

AXP Power Indicator Light

AXP2101 VRTC DLDO1
Blue LED Vcc
Vibration motor Vcc

RTC

ESP32 Chip GPIO21 GPIO22
AXP2101 AXP_IRQ
BM8563 SDA SCL INT

IMU (3-axis gyroscope & 3-axis accelerometer)

ESP32 Chip GPIO21 GPIO22
MPU6886 SDA SCL

USB to serial chip

ESP32 Chip GPIO1 GPIO3
CH9102F RXD TXD

Internal I2C connection

ESP32 Chip GPIO21 GPIO22
MPU6886 SDA SCL
AXP2101 SDA SCL
BM8563 SDA SCL
FT6336U SDA SCL
INA3221 SDA SCL

M5PORT DEFINE

PORT PIN Note:
PORT-A (Red) G32/33 I2C
PORT-B (Black) G26/36 DAC/ADC
PORT-C (Blue) G13/14 UART

ESP32 ADC/DAC (For more information on pin allocation and pin remapping, refer to the ESP32 Datasheet )

ADC1 ADC2 DAC1 DAC2
8 channels 10 channels 2 channels 2 channels
G32-39 G0/2/4/12-15/25-27 G25 G26

Core2 v1.1 M-BUS Diagram

Core2 v1.1 BUS (Compared with M5Stack)

Model Size

module size

Datasheets

Softwares

Arduino

PlatformIO

[env:m5stack-core2]
platform = espressif32@6.3.2
board = m5stack-core-esp32
framework = arduino
upload_speed = 1500000
monitor_speed = 115200
build_flags =
    -DBOARD_HAS_PSRAM
    -mfix-esp32-psram-cache-issue
    -DCORE_DEBUG_LEVEL=5
lib_deps =
    M5Unified=https://github.com/m5stack/M5Unified

Easyloader

Easyloader Download Link Note
Core2 v1.1 Factory Test Easyloader download /

USB Driver

Click the link below to download the driver matching your operating system. There are currently two driver chip versions, CP34X (for CH9102 version) driver package. After extracting the package, select the installation package corresponding to your operating system's bit version for installation. (If you are unsure which USB chip your device uses, you can install both drivers. CH9102_VCP_SER_MacOS v1.7 may report an error during installation, but it is actually installed, just ignore it.) If you encounter issues with downloading programs (timeout or Failed to write to target RAM), try reinstalling the device driver.
Driver Name Applicable Driver Chip Download Link
CH9102_VCP_SER_Windows CH9102 Download
CH9102_VCP_SER_MacOS v1.7 CH9102 Download
MacOS Port Selection
In MacOS, there may be two selectable ports. Please choose the port named wchmodem when using.

Video

  • This example will perform hardware operation tests for the speaker, wifi, buttons, accelerometer, tf card (microSD), screen, etc.

Version Change

Release Date Product Change Note
/ Initial release of Core2 /
2023.11 Core2 v1.1 Changed PMU power management chip to AXP2101+INA3221/added RTC power supply battery/power indicator light changed to blue

AXP2101 (Core2 v1.1) and AXP192 (Core2) Parameter Comparison

FAQ

Q: If the memory card fails to read, you can add the following code during initialization to enhance the host's memory card reading capability.

A:

for (auto gpio : (const uint8_t[]){18, 19, 23}) {
    *(volatile uint32_t*)(GPIO_PIN_MUX_REG[gpio]) |= FUN_DRV_M;
    gpio_pulldown_dis((gpio_num_t)gpio);
    gpio_pullup_en((gpio_num_t)gpio);
  }

Version Comparison

The differences between Core2 and Core2 v1.1 are as follows:
1. The power management solution has been iterated from Core2 (AXP192) to Core2 v1.1 (AXP2101+INA3221), with different IDs for AXP192 and AXP2101, used as a version distinction marker in programs,
2. The power indicator light has changed from green to blue;
3. Added an RTC chip power supply battery to ensure precise timing even when powered off.