EFR32BG22 Explorer Kit (BG22-EK4108A)
Overview
The EFR32BG22 Explorer Kit (BG22-EK4108A) contains a Wireless System-On-Chip from the EFR32BG22 family built on an ARM Cortex®-M33 processor with excellent low power capabilities.
Hardware
EFR32BG22C224F512IM40 Mighty Gecko SoC
CPU core: ARM Cortex®-M33 with FPU
Flash memory: 512 kB
RAM: 32 kB
Transmit power: up to +6 dBm
Operation frequency: 2.4 GHz
Crystal for HFXO (38.4 MHz)
For more information about the EFR32BG22 SoC and BRD4108A board, refer to these documents:
Supported Features
The bg22_ek4108a 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
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 |
|---|---|---|
PA4 |
GPIO |
LED0 |
PC7 |
GPIO |
Push Button 0 |
PA5 |
USART1_TX |
UART Console VCOM_TX US0_TX |
PA6 |
USART1_RX |
UART Console VCOM_RX US0_RX |
System Clock
The EFR32BG22 SoC is configured to use the 38.4 MHz external oscillator on the board, and can operate a clock speeds of up to 76.8 MHz.
Serial Port
The EFR32BG22 SoC has two USARTs and one EUART. USART1 is connected to the board controller and is used for the console.
Programming and Debugging
The bg22_ek4108a board supports the runners and associated west commands listed below.
| flash | debug |
|---|
Note
Before using the kit the first time, you should update the J-Link firmware in Simplicity Studio.
Flashing
The sample application Hello World is used for this example. Build the Zephyr kernel and application:
# From the root of the zephyr repository
west build -b bg22_ek4108a samples/hello_world
Connect the bg22_ek4108a to your host computer using the USB port and you should see a USB connection.
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’ll see the following message on the corresponding serial port terminal session:
Hello World! bg22_ek4108a/efr32bg22c224f512im40
Bluetooth
To use the BLE function, run the command below to retrieve necessary binary blobs from the SiLabs 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 bg22_ek4108a samples/bluetooth/observer