UG621: EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Radio Board User's Guide

This document describes how to use the BRD4412A Radio Board together with a Wireless Starter Kit Mainboard.

1. Introduction

The EFR32xG29 Wireless Gecko Wireless SoC is featured on a radio board that plugs directly into a Wireless Starter Kit (Wireless STK) Mainboard or a Wireless Pro Kit Mainboard. The mainboards feature several tools for easy evaluation and development of wireless applications. An on-board J-Link debugger enables programming and debugging on the target device over USB or Ethernet. The Advanced Energy Monitor (AEM) offers real-time current and voltage monitoring. A virtual COM port interface (VCOM) provides an easy-to-use serial port connection over USB or Ethernet. The Packet Trace Interface (PTI) offers invaluable debug information about transmitted and received packets in wireless links. All debug functionality, including AEM, VCOM, and PTI, can also be used towards external target hardware instead of the attached radio board.

To further enhance its usability, the mainboard contains sensors and peripherals that demonstrate some of the many capabilities of the EFR32xG29. The mainboard also has a 20-pin EXP header that can be used for connecting EXP boards to the kit or for easy connection to I/Os on the radio board target IC.

1.1 Radio Boards

A Wireless Starter Kit consists of one or more mainboards and radio boards that plug into the mainboard. Different radio boards are available, each featuring different Silicon Labs devices with different operating frequency bands. Because the mainboards are designed to work with different radio boards, the actual pin mapping from a device pin to a mainboard feature is done on the radio board. This means that each radio board has its own pin mapping to the Wireless STK features, such as buttons, LEDs, the display, the EXP header, and the breakout pads. Because this pin mapping is different for every radio board, it is important to consult the correct document, which shows the kit features in context of the radio board plugged in.

1.2 Mainboards

The EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Radio Board (BRD4412A) can be used with either a Wireless Starter Kit Mainboard (BRD4001A) or a Wireless Pro Kit Mainboard (BRD4002A). The Wireless Pro Kit Mainboard is the successor to the Wireless Starter Kit Mainboard, which comes with some improvements and added features including increased AEM measurement range and sample rate, variable VMCU voltage, joystick, a logic analyzer, and a Mini Simplicity Connector. Kit features, such as the Si7021 sensor and the EXP header, are available on the same EFR32xG29 pins regardless of the mainboard being used, but the pinout to the breakout pads differs. The combination of the EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Radio Board with either one of these mainboards is hereby referred to as a Wireless Starter Kit.

Figure 1.1. Wireless STK Combinations

This document explains how to use the Wireless STK when the EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Radio Board (BRD4412A) is combined with either a Wireless Starter Kit Mainboard (BRD4001A) or a Wireless Pro Kit Mainboard (BRD4002A). Because some of the functionality of the kit depends on the type of mainboard used, it is important to consult the information specific to that mainboard in the user guide whenever there are discrepancies.

1.3 Ordering Information

BRD4412A can be obtained as part of the xG29-PK6034A Pro Kit or as a separate radio board, xG29-RB4412A.

Table 1.1. Ordering Information
Part Number Description Contents
xG29-PK6034A EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Pro Kit 1x BRD4002A Wireless Pro Kit Mainboard
1x BRD4412A EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Radio Board
1x Battery Holder
1x Flat Cable 10p 150mm
1x 4-wire Harness for Mainboard Logic Analyzer
2x 2x16 Dual-row Pin Header
xG29-RB4412A EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Radio Board 1x BRD4412A EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Radio Board

Note: Kit content in the table refers to xG29-PK6034A Rev. A01 and xG29-RB4412A Rev. A01 and may vary between revisions. For information about kit revision changes, see Section 11. Kit Revision History.

1.4 Getting Started

For detailed instructions on how to get started, see the Silicon Labs Hardware Development Tools page at www.silabs.com/dev-tools.

2. Hardware Overview

2.1 Hardware Layout

The layout of the Wireless STK when the EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck radio board is combined with a Wireless Pro Kit Mainboard (BRD4002A) or a Wireless STK Mainboard (BRD4001A) is shown below.

Figure 2.1. Hardware Layout With A Wireless Pro Kit Mainboard (BRD4002A)
Figure 2.2. Hardware Layout With A Wireless STK Mainboard (BRD4001A)

2.2 Block Diagram

A block diagram of the EFR32xG29 Wireless 2.4 GHz +8 dBm DCDC Buck Wireless STK is shown below.

Figure 2.3. Kit Block Diagram

3. Connectors

This chapter gives you an overview of the mainboard connectivity. The placement of the connectors on the Wireless Pro Kit Mainboard (BRD4002A) and the Wireless STK Mainboard (BRD4001A) is shown below.

Figure 3.1. Wireless Pro Kit Mainboard (BRD4002A) Connector Layout
Figure 3.2. Wireless STK Mainboard (BRD4001A) Connector Layout

3.1 J-Link USB Connector

The J-Link USB connector is situated on the left side of the mainboard and provides access to the kit features as described in Section 6. Board Controller through the USB interface. In addition to providing access to development features of the kit, this USB connector is also the main power source for the kit, powering both the board controller and the AEM as described in Section 4. Power Supply and Reset.

3.2 Ethernet Connector

The Ethernet connector is situated on the left side of the mainboard and provides access to the kit features described in Section 6. Board Controller over TCP/IP. The J-Link USB connector must be connected while using this interface to provide power to the Wireless STK because power is not supplied over the Ethernet connector.

3.3 Breakout Pads

Most of the EFR32 pins are routed from the radio board to breakout pads at the top and bottom edges of the mainboard. A 2.54 mm pitch pin header can be soldered on for easy access to the pins. The following figures show how the EFR32 pins map to the pin numbers printed on the breakout pads on the Wireless Pro Kit Mainboard (BRD4002A) and the Wireless STK Mainboard (BRD4001A). To see the available functions on each pin, refer to the data sheet for EFR32MG29B140F1024IM40.

Note: Pinout to the breakout pads depends on the mainboard being used.

Figure 3.3. Wireless Pro Kit Mainboard (BRD4002A) Breakout Pad Pin Mapping
Figure 3.4. Wireless STK Mainboard (BRD4001A) Breakout Pad Pin Mapping

