UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide A Wireless Starter Kit with the BRD4311A Radio Board is an excellent starting point to get familiar with the BGM220P Wireless Gecko PCB Module. It also provides the necessary tools for developing a Silicon Labs wireless application. BRD4311A contains the BGM220P Module, and it is a plug-in board for the Wireless Starter Kit Mainboard. BRD4311A RADIO BOARD FEATURES • BGM220P Wireless Gecko PCB Module with 512 kB Flash, 32 kB RAM.
Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 Radio Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 . . 2. Hardware Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2.3 Limitations . . . 6.2.4 Troubleshooting . . . . . 7. Advanced Energy Monitor 7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 .25 . . . . . . . . . . . . . . . . . . . . . . . . . 26 . . . . . . . . . . . . . . . . . . . . . . . . . . .26 7.2 Theory of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 7.3 AEM Accuracy and Performance . . .
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Introduction 1. Introduction The BGM220P Wireless Gecko Module is featured on a radio board that plugs directly into a Wireless Starter Kit (WSTK) Mainboard. The mainboard features 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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Hardware Overview 2. Hardware Overview 2.1 Hardware Layout The layout of the BGM220P Wireless Gecko Module Wireless Starter Kit is shown in the figure below.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Hardware Overview 2.2 Block Diagram An overview of the BGM220P Wireless Gecko Module Wireless Starter Kit is shown in the figure below.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Connectors 3. Connectors This chapter gives you an overview of the Wireless STK Mainboard connectivity. The placement of the connectors are shown in the figure below.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Connectors 3.3 Breakout Pads Most pins of the BGM220P are routed from the radio board to breakout pads at the top and bottom edges of the Wireless STK Mainboard. A 2.54 mm pitch pin header can be soldered on for easy access to the pins. The figure below shows you how the pins of the BGM220P map to the pin numbers printed on the breakout pads. To see the available functions on each, refer to the data sheet for BGM220PC22HNA2.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Connectors 3.4 EXP Header The EXP header is an angled 20-pin expansion header provided to allow connection of peripherals or plugin boards to the kit. It is located on the right-hand side of the mainboard, and it contains a number of I/O pins that can be used with most of the BGM220P Wireless Gecko's features. Additionally, the VMCU, 3V3, and 5V power rails are also exported.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Connectors 3.4.1 EXP Header Pinout The pin-routing on the BGM220P 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 Wireless STK Mainboard. The table below includes an overview of the mainboard features that share pins with the EXP header. Table 3.1.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Connectors 3.5 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 BGM220P on the radio board. When set to "Debug OUT", this connector allows the kit to be used as a debugger towards an external target.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Connectors 3.6 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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Connectors 3.7 Debug Adapter The BRD8010A STK/WSTK Debug Adapter is an adapter board which 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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Power Supply and Reset 4. Power Supply and Reset 4.1 Radio Board Power Selection The BGM220P on a Wireless Starter Kit can be powered by one of these sources: • The debug USB cable • A 3 V coin cell battery • A USB regulator on the radio board (for devices with USB support only) BA T U SB AE M The power source for the radio board is selected with the slide switch in the lower left corner of the Wireless STK Mainboard.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Power Supply and Reset 4.3 BGM220P Reset The BGM220P Module can be reset by a few different sources: • A user pressing the RESET button • The on-board debugger pulling the #RESET pin low • An external debugger pulling the #RESET pin low In addition to the reset sources mentioned above, a reset to the BGM220P will also be issued during board controller boot-up.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Peripherals 5. Peripherals The starter kit has a set of peripherals that showcase some of the features of the BGM220P. Note that most BGM220P I/O routed to peripherals are also routed to the breakout pads or the EXP header, which must be taken into consideration when using these. 5.1 Push Buttons and LEDs The kit has two user push buttons, marked PB0 (BUTTON0) and PB1 (BUTTON1), and two yellow LEDs, marked LED0 and LED1.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Peripherals 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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Peripherals 5.3 Serial Flash The BRD4311A Radio Board is equipped with an 8 Mbit Macronix MX25R SPI flash that is connected directly to the BGM220P. The figure below shows how the serial flash is connected to the BGM220P. VMCU VDD PC02 (US0_CLK) SCLK PC00 (US0_TX) MOSI PC01 (US0_RX) MISO PA04 (GPIO) SCS 8 Mbit MX25R8035F BGM220P Figure 5.3.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Peripherals 5.4 Si7021 Relative Humidity and Temperature Sensor The Si7021 I2C relative humidity and temperature sensor is a monolithic CMOS IC integrating humidity and temperature sensor elements, an analog-to-digital converter, signal processing, calibration data, and an I2C Interface.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Peripherals 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 BGM220P. This eliminates the need for an external serial port adapter. Isolation & Level Shift PA05 (US1_TX) PA06 (US1_RX) PA08 (US1_CTS) PA07 (US1_RTS) PB04 (GPIO) VCOM_TX VCOM_RX VCOM_CTS Board Controller USB or ETH Host PC VCOM_RTS VCOM_ENABLE BGM220P Figure 5.5.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Peripherals 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: • Virtual COM port using a standard USB-CDC driver • TCP/IP by connecting to the Wireless STK on TCP/IP port 4901 with a Telnet client When connecting via USB, the device should automatically show up as a COM port.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Peripherals 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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Board Controller 6. Board Controller The Wireless STK Mainboard contains 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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Board Controller 6.1.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 config vcom handshake enable Enables hardware handshake on the VCOM UART connection. 6.2 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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Board Controller 6.2.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 in order to conserve power. This might cause SWO data to not appear if the target application initialized SWO before the debugger has disconnected.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Advanced Energy Monitor 7. Advanced Energy Monitor 7.1 Introduction Any embedded developer seeking to make their embedded code spend as little energy as the underlying architecture supports needs tools to easily and quickly discover inefficiencies in the running application. This is what the Simplicity Energy Profiler is designed to do.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Advanced Energy Monitor 7.3 AEM Accuracy and Performance The AEM is capable of measuring currents in the range of 0.1 µA to 95 mA. 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 is able to detect changes in the current consumption as small as 100 nA.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide On-Board Debugger 8. On-Board Debugger The Wireless STK Mainboard contains an integrated debugger, which can be used to download code and debug the BGM220P. 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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide On-Board Debugger 8.2 Debug Modes To program external devices, use the debug connector to connect to a target board and set the debug mode to [Out]. The same connector can also be used to connect an external debugger to the BGM220P Module on the kit by setting debug mode to [In]. Selecting the active debug mode is done in Simplicity Studio. Debug MCU: In this mode, the on-board debugger is connected to the BGM220P on the kit.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide On-Board Debugger 8.3 Debugging During Battery Operation When the BGM220P 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 GPIO used for debugging.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Kit Configuration and Upgrades 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 http://www.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.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Schematics, Assembly Drawings, and BOM 10. Schematics, Assembly Drawings, and BOM Schematics, assembly drawings, and bill of materials (BOM) are available through Simplicity Studio when the kit documentation package has been installed. They are also available from the Silicon Labs website and kit page. silabs.com | Building a more connected world. Downloaded from Arrow.com. Rev. 1.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Kit Revision History 11. Kit Revision History The kit revision can be found printed on the kit packaging label, as outlined in the figure below. BGM220P Wirless Gecko Module Radio Board SLWRB4311A 06-03-2020 124802042 A03 Figure 11.1. Kit Label 11.1 SLWSTK6103A Revision history Kit Revision Released Description A05 5 May 2020 Boards upped to BRD4310A Rev. A03 and BRD4311A Rev. A04. A02 6 March 2020 Initial kit release.
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide Document Revision History 12. Document Revision History Revision 1.0 July, 2020 • Initial document release. silabs.com | Building a more connected world. Downloaded from Arrow.com. Rev. 1.
Simplicity Studio One-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! IoT Portfolio SW/HW www.silabs.com/IoT www.silabs.com/simplicity Quality www.silabs.com/quality Support & Community www.silabs.