The EFR32 Flex Gecko Wireless Starter Kit SLWSTK6061A contains a Wireless System-On-Chip from the EFR32FG family built on an ARM® Cortex®-M4F processor with excellent low power capabilities.
The SLWRB4250B radio board plugs into the Wireless Starter Kit Mainboard BRD4001A.
Wireless Starter Kit Mainboard:
- Advanced Energy Monitoring provides real-time information about the energy consumption of an application or prototype design.
- Ultra-low power 128x128 pixel memory LCD
- 2 user buttons and 2 LEDs
- Si7021 Humidity and Temperature Sensor
- On-board Segger J-Link USB and Ethernet debugger
- EFR32FG1P133F256GM48 Flex Gecko SoC
- 8Mbit SPI NOR Flash
For more information about the EFR32FG1 SoC and EFR32-SLWSTK6061A board, refer to these documents:
- EFR32FG Website
- EFR32FG1 Datasheet
- EFR32xG1 Reference Manual
- EFR32-SLWSTK6061A Website
- EFR32-SLWSTK6061A User Guide
- WSTK Main Board BRD4001A Schematics
- EFR32FG1-BRD4250B Schematics
The efr32_slwstk6061a board configuration supports the following hardware features:
|NVIC||on-chip||nested vector interrupt controller|
|UART||on-chip||serial port-polling; serial port-interrupt|
The default configuration can be found in the defconfig file:
Other hardware features are currently not supported by the port.
Connections and IOs¶
The EFR32FG1P SoC has five GPIO controllers (PORTA to PORTD and PORTF). All of them are enabled for the EFR32-SLWSTK6061A board.
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.
|PF6||GPIO||Push Button PB0|
|PF7||GPIO||Push Button PB1|
|PA5||GPIO||Board Controller Enable EFM_BC_EN|
|PA0||USART0_TX||UART Console EFM_BC_TX US0_TX #0|
|PA1||USART0_RX||UART Console EFM_BC_RX US0_RX #0|
The EFR32FG1P SoC is configured to use the 38.4 MHz external oscillator on the board.
The EFR32FG1P SoC has two USARTs and one Low Energy UARTs (LEUART). USART0 is connected to the board controller and is used for the console.
Programming and Debugging¶
Before using the kit the first time, you should update the J-Link firmware from J-Link-Downloads
The EFR32-SLWSTK6061A includes an J-Link serial and debug adaptor built into the board. The adaptor provides:
- A USB connection to the host computer, which exposes a debug interface and a USB Serial Port.
- A physical UART connection which is relayed over interface USB Serial port.
- An Ethernet connection to support remote debugging.
It is compatible with the following host debug tools:
OpenOCD is included in the Zephyr SDK. Refer to the links above for information on how to install required host debug tools if you are not using the Zephyr SDK.
Connect the EFR32-SLWSTK6061A board to your host computer using the USB port.
Here is an example for the Hello World application.
# On Linux/macOS cd $ZEPHYR_BASE/samples/hello_world mkdir build && cd build # On Windows cd %ZEPHYR_BASE%\samples\hello_world mkdir build & cd build # Use cmake to configure a Ninja-based build system: cmake -GNinja -DBOARD=efr32_slwstk6061a .. # Now run ninja on the generated build system: ninja 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! efr32_slwstk6061a