3.4 EXP Header

The EXP header is an angled, 20-pin header that allows connection of peripherals or plugin boards to the kit. It is located on the right-hand side of the mainboard and contains several I/O pins that can be used with most of the EFR32's features. Additionally, the VMCU, 3V3, and 5V power rails are also exposed.

The pin-out is standardized so commonly used peripherals, such as SPI, UART, and I2C, are available on fixed locations. The remaining pins are assigned to general purpose IO. This allows the definition of EXP boards that can be used with most radio boards.

The figure below shows the pin assignment of the EXP header.

Figure 3.5. EXP Header

3.4.1 EXP Header Pinout

The pin-routing on the EFR32 is very flexible, so most peripherals can be routed to any pin. However, many pins are shared between the EXP header and other functions on the mainboard. The table below includes an overview of the mainboard features that share pins with the EXP header.

Table 3.1. EXP Header Pinout
Pin Connection EXP Header Function Shared Feature Peripheral Mapping
20 3V3 Board controller supply
18 PB03 I2C_SDA SENSOR_SDA I2C0_SDA
16 PA06 UART_RX VCOM_RX USART1_RX
14 PA05 UART_TX VCOM_TX USART1_TX
12 PC03 SPI_CS USARTO_CS
10 PC02 SPI_SCLK DISP_SCLK, FLASH_SCLK USART0_CLK
8 PC01 SPI_MISO FLASH_MISO USARTO_RX
6 PC00 SPI_MOSI DISP_MOSI, FLASH_MOSI USART0_TX
4 PC00 SPI_MOSI DISP_MOSI, FLASH_MOSI USART0_TX
2 VMCU EFR32 voltage domain, included in AEM measurements.
19 BOARD_ID_SDA Connected to board controller for identification of add-on boards.
17 BOARD_ID_SCL Connected to board controller for identification of add-on boards.
15 PB02 I2C_SCL SENSOR_SCL I2C0_SCL
13 PA08 GPIO
11 NC (Can be connected to PD03) GPIO
9 PB01 GPIO UIF_BUTTON1, UIF_LED1
7 PB00 GPIO UIF_BUTTON0, UIF_LEDO
5 NC (Can be connected to PC03) GPIO
3 NC (Can be connected to PC01) GPIO
1 GND Ground

3.5 Logic Analyzer Connector

The Wireless Pro Kit Mainboard includes an on-board, eight-channel logic analyzer. It enables four digital signals to be sampled and displayed in Simplicity Studio in addition to the state of the on-board user interface LEDs and buttons. The logic analyzer is a useful tool for correlating specific events to the AEM energy profile and packet trace data as these are time-synchronized and can be visualized together. The sampling rate of 100 kHz limits its use in decoding digital protocols like I2C or SPI.

The logic analyzer connector is situated on the top-right side of the Wireless Pro Kit Mainboard. Four signals (channel 0-3) can be connected to the logic analyzer using this connector and the test probes that are obtainable through the "Si-DA001A Pro Kit Mainboard Accessory Kit". The test probes can be connected to the kit itself or on an external board connected to the Wireless Pro Kit Mainboard. Note that in both cases, the connected signals must be digital, and the voltages referenced to ground and VMCU on the Wireless Pro Kit Mainboard.

Note: The logic analyzer is only available on the Wireless Pro Kit Mainboard (BRD4002A). Test probes are not included with all Pro Kits. If needed, they can be obtained separately as Si-DA001A Pro Kit Mainboard Accessory Kit.

Table 3.2. Logic Analyzer Signal Description
Type Channel Description
External signal 0 Connector (ch0)
1 Connector (ch1)
2 Connector (ch2)
3 Connector (ch3)
Internal signal 4 LEDO
5 LED1
6 BTNO
7 BTN1

3.6 Debug Connector

The debug connector serves multiple purposes based on the "debug mode" setting which can be configured in Simplicity Studio. When the debug mode is set to "Debug IN", the debug connector can be used to connect an external debugger to the EFR32 on the radio board. When set to "Debug OUT", this connector allows the kit to be used as a debugger towards an external target. When set to "Debug MCU" (default), the connector is isolated from both the on-board debugger and the radio board target device.

Because this connector is electronically switched between the different operating modes, it can only be used when the board controller is powered (i.e., J-Link USB cable connected). If debug access to the target device is required when the board controller is unpowered, connect directly to the appropriate breakout pins.

The pinout of the connector follows that of the standard ARM Cortex Debug+ETM 19-pin connector. The pinout is described in detail below. Even though the connector has support for both JTAG and ETM Trace, it does not necessarily mean that the kit or the on-board target device supports these features.

Figure 3.6. Debug Connector

Note: The pinout matches the pinout of an ARM Cortex Debug+ETM connector, but these are not fully compatible because pin 7 is physically removed from the Cortex Debug+ETM connector. Some cables have a small plug that prevents them from being used when this pin is present. If this is the case, remove the plug or use a standard 2x10 1.27 mm straight cable instead.

Table 3.3. Debug Connector Pin Descriptions
Pin Number(s) Function Description
1 VTARGET Target reference voltage. Used for shifting logical signal levels between target and debugger.
2 TMS / SWDIO / C2D JTAG TMS, Serial Wire data I/O, or C2 data
4 TCK / SWCLK / C2CK JTAG TCK, Serial Wire clock, or C2 clock
6 TDO / SWO JTAG TDO, or Serial Wire output
8 TDI / C2Dps JTAG TDI or C2D pin sharing function
9 GNDDetect Can be used by target system for debugger presence detection.
10 RESET / C2CKps Target CPU reset or C2CK pin sharing function
12 TRACECLK ETM trace clock pin
14 TRACEDO Trace data output pin 0
16 TRACED1 Trace data output pin 1
18 TRACED2 Trace data output pin 2
20 TRACED3 Trace data output pin 3
7, 11, 13 NC Not connected
3, 5, 15, 17, 19 GND Ground

3.7 Simplicity Connector

The Simplicity Connector enables the advanced debugging features, such as the AEM, the virtual COM port, and the Packet Trace Interface, to be used towards an external target. The pinout is illustrated in the figure below.

