|
| 1 | +.. zephyr:board:: xg29_rb4412a |
| 2 | +
|
| 3 | +Overview |
| 4 | +******** |
| 5 | + |
| 6 | +The xG24-RB4412A radio board provides support for the Silicon Labs EFR32MG29 SoC. |
| 7 | + |
| 8 | +Hardware |
| 9 | +******** |
| 10 | + |
| 11 | +- EFR32MG29B140F1024IM40 SoC |
| 12 | +- CPU core: ARM Cortex®-M33 with FPU |
| 13 | +- Flash memory: 1024 kB |
| 14 | +- RAM: 256 kB |
| 15 | +- Transmit power: up to +8 dBm |
| 16 | +- Operation frequency: 2.4 GHz |
| 17 | +- Crystal oscillators for LFXO (32.768 kHz) and HFXO (38.4 MHz) |
| 18 | + |
| 19 | +Supported Features |
| 20 | +================== |
| 21 | + |
| 22 | +The ``xg29_rb4412a`` board target supports the following hardware features: |
| 23 | + |
| 24 | ++-----------+------------+------------------------+ |
| 25 | +| Interface | Controller | Driver/Component | |
| 26 | ++===========+============+========================+ |
| 27 | +| CMU | on-chip | clock control | |
| 28 | ++-----------+------------+------------------------+ |
| 29 | +| MSC | on-chip | flash | |
| 30 | ++-----------+------------+------------------------+ |
| 31 | +| GPIO | on-chip | gpio, pin control | |
| 32 | ++-----------+------------+------------------------+ |
| 33 | +| RTCC | on-chip | system clock, counter | |
| 34 | ++-----------+------------+------------------------+ |
| 35 | +| MPU | on-chip | memory protection unit | |
| 36 | ++-----------+------------+------------------------+ |
| 37 | +| NVIC | on-chip | interrupt controller | |
| 38 | ++-----------+------------+------------------------+ |
| 39 | +| USART | on-chip | serial, spi | |
| 40 | ++-----------+------------+------------------------+ |
| 41 | +| EUSART | on-chip | serial, spi | |
| 42 | ++-----------+------------+------------------------+ |
| 43 | +| I2C | on-chip | i2c | |
| 44 | ++-----------+------------+------------------------+ |
| 45 | +| LDMA | on-chip | dma | |
| 46 | ++-----------+------------+------------------------+ |
| 47 | +| WDOG | on-chip | watchdog | |
| 48 | ++-----------+------------+------------------------+ |
| 49 | +| SE | on-chip | entropy | |
| 50 | ++-----------+------------+------------------------+ |
| 51 | +| RADIO | on-chip | bluetooth | |
| 52 | ++-----------+------------+------------------------+ |
| 53 | + |
| 54 | +Programming and Debugging |
| 55 | +************************* |
| 56 | + |
| 57 | +Applications for the ``xg29_rb4412a`` board target can be built, flashed, and debugged in the |
| 58 | +usual way. See :ref:`build_an_application` and :ref:`application_run` for more details on |
| 59 | +building and running. |
| 60 | + |
| 61 | +Flashing |
| 62 | +======== |
| 63 | + |
| 64 | +As an example, this section shows how to build and flash the :zephyr:code-sample:`hello_world` |
| 65 | +application. |
| 66 | + |
| 67 | +To build and program the sample to the xG24-RB4412A, complete the following steps: |
| 68 | + |
| 69 | +First, plug the xG24-RB4412A to a compatible mainboard and connect the mainboard to your computer |
| 70 | +using the USB port on the left side. |
| 71 | +Next, build and flash the sample by running the following command: |
| 72 | + |
| 73 | +.. zephyr-app-commands:: |
| 74 | + :zephyr-app: samples/hello_world |
| 75 | + :board: xg29_rb4412a |
| 76 | + :goals: build flash |
| 77 | + |
| 78 | +``west flash`` will by default use SEGGER JLink. Make sure that the JLinkExe binary is available on |
| 79 | +the PATH. Alternatively, use ``west flash -r silabs_commander`` to use Simplicity Commander to flash. |
| 80 | +In this case, make sure that the commander binary is available on PATH. |
| 81 | + |
| 82 | +Open a serial terminal (minicom, putty, etc.) with the following settings: |
| 83 | + |
| 84 | +- Speed: 115200 |
| 85 | +- Data: 8 bits |
| 86 | +- Parity: None |
| 87 | +- Stop bits: 1 |
| 88 | + |
| 89 | +Reset the board and you should see the following message in the terminal: |
| 90 | + |
| 91 | +.. code-block:: console |
| 92 | +
|
| 93 | + Hello World! xg29_rb4412a |
| 94 | +
|
| 95 | +Bluetooth |
| 96 | +========= |
| 97 | + |
| 98 | +To use the BLE function, run the command below to retrieve necessary binary |
| 99 | +blobs from the SiLabs HAL repository. |
| 100 | + |
| 101 | +.. code-block:: console |
| 102 | +
|
| 103 | + west blobs fetch hal_silabs |
| 104 | +
|
| 105 | +Then build the Zephyr kernel and a Bluetooth sample with the following |
| 106 | +command. The :zephyr:code-sample:`bluetooth_observer` sample application is used in |
| 107 | +this example. |
| 108 | + |
| 109 | +.. zephyr-app-commands:: |
| 110 | + :zephyr-app: samples/bluetooth/observer |
| 111 | + :board: xg29_rb4412a |
| 112 | + :goals: build |
0 commit comments