EFR32xG21B 2.4 GHz 10 dBm (xG21-RB4195B)

Overview

The EFR32xG21B +10 dBm Radio Board is the radio board delivered with the EFR32xG21 Pro Kit +10 dBm, and is also available standalone. It contains a Wireless System-On-Chip from the EFR32MG21B family built on an ARM Cortex®-M33 processor with excellent low power capabilities.

The radio board plugs into the Wireless Pro Kit Mainboard BRD4002A and is supported in Zephyr as one of several Radio Boards.

Hardware

  • EFR32MG21B010F1024IM32 Mighty Gecko SoC

  • CPU core: ARM Cortex®-M33 with FPU

  • Flash memory: 1024 kB

  • RAM: 96 kB

  • Transmit power: up to +10 dBm

  • Operation frequency: 2.4 GHz

  • Inverted-F PCB antenna

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

For more information about the EFR32MG21 SoC and BRD4195B board, refer to these documents:

Supported Features

The xg21_rb4195b 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.

Connections and IOs

The following table describes the connections provided by the BRD4002A mainboard when the BRD4195B radio board is mounted.

Name

Function

Usage

PA0

GPIO

Display EXTCOMIN

PA3

SWO

Serial wire trace

PA5

USART0_TX

Virtual COM port transmit

PA6

USART0_RX

Virtual COM port receive

PB0

GPIO

Push button 0

PB1

GPIO

Push button 1

PC0

USART2_TX

Display serial data

PC2

USART2_CLK

Display serial clock

PC3

GPIO

Display chip select

PC4

PTI_DOUT

Packet Trace Interface data

PC5

PTI_DFRAME

Packet Trace Interface frame

PD2

TIMER0_CC0

LED0 and PWM LED0

PD3

TIMER0_CC1

LED1 and PWM LED1

PD4

GPIO

Board controller enable

System Clock

The EFR32MG21B SoC is configured to use the HFRCODPLL oscillator at 80 MHz as the system clock, locked to the 38.4 MHz external crystal oscillator on the board.

Serial Port

The EFR32MG21B SoC has three USARTs. USART0 is connected to the board controller and is used for the console.

Programming and Debugging

The xg21_rb4195b board supports the runners and associated west commands listed below.

flash debug

Flashing

Connect the BRD4002A board with a mounted BRD4195B radio board to your host computer using the USB port.

Here is an example for the Hello World application.

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

Open a serial terminal (minicom, putty, etc.) with the following settings:

  • Speed: 115200

  • Data: 8 bits

  • Parity: None

  • Stop bits: 1

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

Hello World! xg21_rb4195b

Bluetooth

To use Bluetooth functionality, run the command below to retrieve necessary binary blobs from the Silicon Labs HAL repository.

west blobs fetch hal_silabs

Then build the Zephyr kernel and a Bluetooth sample with the following command. The Observer sample application is used in this example.

# From the root of the zephyr repository
west build -b xg21_rb4195b samples/bluetooth/observer