Figure 3.7. Simplicity Connector

Note: Current drawn from the VMCU voltage pin is included in the AEM measurements, while the 3V3 and 5V voltage pins are not. When monitoring the current consumption of an external target with the AEM, unplug the radio board from the mainboard to avoid adding the radio board's current consumption to the measurements.

Table 3.4. Simplicity Connector Pin Descriptions
Pin Number(s) Function Description
1 VMCU VMCU power rail, monitored by the AEM
3 3V3 3V3 power rail
5 5V 5V power rail
2 VCOM_TX Virtual COM Tx
4 VCOM_RX Virtual COM Rx
6 VCOM_CTS Virtual COM CTS
8 VCOM_RTS Virtual COM RTS
10 PTIO_SYNC Packet Trace 0 Sync
12 PTIO_DATA Packet Trace 0 Data
14 PTIO_CLK Packet Trace 0 Clock
16 PTI1_SYNC Packet Trace 1 Sync
18 PTI1_DATA Packet Trace 1 Data
20 PTI1_CLK Packet Trace 1 Clock
17 BOARD_ID_SCL Board ID SCL
19 BOARD_ID_SDA Board ID SDA
7, 9, 11, 13, 15 GND Ground

3.8 Mini Simplicity Connector

The Mini Simplicity Connector on the Wireless Pro Kit Mainboard offers advanced debugging features on a 10-pin connector to be used towards an external target. The Mini Simplicity Connector offers the following features:

Figure 3.8. Mini Simplicity Connector

Note: Current drawn from the VMCU voltage pin is included in the AEM measurements. When monitoring the current consumption of an external target with the AEM, unplug the radio board from the Wireless Pro Kit Mainboard to avoid adding the radio board's current consumption to the measurements.

Table 3.5. Mini Simplicity Connector Pin Descriptions
Pin Number(s) Function Description
1 VMCU Target voltage on the debugged application. Supplied and monitored by the AEM when power selection switch is in the "AEM" position.
2 GND Ground
3 RESET Target device reset
4 VCOM_RX Virtual COM Rx
5 VCOM_TX Virtual COM Tx
6 SWO Serial Wire Output
7 SWDIO Serial Wire Data
8 SWCLK Serial Wire Clock
9 PTI_FRAME Packet Trace Frame Signal
10 PTI_DATA Packet Trace Data Signal

Note: Mini Simplicity Connector pin-out is referenced from the device target side (i.e., VCOM_RX is output from the board controller and input to the connected device).

3.9 Debug Adapter

The BRD8010A STK/WSTK Debug Adapter is an adapter board that plugs directly into the debug connector and the Simplicity Connector on the mainboard. It combines selected functionality from the two connectors to a smaller footprint 10-pin connector, which is more suitable for space-constrained designs.

For versatility, the debug adapter features three different 10-pin debug connectors:

The ARM Cortex 10-pin Debug Connector follows the standard Cortex pinout defined by ARM and allows the Wireless STK to be used to debug hardware designs that use this connector.

The ISA3 connector follows the same pinout as the Packet Trace connector found on the Silicon Labs Ember Debug Adapter (ISA3). This enables using the Wireless STK to debug hardware designs that use this connector.

The Mini Simplicity Connector is designed to offer advanced debug features from the kit on a 10-pin connector. The connector has the same pinout and functionality as described in 3.8 Mini Simplicity Connector. It is only necessary to use the debug adapter to get access to the Mini Simplicity Connector when using the Wireless STK Mainboard (BRD4001A). If using the Wireless Pro Kit Mainboard (BRD4002A), use the Mini Simplicity Connector on the mainboard instead.

4. Power Supply and Reset

4.1 Radio Board Power Selection

The EFR32 on a Wireless STK can be powered by one of these sources:

The power source for the radio board is selected with the slide switch in the lower-left corner of the Wireless STK Mainboard or the Wireless Pro Kit Mainboard. The following figure shows how the different power sources can be selected with the slide switch.

Figure 4.1. Power Switch

Note: The middle position is denoted by "USB" on the Wireless STK Mainboard, while it is denoted by "SELF" on the Wireless Pro Kit Mainboard. The slide switch functions the same on both mainboards.

Note: The AEM can only measure the current consumption of the EFR32 when the power selection switch is in the AEM position.

AEM position: With the switch in the AEM position, a low-noise LDO on the mainboard is used to power the radio board. This LDO is again powered from the debug USB cable. The AEM is now also connected in series, allowing accurate, high-speed current measurements and energy debugging/profiling.

USB position: With the switch in the USB position, radio boards with USB-support can be powered by a regulator on the radio board itself. BRD4412A does not contain a USB regulator, and setting the switch in the USB position will cause the EFR32 to be unpowered.

BAT position: With the switch in the BAT position, a 20 mm coin cell battery in the CR2032 socket can be used to power the device. With the switch in this position, no current measurements are active. This is the switch position that should be used when the radio board is powered with an external power source. The Wireless Pro Kit Mainboard (BRD4002A) features an additional 2-pin JST connector connected in parallel to the CR2032 socket that can be used with an external power source between 1.8 V and 3.6 V instead of a coin cell. The coin cell battery is not protected from reverse current, and it is therefore important to remove the coin cell battery from the CR2032 socket if applying external power.

Note: The current sourcing capabilities of a coin cell battery might be too low to supply certain wireless applications.

4.2 Kit Power

There are normally two main contributions to the power consumption from the mainboard USB connector (i.e., two main current paths):

While the current consumption of the board controller section is fairly deterministic and stable, the current consumption connected to the target's power domain (VMCU) varies widely depending on the application and the slide switch position. Typically, the board controller power domain draws 200 mA on the Wireless Starter Kit Mainboard (BRD4001A) and 250 mA on the Wireless Pro Kit Mainboard (BRD4002A). The mainboards use linear regulators, and the recommended input voltage is 4.4 - 5.25 V. Use a USB host or power supply and cables that can deliver at least the total amount of current required by the kit.

