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.
Type |
Location |
Description |
Compatible |
---|---|---|---|
CPU |
on-chip |
ARM Cortex-M33 CPU1 |
|
ADC |
on-chip |
Silicon Labs Series 2 IADC1 |
|
Bluetooth |
on-chip |
Silicon Labs Series 2 Bluetooth HCI1 |
|
Clock control |
on-chip |
Silicon Labs Series 2 CMU1 |
|
on-chip |
Generic fixed-rate clock provider3 |
||
on-chip |
Silicon Labs Series 2 HFXO1 |
||
on-chip |
Silicon Labs Series 2 LFXO1 |
||
on-chip |
Silicon Labs Series 2 HFRCODPLL1 |
||
on-chip |
Silicon Labs Series 2 HFRCOEM231 |
||
on-chip |
Silicon Labs Series 2 LFRCO1 |
||
on-chip |
Generic fixed factor clock provider20 |
||
Comparator |
on-chip |
Silicon Labs Series 2 ACMP1 |
|
Cryptographic accelerator |
on-chip |
Silicon Labs Series 2 SE Mailbox1 |
|
Debug |
on-chip |
ARMv8 instrumentation trace macrocell1 |
|
DMA |
on-chip |
Silicon Labs Series 2 LDMA1 |
|
Flash controller |
on-chip |
Silicon Labs Series 2 MSC1 |
|
GPIO & Headers |
on-chip |
Silicon Labs Series 0-2 GPIO Peripheral1 |
|
on-chip |
Silicon Labs Series 0-2 GPIO Port4 |
||
on-board |
GPIO pins exposed on Seeeduino Xiao (and compatible devices) headers1 |
||
I2C |
on-chip |
Silicon Labs Series 0-2 I2C1 |
|
Interrupt controller |
on-chip |
ARMv8-M NVIC (Nested Vectored Interrupt Controller)1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
Flash node1 |
|
on-board |
Fixed partitions of a flash (or other non-volatile storage) memory1 |
||
Networking |
on-chip |
Silicon Labs Series 2 Radio Interface1 |
|
Pin control |
on-chip |
Silicon Labs Series 2 DBUS Pin Controller1 |
|
Regulator |
on-chip |
Silicon Labs Series 2 DC-DC converter1 |
|
RTC |
on-chip |
Silicon Labs Series 2 Sleeptimer1 |
|
Serial controller |
on-chip |
Silicon Labs Series 2 USART1 |
|
on-chip |
Silicon Labs Series 2 EUSART 1 |
||
SPI |
on-chip |
Silicon Labs Series 2 EUSART 1 |
|
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv8-M System Tick1 |
|
on-chip |
Silicon Labs Series 2 BURTC1 |
||
Watchdog |
on-chip |
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