XIAO MG24

Overview

Seeed Studio XIAO MG24 is a mini development board based on Silicon Labs’ MG24. XIAO MG24 is based on ARM Cortex-M33 core, 32-bit RISC architecture with a maximum clock speed of 78MHz, supporting DSP instructions and FPU floating-point operations, possessing powerful computing power, and built-in AL/ML hardware accelerator MVP, which can efficiently process AI/machine learning algorithms. Secondly, it has excellent RF performance, with a transmission power of up to+19.5 dBm and a reception sensitivity as low as -105.4 dBm. It supports multiple IoT and wireless transmission protocols such as Matter, Thread, Zigbee, Bluetooth LE 5.3,Bluetooth mesh etc.

Hardware

  • EFR32MG24B220F1536IM48 Mighty Gecko SoC

  • CPU core: ARM Cortex®-M33 with FPU

  • Flash memory: 1536 kB

  • RAM: 256 kB

  • Transmit power: up to +20 dBm

  • Operation frequency: 2.4 GHz

  • Crystals for LFXO (32.768 kHz) and HFXO (39 MHz).

  • 3.7v LiPo power and charge support

  • User and battery charge LEDs

For more information about the EFR32MG24 SoC and XIAO MG24 board, refer to these documents:

Supported Features

The xiao_mg24 board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
xiao_mg24
/
efr32mg24b220f1536im48

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M33 CPU1

arm,cortex-m33

ADC

on-chip

Silicon Labs Gecko Family IADC1

silabs,gecko-iadc

Bluetooth

on-chip

Bluetooth HCI on Silabs boards1

silabs,bt-hci-efr32

Clock control

on-chip

Silicon Labs Series 2+ clock control node1

silabs,series-clock

on-chip

Generic fixed-rate clock provider3

fixed-clock

on-chip

Generic fixed-rate clock provider1

silabs,hfxo

on-chip

Silicon Labs LFXO peripheral (low-frequency crystal oscillator)1

silabs,series2-lfxo

on-chip

Silicon Labs HFRCODPLL peripheral (high-frequency RC oscillator with digital phase-locked loop)1

silabs,series2-hfrcodpll

on-chip

Silicon Labs HFRCOEM23 peripheral (high-frequency RC oscillator with energy mode 2 and 3 capability)1

silabs,series2-hfrcoem23

on-chip

Silicon Labs LFRCO peripheral (low-frequency RC oscillator)1

silabs,series2-lfrco

on-chip

Generic fixed factor clock provider20

fixed-factor-clock

Comparator

on-chip

Silabs ACMP (Analog Comparator)1

silabs,acmp

Cryptographic accelerator

on-chip

Silicon Labs Secure Element mailbox node1

silabs,gecko-semailbox

Debug

on-chip

ARMv8 instrumentation trace macrocell1

arm,armv8m-itm

DMA

on-chip

Silabs LDMA controller1

silabs,ldma

Flash controller

on-chip

Silicon Labs Series 2 flash controller1

silabs,series2-flash-controller

GPIO & Headers

on-chip

SiLabs Gecko GPIO1

silabs,gecko-gpio

on-chip

SiLabs Gecko GPIO Port4

silabs,gecko-gpio-port

on-board

GPIO pins exposed on Seeeduino Xiao (and compatible devices) headers1

seeed,xiao-gpio

I2C

on-chip

Silabs Gecko I2C1

silabs,gecko-i2c

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MTD

on-chip

Flash node1

soc-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Networking

on-chip

Silicon Labs Series 2 radio interface1

silabs,series2-radio

Pin control

on-chip

The Silabs pin controller is a singleton node responsible for controlling pin function selection and pin properties1

silabs,dbus-pinctrl

Regulator

on-chip

Silicon Labs Series 2 DC-DC converter1

silabs,series2-dcdc

RTC

on-chip

Silabs Gecko Sleep Timer (Real-Time Counter)1

silabs,gecko-stimer

Serial controller

on-chip

Silabs USART UART1

silabs,usart-uart

on-chip

Silabs EUSART UART1

silabs,eusart-uart

SPI

on-chip

Silabs EUSART SPI1

silabs,eusart-spi

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

on-chip

SiLabs Gecko BURTC timer1

silabs,gecko-burtc

Watchdog

on-chip

Silicon Labs Gecko Family Watchdog driver1 1

silabs,gecko-wdog

Connections and IOs

In the following table, the column Name contains Pin names. For example, PA2 means Pin number 2 on PORTA, as used in the board’s datasheets and manuals.

Name

Function

Usage

PA7

GPIO

LED0

PA8

USART0_TX

UART Console TX

PA9

USART0_RX

UART Console RX

The default configuration can be found in boards/seeed/xiao_mg24/xiao_mg24_defconfig

System Clock

The EFR32MG24 SoC is configured to use the 39 MHz external oscillator on the board.

Serial Port

The EFR32MG24 SoC has one USART and two EUSARTs. USART0 is connected to the board controller and is used for the console.

Programming and Debugging

The XIAO MG24 contains an SAMD11 with CMSIS-DAP, allowing flashing, debugging, logging, etc. over the USB port. Doing so requires a version of OpenOCD that includes support for the flash on the MG24 MCU. Until those changes are included in stock OpenOCD, the version bundled with Arduino can be used, or can be installed from the OpenOCD Arduino Fork. When flashing, debugging, etc. you may need to include --openocd=/usr/local/bin/openocd --openocd-search=/usr/local/share/openocd/scripts/ options to the command.

Flashing

Connect the XIAO MG24 board to your host computer using the USB port. A USB CDC ACM serial port should appear on the host, that can be used to view logs from the flashed application.

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b xiao_mg24 samples/hello_world
west flash

Open a serial terminal (minicom, putty, etc.) connecting to the UCB CDC ACM serial port.

Reset the board and you should see the following message in the terminal:

Hello World! xiao_mg24