The 5V net exposed on the breakout pads, EXP header, and radio board is also sourced from the mainboard USB connector when the power select switch is in the AEM position. The 3V3 net exposed on the same peripherals is always sourced from the mainboard USB connector. The current consumption of these nets must be included in the total current consumption of the kit if these are used.

4.2.1 Board Controller Power

The board controller is responsible for important features, such as the debugger and the AEM, and is powered exclusively through the USB port in the upper-left corner of the board. This part of the kit resides on a separate power domain, so a different power source can be selected for the target device while retaining debugging functionality. This power domain is also isolated to prevent current leakage from the target power domain when power to the board controller is removed.

The board controller power domain is not influenced by the position of the power switch.

The kit has been carefully designed to keep the board controller and the target power domains isolated from each other as one of them powers down. This ensures that the target EFR32 device will continue to operate in the BAT mode.

4.2.2 AEM Power

The supply for the target power domain (VMCU) is a linear regulator integrated with the AEM described in Section 7. Advanced Energy Monitor when the power select switch is in the AEM position. The output voltage of the regulator is fixed to 3.3 V on the Wireless STK Mainboard (BRD4001A), while it can be adjusted between 1.8 V and 3.6 V on the Wireless Pro Kit Mainboard (BRD4002A) using the admin console.

The output current on the Wireless Pro Kit Mainboard (BRD4002A) is limited by an overcurrent protection (OCP) function, which depends on the programmed VMCU voltage: OCP (A) ≈ VMCUSET (V) x 0.2 (A/V). Approaching or exceeding the OCP limit is not recommended because the output voltage will be pulled low, which causes loss of function.

The maximum recommended output current on the Wireless STK Mainboard (BRD4001A) is 300 mA.

4.3 Target Power

The EFR32 on the BRD4412A is a DCDC Buck mode device, so its main (VBAT) supply is 3.3 V of the VMCU power domain. VMCU is also connected to the analog (AVDD) and IO (IOVDD) supply pins. The radio section of the EFR32 (RFVDD, PAVDD) is powered by 1.8 V provided by the EFR32 DCDC output.

4.4 Target Reset

The EFR32 Wireless SoC can be reset by a few different sources:

In addition to these reset sources, a reset to the EFR32 will also be issued during board controller boot-up. This means that removing power to the board controller (unplugging the J-Link USB cable) will not generate a reset but plugging the cable back in will as the board controller boots up.

5. Peripherals

The Wireless STK has a set of peripherals that showcase some of the EFR32 features.

Note that most EFR32 I/Os routed to peripherals are also routed to the breakout pads or the EXP header, which must be taken into consideration when using these I/Os.

5.1 Push Buttons and LEDs

The kit has two user push buttons, marked BTNO and BTN1, and two yellow LEDs, marked LED0 and LED1.

BTN0 and LED0 share the connection to GPIO pin PB00, and BTN1 and LED1 are both connected to PB01.

To use the push buttons as inputs to the EFR32, each button's GPIO pin must be configured as an input. Configure the pins as outputs to control the LEDs. Note that LEDs are connected to GPIO pins in an active-low configuration.

The push buttons are debounced by RC filters with a time constant of 1 ms.

Figure 5.1. Buttons/LEDs

5.2 Memory LCD-TFT Display

A 1.28-inch SHARP Memory LCD-TFT is available on the kit to enable interactive applications to be developed. The display has a high resolution of 128 x 128 pixels and consumes very little power. It is a reflective monochrome display, so each pixel can only be light or dark, and no backlight is needed in normal daylight conditions. Data sent to the display is stored in the pixels on the glass, which means no continuous refreshing is required to maintain a static image.

The display interface consists of a SPI-compatible serial interface and some extra control signals. Pixels are not individually addressable. Instead, data is sent to the display one line (128 bits) at a time.

The Memory LCD-TFT display is shared with the kit's board controller, allowing the board controller application to display useful information when the user application is not using the display. The user application always controls ownership of the display with the DISP_ENABLE signal:

Power to the display is sourced from the target application power domain when the EFR32 controls the display and from the board controller's power domain when the DISP_ENABLE line is low. Data is clocked in on DISP_SI when DISP_CS is high, and the clock is sent on DISP_SCLK. The maximum supported clock speed is 1.1 MHz.

DISP_EXTCOMIN is the "COM Inversion" line. It must be pulsed periodically to prevent static build-up in the display itself. Refer to the LS013B7DH03 documentation for more information on driving the display.

Figure 5.2. 128x128 Pixel Memory LCD

5.3 Serial Flash

The BRD4412A Radio Board is equipped with an 8 Mbit Macronix MX25R SPI flash that is connected directly to the EFR32. The following figure shows how the serial flash is connected to the EFR32.

Figure 5.3. Radio Board Serial Flash

The MX25R series are ultra-low-power serial flash devices, so there is no need for a separate enable switch to keep current consumption down. However, it is important that the flash is always put in deep power down mode when not used. This is done by issuing a command over the SPI interface. In deep power down, the MX25R typically adds approximately 100 nA to the radio board current consumption.

5.4 Si7021 Relative Humidity and Temperature Sensor

The Si7021 I2C relative humidity and temperature sensor is a monolithic CMOS IC that integrates humidity and temperature sensor elements, an analog-to-digital converter, signal processing, calibration data, and an I2C Interface. The patented use of industry-standard, low-K polymeric dielectrics for sensing humidity enables the construction of low-power, monolithic CMOS Sensor ICs with low drift and hysteresis and excellent long-term stability.

The humidity and temperature sensors are factory-calibrated, and the calibration data is stored in the on-chip, non-volatile memory. This ensures that the sensors are fully interchangeable with no recalibration or software changes required.

The Si7021 is available in a 3x3 mm DFN package and is reflow solderable. It can be used as a hardware and software-compatible, drop-in upgrade for existing RH/temperature sensors in 3x3 mm DFN-6 packages, featuring precision sensing over a wider range and lower power consumption. The optional factory-installed cover offers a low-profile, convenient means of protecting the sensor during assembly (for example, reflow soldering) and throughout the life of the product, excluding liquids (hydrophobic/oleophobic) and particulates.

