|
| 1 | +.. zephyr:board:: xiao_mg24 |
| 2 | +
|
| 3 | +Overview |
| 4 | +******** |
| 5 | + |
| 6 | +Seeed Studio XIAO MG24 is a mini development board based on Silicon Labs' MG24. XIAO MG24 is based |
| 7 | +on ARM Cortex-M33 core, 32-bit RISC architecture with a maximum clock speed of 78MHz, supporting DSP |
| 8 | +instructions and FPU floating-point operations, possessing powerful computing power, and built-in |
| 9 | +AL/ML hardware accelerator MVP, which can efficiently process AI/machine learning algorithms. |
| 10 | +Secondly, it has excellent RF performance, with a transmission power of up to+19.5 dBm and a |
| 11 | +reception sensitivity as low as -105.4 dBm. It supports multiple IoT and wireless transmission |
| 12 | +protocols such as Matter, Thread, Zigbee, Bluetooth LE 5.3,Bluetooth mesh etc. |
| 13 | + |
| 14 | +Hardware |
| 15 | +******** |
| 16 | + |
| 17 | +- EFR32MG24B220F1536IM48 Mighty Gecko SoC |
| 18 | +- CPU core: ARM Cortex®-M33 with FPU |
| 19 | +- Flash memory: 1536 kB |
| 20 | +- RAM: 256 kB |
| 21 | +- Transmit power: up to +20 dBm |
| 22 | +- Operation frequency: 2.4 GHz |
| 23 | +- Crystals for LFXO (32.768 kHz) and HFXO (39 MHz). |
| 24 | +- 3.7v LiPo power and charge support |
| 25 | +- User and battery charge LEDs |
| 26 | + |
| 27 | +For more information about the EFR32MG24 SoC and XIAO MG24 board, refer to these |
| 28 | +documents: |
| 29 | + |
| 30 | +- `EFR32MG24 Website`_ |
| 31 | +- `EFR32MG24 Datasheet`_ |
| 32 | +- `EFR32xG24 Reference Manual`_ |
| 33 | +- `XIAO MG24 Wiki`_ |
| 34 | + |
| 35 | +Supported Features |
| 36 | +================== |
| 37 | + |
| 38 | +.. zephyr:board-supported-hw:: |
| 39 | +
|
| 40 | +Connections and IOs |
| 41 | +=================== |
| 42 | + |
| 43 | +In the following table, the column **Name** contains Pin names. For example, PA2 |
| 44 | +means Pin number 2 on PORTA, as used in the board's datasheets and manuals. |
| 45 | + |
| 46 | ++-------+-------------+------------------+ |
| 47 | +| Name | Function | Usage | |
| 48 | ++=======+=============+==================+ |
| 49 | +| PA7 | GPIO | LED0 | |
| 50 | ++-------+-------------+------------------+ |
| 51 | +| PA8 | USART0_TX | UART Console TX | |
| 52 | ++-------+-------------+------------------+ |
| 53 | +| PA9 | USART0_RX | UART Console RX | |
| 54 | ++-------+-------------+------------------+ |
| 55 | + |
| 56 | +The default configuration can be found in |
| 57 | +:zephyr_file:`boards/seeed/xiao_mg24/xiao_mg24_defconfig` |
| 58 | + |
| 59 | +System Clock |
| 60 | +============ |
| 61 | + |
| 62 | +The EFR32MG24 SoC is configured to use the 39 MHz external oscillator on the |
| 63 | +board. |
| 64 | + |
| 65 | +Serial Port |
| 66 | +=========== |
| 67 | + |
| 68 | +The EFR32MG24 SoC has one USART and two EUSARTs. |
| 69 | +USART0 is connected to the board controller and is used for the console. |
| 70 | + |
| 71 | +Programming and Debugging |
| 72 | +************************* |
| 73 | + |
| 74 | +The XIAO MG24 contains an SAMD11 with CMSIS-DAP, allowing flashing, debugging, logging, etc. over |
| 75 | +the USB port. Doing so requires a version of OpenOCD that includes support for the flash on the MG24 |
| 76 | +MCU. Until those changes are included in stock OpenOCD, the version bundled with Arduino can be |
| 77 | +used, or can be installed from the `OpenOCD Arduino Fork`_. When flashing, debugging, etc. you may |
| 78 | +need to include ``--openocd=/usr/local/bin/openocd |
| 79 | +--openocd-search=/usr/local/share/openocd/scripts/`` options to the command. |
| 80 | + |
| 81 | +Flashing |
| 82 | +======== |
| 83 | + |
| 84 | +Connect the XIAO MG24 board to your host computer using the USB port. A USB CDC ACM serial port |
| 85 | +should appear on the host, that can be used to view logs from the flashed application. |
| 86 | + |
| 87 | +Here is an example for the :zephyr:code-sample:`hello_world` application. |
| 88 | + |
| 89 | +.. zephyr-app-commands:: |
| 90 | + :zephyr-app: samples/hello_world |
| 91 | + :board: xiao_mg24 |
| 92 | + :goals: flash |
| 93 | + |
| 94 | +Open a serial terminal (minicom, putty, etc.) connecting to the UCB CDC ACM serial port. |
| 95 | + |
| 96 | +Reset the board and you should see the following message in the terminal: |
| 97 | + |
| 98 | +.. code-block:: console |
| 99 | +
|
| 100 | + Hello World! xiao_mg24 |
| 101 | +
|
| 102 | +
|
| 103 | +.. _XIAO MG24 Wiki: |
| 104 | + https://wiki.seeedstudio.com/xiao_mg24_getting_started/ |
| 105 | + |
| 106 | +.. _BRD4187C User Guide: |
| 107 | + https://www.silabs.com/documents/public/user-guides/ug526-brd4187c-user-guide.pdf |
| 108 | + |
| 109 | +.. _EFR32MG24 Website: |
| 110 | + https://www.silabs.com/wireless/zigbee/efr32mg24-series-2-socs |
| 111 | + |
| 112 | +.. _EFR32MG24 Datasheet: |
| 113 | + https://www.silabs.com/documents/public/data-sheets/efr32mg24-datasheet.pdf |
| 114 | + |
| 115 | +.. _EFR32xG24 Reference Manual: |
| 116 | + https://www.silabs.com/documents/public/reference-manuals/brd4187c-rm.pdf |
| 117 | + |
| 118 | +.. _OpenOCD Arduino Fork: |
| 119 | + https://github.com/facchinm/OpenOCD/tree/arduino-0.12.0-rtx5 |
0 commit comments