This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

M5Stack-Core2 base shield

Overview

M5Stack-Core2 [1] comes with a base shield that is connected to the M5Stack extension connector. It features an MPU6886 6-axis motion tracker (6DOF IMU) and a SPM1423 microphone.

M5Stack-Core2-EXT

M5Stack-Core2-Extension module

Note

The SPM1423 microphone functionality is not implemented yet.

Pins Assignments

Shield Connector Pin

Function

0

GND

11

3.3V

16

I2C - intSDA

17

I2C - intSCL

Programming

Set -DSHIELD=m5stack_core2_ext when you invoke west build. For example:

# From the root of the zephyr repository
west build -b m5stack_core2/esp32/procpu samples/sensor/mpu6050 -- -DSHIELD=m5stack_core2_ext

References