The Si7021 offers an accurate, low-power, factory-calibrated digital solution ideal for measuring humidity, dew point, and temperature in applications ranging from HVAC/R and asset tracking to industrial and consumer platforms.

The I2C bus used for the Si7021 is shared with the EXP header. The temperature sensor is normally isolated from the I2C line. To use the sensor, SENSOR_ENABLE must be set high. When enabled, the sensor's current consumption is included in the AEM measurements.

Figure 5.4. Si7021 Relative Humidity and Temperature Sensor

For more information, see the Silicon Labs Humidity and Sensors page at www.silabs.com/humidity-sensors.

5.5 Virtual COM Port

An asynchronous serial connection to the board controller is provided for application data transfer between a host PC and the target EFR32. This eliminates the need for an external serial port adapter.

Figure 5.5. Virtual COM Port Interface

The virtual COM port consists of a physical UART between the target device and the board controller and a logical function in the board controller that makes the serial port available to the host PC over USB or Ethernet. The UART interface consists of four pins and an enable signal.

Table 5.1. Virtual COM Port Interface Pins
Signal Description
VCOM_TX Transmit data from the EFR32 to the board controller
VCOM_RX Receive data from the board controller to the EFR32
VCOM_CTS Clear to Send hardware flow control input, asserted by the board controller when it is ready to receive more data
VCOM_RTS Request to Send hardware flow control output, asserted by the EFR32 when it is ready to receive more data
VCOM_ENABLE Enables the VCOM interface, allowing data to pass through to the board controller

The parameters of the serial port, such as baud rate or flow control, can be configured using the admin console. The default settings depend on which radio board is used with the mainboard.

Note: The VCOM port is only available when the board controller is powered, which requires the J-Link USB cable to be inserted.

Note: There may be slight differences on the terminal prompt and settings between the Wireless Starter Kit Mainboard and the Wireless Pro Kit Mainboard.

5.5.1 Host Interfaces

Data can be exchanged between the board controller and the target device through the VCOM interface, which is then available to the user in two different ways:

When connecting via USB, the device should automatically show up as a COM port. The actual device name that is associated with the kit depends on the operating system and how many devices are or have been connected previously. The following are examples of what the device might show up as:

Data sent by the target device into the VCOM interface can be read from the COM port, and data written to the port is transmitted to the target device. Connecting to the Wireless STK on port 4901 gives access to the same data over TCP/IP. Data written into the VCOM interface by the target device can be read from the socket, and data written into the socket is transmitted to the target device.

Note: Only one of these interfaces can be used at the same time, with the TCP/IP socket taking priority. This means that if a socket is connected to port 4901, no data can be sent or received on the USB COM port.

5.5.2 Serial Configuration

By default, the VCOM serial port is configured to use 115200 8N1 (115.2 kbit/s, 8 data bits, 1 stop bit) with flow control disabled/ignored. The configuration can be changed using the admin console:

WPK> serial vcom config

Using this command, the baud rate can be configured between 9600 and 921600 bit/s, and hardware handshake can be enabled or disabled on either or both flow control pins.

5.5.3 Hardware Handshake

The VCOM peripheral supports basic RTS/CTS flow control.

VCOM_CTS (target clear to send) is a signal that is output from the board controller and input to the target device. The board controller de-asserts this pin whenever its input buffer is full and it is unable to accept more data from the target device. If hardware handshake is enabled in the target firmware, its UART peripheral will halt when data is not being consumed by the host. This implements end-to-end flow control for data moving from the target device to the host.

VCOM_CTS is connected to the RTS pin on the board controller and is enabled by setting handshake to either RTS or RTSCTS using the "serial vcom config" command.

VCOM_RTS (target request to send) is a signal that is output from the target device and input to the board controller. The board controller will halt transmission of data towards the target if the target device de-asserts this signal. This gives the target firmware a means to hold off incoming data until it can be processed. Note that de-asserting RTS will not abort the byte currently being transmitted, so the target firmware must be able to accept at least one more character after RTS is de-asserted.

VCOM_RTS is connected to the CTS pin of the board controller. It is enabled by setting handshake to either CTS or RTSCTS using the "serial vcom config" command in the admin console. If CTS flow control is disabled, the state of VCOM_RTS will be ignored and data will be transmitted to the target device anyway.

Table 5.2. Hardware Handshake Configuration
Mode Description
disabled RTS (VCOM_CTS) is not driven by the board controller and CTS (VCOM_RTS) is ignored.
rts RTS (VCOM_CTS) is driven by the board controller to halt target from transmitting when input buffer is full. CTS (VCOM_RTS) is ignored.
cts RTS (VCOM_CTS) is not driven by the board controller. Data is transmitted to the target device if CTS (VCOM_RTS) is asserted and halted when de-asserted.
rtscts RTS (VCOM_CTS) is driven by the board controller to halt target when buffers are full. Data is transmitted to the target device if CTS (VCOM_RTS) is asserted and halted when de-asserted.

Note: Enabling CTS flow control without configuring the VCOM_RTS pin can result in no data being transmitted from the host to the target device.

6. Board Controller

6.1 Introduction

The Wireless STK Mainboard and the Wireless Pro Kit Mainboard contain a dedicated microcontroller for some of the advanced kit features provided. This microcontroller is referred to as the board controller and is not programmable by the user. The board controller acts as an interface between the host PC and the target device on the radio board, as well as handling some housekeeping functions on the board.

Note: This chapter describes the board controller on both the Wireless Starter Kit Mainboard and the Wireless Pro Kit Mainboard. There might be slight differences between these two boards, such as the exact menu and format on the admin console, not highlighted in this chapter. The logic analyzer is only available on BRD4002A.

Some of the kit features actively managed by the board controller are:

Silicon Labs publishes updates to the board controller firmware in the form of firmware upgrade packages. These updates may enable new features or fix issues. See Section 9.1 Firmware Upgrades for details on firmware upgrade.

6.2 Admin Console

The admin console is a command line interface to the board controller on the kit. It provides functionality for configuring the kit behavior and retrieving configuration and operational parameters.

6.2.1 Connecting

The admin console is available when the Wireless STK is connected to Ethernet using the Ethernet connector in the upper-left corner of the mainboard. See Section 8.1.2 Ethernet Interface for details about Ethernet connectivity.

Connect to the admin console by opening a telnet connection to the kit's IP address, port number 4902.

When successfully connected, a WPK> prompt is displayed.

6.2.2 Built-in Help

The admin console has a built-in help system which is accessed by the help command. The help command will print a list of all toplevel commands:

WPK> help

The help command can be used in conjunction with any top-level command to get a list of sub-commands with descriptions. For example, pti help will print a list of all available sub-commands of pti:

WPK> pti help

This means that running pti enable will enable packet trace.

6.2.3 Command Examples

PTI Configuration

pti config 0 efruart 1600000

Configures PTI to use the "EFRUART" mode at 1.6 Mb/s.

Serial Port Configuration

serial vcom config handshake enable

Enables hardware handshake on the VCOM UART connection.

6.3 Virtual UART

The Virtual UART (VUART) interface provides a high-performance application data interface that does not require additional I/O pins apart from the debug interface.

The Wireless STK makes the VUART interface available on TCP/IP port 4900.

6.3.1 Target-to-Host

Target-to-host communication uses the SWO-pin of the debug interface through the ITM debug peripheral. This approach allows a sleepy target device to enter all energy modes and still wake up intermittently to send debug information. The baud rate of the SWO data is locked to 875 kHz.

VUART uses ITM stimulus port 0 for general purpose printing. Silicon Labs' networking stacks use ITM stimulus port 8 for debug printing. The data on port 8 is encapsulated in additional framing and will also appear in the Simplicity Studio Network Analyzer.

6.3.2 Host-to-Target

Host-to-target communication uses SEGGER's Real Time Transfer (RTT) technology. A full explanation of how this works can be found in J-Link/J-Trace User Guide (UM08001). Briefly summarized, RTT consists of a structure called the RTT control block, which is located in RAM. This control block points to circular buffers that the debugger can write data into. The target application can then read data out of this circular buffer.

The board controller will start searching for the RTT control block upon receiving data on TCP/IP port 4900. If the board controller is unable to locate the RTT control block, it will return an error message on the same connection. For the board controller to be able to locate the RTT control block, it has to be aligned on a 1024-byte boundary in RAM.

After initializing the RTT connection, the target will only enter emulated EM2 and EM3 where the power consumption remains similar to EM1. This is because RTT uses the debug interface, which requires use of high-frequency oscillators. Energy modes EM4S and EM4H will work as normal. When debugging energy consumption, it is important to not send data on TCP/IP port 4900 as not to instantiate the RTT connection.

6.3.3 Limitations

6.3.4 Troubleshooting

Problem Solution
No data received after ending a debug session. After certain debugger operations, the host computer manually disables SWO on the target to conserve power. This might cause SWO data to not appear if the target application initialized SWO before the debugger has disconnected. Either press the RESET button on the Wireless Starter Kit to reset the target application or make sure that the target application verifies that SWO is enabled and configured before sending any data.
No data received after flashing a new application. Disconnect from TCP port 4900, press the RESET button on the kit, then reconnect to 4900. If this does not fix the issue, try to restart the kit by unplugging and replugging the USB cable.
Other issues

7. Advanced Energy Monitor

7.1 Introduction

When seeking to make their embedded code spend as little energy as the underlying architecture supports, an embedded developer needs tools to easily and quickly discover inefficiencies in the running application. This is what the Simplicity Energy Profiler is designed to do. In real-time, the Energy Profiler will graph and log current as a function of time while correlating this to the actual target application code running on the EFR32. There are multiple features in the profiler software that allow for easy analysis, such as markers and statistics on selected regions of the current graph or aggregate energy usage by different parts of the application. The Energy Profiler is available through Simplicity Studio.

7.2 Code Correlation

By using the Energy Profiler, current consumption and voltage can be measured and linked to the actual code running on the EFR32 in realtime. The Energy Profiler gets its data from the board controller on the mainboard through the Advanced Energy Monitor (AEM). The current signal is combined with the target processor's Program Counter (PC) sampling by utilizing a feature of the ARM CoreSight debug architecture. The Instrumentation Trace Macrocell (ITM) block can be programmed to sample the MCU's PC at periodic intervals and output these over SWO pin ARM devices. When these two data streams are fused and correlated with the running application's memory map, an accurate statistical profile can be built that shows the energy profile of the running application in real-time.

7.3 AEM Circuit

The AEM circuit on the Wireless Pro Kit Mainboard (BRD4002A) and the Wireless STK Mainboard (BRD4001A) measures the current through a sense resistor inside the feedback loop of a low-dropout regulator (LDO). The output voltage of this LDO powers the EFR32 when the power slide switch is in the AEM position. AEM usage on both mainboards is similar, but the implementation and perfomance on the Wireless Pro Kit Mainboard (BRD4002A) has some key differences, including the use of two sense resistors instead of one, and a different LDO, which is explained in Section 7.3.1 AEM Details. The AEM implementation on the Wireless Pro Kit Mainboard (BRD4002A) is shown in the figure below.

Figure 7.1. Advanced Energy Monitor On The Wireless Pro Kit Mainboard (BRD4002A)

Note: The VMCU regulator feedback point is after the sense resistor to ensure that the VMCU voltage is kept constant when the output current changes. However, series resistances in the current path will cause some IR drop on VMCU.

Note: The AEM circuit only works when the kit is powered and the power switch is in the AEM position.

7.3.1 AEM Details

The main differences between the AEM on the Wireless Pro Kit Mainboard (BRD4002A) and the Wireless STK Mainboard (BRD4001A) is summarized in the table below with more in-depth information given in the text that follows.

Table 7.1. Advanced Energy Monitor Parameters
Parameter BRD4002A BRD4001A
Voltage 1.8 - 3.6 V 3.3 V
Sample Rate 100 kHz 10 kHz
Sense Resistor 10.5 Ω / 0.5 Ω 2.35 Ω
Measurement Range¹ 0 - 495 mA 0 - 95 mA

Note: 1. The current sourcing capabilities of the LDO may be different than the measurement range.

Wireless Pro Kit Mainboard (BRD4002A) AEM Design Details

The AEM circuitry on the Wireless Pro Kit Mainboard is capable of measuring current signals in the range of approximately 0.1 µA to 495 mA. This is accomplished through a combination of a highly capable current sense amplifier, multiple sense resistors and gain stages, and signal processing within the kit's board controller before the current sense signal is read by a host computer with a 100 kHz sample rate for display and/or storage. Averaging the output data may be required to achieve sufficient accuracy in some situations, such as low currents, which can be traded for lower bandwidth. High current applications require that the regulator is able to supply enough current as described in Section 4.2 Kit Power.

At low currents the current sense amplifier measures the voltage drop over a 10.5 Ω resistive path. The gain stage further amplifies this voltage with two different parallel gain settings to obtain two current ranges. The transition between these two ranges occurs around 150 μΑ. When the current exceeds a threshold, which is typically between 10 and 30 mA, the AEM circuitry switches from the 10.5 Ω resistive path to a 0.5 Ω sense resistor and is now capable of measuring currents up to approximately 495 mA. If the current drops below the threshold again, the sense resistor is changed back to the 10.5 Ω resistive path and the AEM returns to using two different gain stages depending on whether the current is above or below 150 μΑ.

The expected typical accuracy of the AEM on the Wireless Pro Kit Mainboard is within 1%, except for currents in the low tens of microamps where offset errors start to dominate. In this low current region, the expected typical accuracy is some hundred nanoamps. At kit power-up or on a power-cycle, an automatic AEM calibration is performed which compensates for offset errors in the current sense amplifiers. To achieve the stated accuracy, averaging the AEM output data is required in certain situations (typically at low currents and close to the bottom of the measurement ranges) to reduce noise. Averaging can be applied in Energy Profiler to suit different requirements during or after the acquisition. The analog bandwidth of the measurement circuit depends on multiple factors, such as output current and capacitance on the VMCU net, and may be lower than the output data rate. Generally, higher output current and lower capacitance on VMCU gives a higher analog bandwidth.

Wireless STK Mainboard (BRD4001A) AEM Design Details

The AEM circuitry on the Wireless STK Mainboard works conceptually in a similar way to the implementation on the Wireless Pro Kit Mainboard except for two key differences: it uses only one 2.35 Ω sense resistor and the low-dropout regulator (LDO) is different. For details about the two implementations, refer to the schematics.

The AEM on the Wireless STK Mainboard is capable of measuring currents in the range of 0.1 µA to 95 mA. The second stage amplifier amplifies the signal with two different gain settings with the transition occurring around 250 μΑ. For currents above 250 µA, the AEM is accurate within 0.1 mA. When measuring currents below 250 µA, the accuracy increases to 1 µA. Even though the absolute accuracy is 1 µA in the sub 250 µA range, the AEM can detect changes in the current consumption as small as 0.1 µA. It is possible to source currents above the measurement range as decribed in Section 4.2 Kit Power. The board controller outputs the AEM data with a 10 kHz sample rate.

8. On-Board Debugger

The Wireless Pro Kit Mainboard and the Wireless STK Mainboard contain an integrated debugger, which can be used to download code and debug the EFR32. In addition to programming a target on a plug-in radio board, the debugger can also be used to program and debug external Silicon Labs EFM32, EFM8, EZR32, and EFR32 devices connected through the debug connector.

The debugger supports three different debug interfaces for Silicon Labs devices:

For debugging to work properly, make sure the selected debug interface is supported by the target device. The debug connector on the board supports all three of these modes.

8.1 Host Interfaces

The Wireless STK supports connecting to the on-board debugger using either Ethernet or USB.

Many tools support connecting to a debugger using either USB or Ethernet. When connected over USB, the kit is identified by its J-Link serial number. When connected over Ethernet, the kit is normally identified by its IP address. Some tools also support using the serial number when connecting over Ethernet; however, this typically requires the computer and the kit to be on the same subnet for the discovery protocol (using UDP broadcast packets) to work.

8.1.1 USB Interface

The USB interface is available whenever the USB connector on the left-hand side of the mainboard is connected to a computer.

8.1.2 Ethernet Interface

The Ethernet interface is available when the mainboard Ethernet connector in the upper-left corner is connected to a network. Normally, the kit will receive an IP address from a local DHCP server, and the IP address is printed on the LCD display. If your network does not have a DHCP server, you need to connect to the kit via USB and set the IP address manually using Simplicity Studio, Simplicity Commander, or J-Link Configurator.

For the Ethernet connectivity to work, the kit must still be powered through the mainboard USB connector.

8.1.3 Serial Number Identification

All Silicon Labs kits have a unique J-Link serial number which identifies the kit to PC applications. This number is 9 digits and is normally on the form 44xxxxxxx.

The J-Link serial number is normally printed at the bottom of the kit LCD display.

8.2 Debug Modes

The kit can be used in various debug modes as explained in this chapter. The on-board debugger can be used to debug the EFR32 on the radio board, or it can be used to debug a supported external target board using either the debug connector or the Mini Simplicity Connector. An external debugger can furthermore be used to debug the EFR32 on the radio board using the debug connector. Selecting the active debug mode is done in Simplicity Studio.

Note: The Wireless Starter Kit Mainboard (BRD4001A) does not feature a Mini Simplicity Connector; therefore, debugging an external target board directly over the Mini Simplicity Connector is not supported on this mainboard. However, it is possible to debug an external target that uses a Mini Simplicity Connector from the Wireless Starter Kit Mainboard by using a BRD8010A STK/WSTK Debug Adapter.

Debug MCU: In this mode, the on-board debugger is connected to the EFR32 on the kit. To use this mode, set the debug mode to [MCU].

Figure 8.1. Debug MCU

Debug OUT: In this mode, the on-board debugger can be used to debug a supported Silicon Labs device mounted on a custom board using the debug connector. To use this mode, set the debug mode to [Out].

Figure 8.2. Debug OUT

Debug IN: In this mode, the on-board debugger is disconnected and an external debugger can be used to debug the EFR32 on the kit over the debug connector. To use this mode, set the debug mode to [In].

Figure 8.3. Debug IN

Note: For "Debug IN" to work, the kit board controller must be powered through the Debug USB connector.

Debug MINI: The Wireless Pro Kit mainboard features a dedicated Mini Simplicity Connector on the board. In this mode, the on-board debugger can be used to debug a supported Silicon Labs device mounted on a custom board over Serial Wire Debug. Virtual COM port and Packet Trace Interface is also available in this mode. To use this mode, set the debug mode to [Mini].

Figure 8.4. Mini Out

Depending on the position of the mainboard power switch and the presence of a coin battery (or external power source on the battery connector of BRD4002A), the Wireless STK can supply voltage on the VMCU rail available on the Simplicity Connector and the Mini Simplicity Connector. Careful consideration must be taken to avoid any power conflicts with the external hardware. For more information regarding debugging external hardware, see AN958: Debugging and Programming Interfaces for Custom Designs.

8.3 Debugging During Battery Operation

When the EFR32 is battery-powered and the J-Link USB is still connected, the on-board debug functionality is available. If the USB power is disconnected, the Debug IN mode will stop working.

If debug access is required when the target is running off another energy source, such as a battery, and the board controller is powered down, make direct connections to the GPIOs used for debugging, which are exposed on the breakout pads.

9. Kit Configuration and Upgrades

The kit configuration dialog in Simplicity Studio allows you to change the J-Link adapter debug mode, upgrade its firmware, and change other configuration settings. To download Simplicity Studio, go to silabs.com/simplicity.

In the main window of the Simplicity Studio's Launcher perspective, the debug mode and firmware version of the selected J-Link adapter are shown. Click the [Change] link next to any of these settings to open the kit configuration dialog.

Figure 9.1. Simplicity Studio Kit Information
Figure 9.2. Kit Configuration Dialog

9.1 Firmware Upgrades

You can upgrade the kit firmware through Simplicity Studio. Simplicity Studio will automatically check for new updates on startup.

You can also use the kit configuration dialog for manual upgrades. Click the [Browse] button in the [Update Adapter] section, and select the correct file ending in .emz. Then, click the [Install Package] button.

10. Schematics, Assembly Drawings, and BOM

Schematics, assembly drawings, and Bill of Materials (BOM) are available through Simplicity Studio after the kit documentation package is installed. These resources are also available on the applicable kit pages on the Silicon Labs website at www.silabs.com/dev-tools.

11. Kit Revision History

The kit revision can be found printed on the kit packaging label, as outlined in the figure below. The revision history given in this section may not list every kit revision. Revisions with minor changes may be omitted.

Figure 11.1. Kit Label

11.1 xG29-RB4412A Revision History

Kit Revision Released Description
A01 24 April 2025 Updated BRD4412A to Rev. A04.
A00 15 November 2024 Initial release.

11.2 xG29-PK6034A Revision History

Kit Revision Released Description
A01 24 April 2025 Updated BRD4412A to Rev. A04.
A00 5 December 2024 Initial release.

12. Document Revision History

Revision 1.0

July 2025

Initial document version.

Models: EFR32xG29, BRD4412A, EFR32 Wireless Gecko, EFR32, Wireless Gecko, Gecko

File Info : application/pdf, 38 Pages, 2.99MB

PDF preview unavailable. Download the PDF instead.

ug621-efr32g29-brd4412a-user-guide

References

Antenna House PDF Output Library 6.0.283 (Linux64)

Related Documents

Preview UG622: EFR32xG29 Wireless 2.4 GHz +6 dBm DCDC Boost Radio Board User's Guide
A comprehensive user guide for the EFR32xG29 Wireless 2.4 GHz +6 dBm DCDC Boost Radio Board (BRD4413A). This guide details the features, hardware layout, connectors, power supply, peripherals, on-board debugger, kit configuration, and firmware upgrades for the Silicon Labs wireless development platform.
Preview UG596: MGM260P 10 dBm Module Radio Board User's Guide
User's guide for the Silicon Labs MGM260P 10 dBm Module Radio Board (BRD4350A), detailing its features, hardware overview, connectors, power supply, peripherals, and debugging capabilities with Wireless Pro Kit and Starter Kit mainboards.
Preview UG609: EFR32xG26 Wireless 2.4 GHz 10 dBm QFN68 Radio Board User's Guide
User's guide for the Silicon Labs EFR32xG26 Wireless 2.4 GHz 10 dBm QFN68 Radio Board (BRD4120A), detailing its features, hardware overview, connectors, power supply, peripherals, board controller, on-board debugger, and kit configuration when used with Wireless Starter Kit or Wireless Pro Kit Mainboards.
Preview UG623: EFR32BG29 Bluetooth LE +4 dBm DCDC Boost WLCSP Radio Board User's Guide
This user guide provides comprehensive instructions for using the BRD4420A Radio Board with Silicon Labs' Wireless Starter Kit Mainboard (BRD4001A) or Wireless Pro Kit Mainboard (BRD4002A). It details the hardware features, connectivity options, power management, peripherals, and debugging capabilities of the EFR32BG29 Wireless Gecko SoC.
Preview Silicon Labs EFM32WG Gecko Starter Kit User's Guide
Comprehensive user guide for the Silicon Labs EFM32WG Gecko Starter Kit (EFM32WG-STK3800), detailing its features, hardware layout, connectors, peripherals, power management, debugging capabilities, and software support for embedded development.
Preview AN971: EFR32 Radio Configurator Guide for RAIL in Simplicity Studio v4
This guide details the Radio Configurator GUI in Silicon Labs' Simplicity Studio for EFR32 devices using the RAIL framework. It covers protocol, modem, packet, and advanced RF configurations for wireless applications.
Preview Silicon Labs Connect Stack: A Comprehensive Guide to Wireless Networking
Explore the Silicon Labs Connect stack, an IEEE 802.15.4 MAC-based wireless networking solution optimized for low-power devices. This guide covers development, fundamentals, bootloading, security, and more for proprietary wireless applications.
Preview Simplicity Studio 5 User's Guide - Silicon Labs
Comprehensive guide to Simplicity Studio 5, Silicon Labs' integrated development environment for IoT SoCs and modules. Learn about features, development workflows, and tools for 32-bit and 8-bit devices.