Silicon Laboratories Blue Gecko BGM121 User Manual Download Page 39

http://www.silabs.com

Silicon Laboratories Inc.

400 West Cesar Chavez

Austin, TX 78701

USA

Simplicity Studio

One-click access to MCU and 

wireless tools, documentation, 

software, source code libraries & 

more. Available for Windows, 

Mac and Linux!

IoT Portfolio

www.silabs.com/IoT

SW/HW

www.silabs.com/simplicity

Quality

www.silabs.com/quality

Support and Community

community.silabs.com

Disclaimer

Silicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or 

intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" 

parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes 

without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included 

information.  Silicon  Labs  shall  have  no  liability  for  the  consequences  of  use  of  the  information  supplied  herein.  This  document  does  not  imply  or  express  copyright  licenses  granted 

hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of 

Silicon Labs. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal 

injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass 

destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons.

Trademark Information

Silicon Laboratories Inc.® , Silicon Laboratories®, Silicon Labs®, SiLabs® and the Silicon Labs logo®, Bluegiga®, Bluegiga Logo®, Clockbuilder®, CMEMS®, DSPLL®, EFM®, EFM32®, 

EFR,  Ember®,  Energy  Micro,  Energy  Micro  logo  and  combinations  thereof,  "the  world’s  most  energy  friendly  microcontrollers",  Ember®,  EZLink®,  EZRadio®,  EZRadioPRO®, 

Gecko®, ISOmodem®, 

Micrium, 

Precision32®, ProSLIC®, Simplicity Studio®, SiPHY®, Telegesis, the Telegesis Logo®, USBXpress®

, Zentri

 and others are trademarks or registered 

trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All 

other products or brand names mentioned herein are trademarks of their respective holders. 

Summary of Contents for Blue Gecko BGM121

Page 1: ...ow to use the BRD4302A Radio Board together with a Wire less Starter Kit Mainboard BRD4302A RADIO BOARD FEATURES BGM121 Blue Gecko SiP Module with 256 kB Flash and 32 kB RAM Fully integrated chip antenna RF matching network crystals and decoupling BGM121A256V1 8 Mbit low power serial flash for over the air upgrades WIRELESS STK MAINBOARD FEATURES Advanced Energy Monitor Packet Trace Interface Virt...

Page 2: ... Power Supply and Reset 14 4 1 Radio Board Power Selection 14 4 2 Board Controller Power 15 4 3 BGM121 Reset 15 5 Peripherals 16 5 1 Push Buttons and LEDs 16 5 2 Memory LCD TFT Display 17 5 3 Serial Flash 18 5 4 Si7021 Relative Humidity and Temperature Sensor 19 5 5 Virtual COM Port 20 5 5 1 Host Interfaces 21 5 5 2 Serial Configuration 21 5 5 3 Hardware Handshake 22 6 Expansion Board 23 6 1 Accel...

Page 3: ...odes 30 9 3 Debugging During Battery Operation 31 10 Kit Configuration and Upgrades 32 10 1 Firmware Upgrades 32 11 Schematics Assembly Drawings and BOM 33 12 Mainboard Connectors 34 12 1 Mainboard Connector Pin Associations 34 13 Mechanical Details 35 14 Radio Board Revision History and Errata 36 14 1 BRD4302A Revision History 36 14 2 BRD4302A Errata 36 15 Kit Revision History 37 15 1 SLWSTK6101C...

Page 4: ...erating frequency bands Since the mainboard is designed to work with all 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 Starter Kit features such as buttons LEDs the display the EXP header and the breakout pads Because this pin mapping is different for every r...

Page 5: ...n boards Serial port packet trace and Advanced Energy Monitoring header ARM Coresight 19 pin trace debug header Ultra low power 128x128 pixel memory LCD buttons and LEDs Battery or USB power USB serial port Packet trace Advanced Energy Monitoring EXP Board 3 axis Accelerometer 2x Push Buttons 2x LEDs Analog Joystick Figure 2 1 Kit Hardware Layout UG234 BGM121 Blue Gecko SiP Module Wireless Starter...

Page 6: ...ector Board Controller Multiplexer O U T I N MCU BGM121 Blue Gecko SiP GPIO EXP Header User Buttons LEDs GPIO Expansion Board Peripherals Footprint for I2C Expansion BGM121 I2C Accelerometer BMA280 SPI Buttons LEDs GPIO Analog Joystick ADC input 128 x 128 pixel Memory LCD I2C Si7021 Temperature Humidity Sensor SPI 8 Mbit MX25R Serial Flash Figure 2 2 Kit Block Diagram UG234 BGM121 Blue Gecko SiP M...

Page 7: ...t features of the kit this USB connector is also the main power source for the kit USB 5V from this connector powers the board controller and the AEM It is recommended that the USB host be able to supply at least 500 mA to this connector although the actual current required will vary depending on the application 3 2 Ethernet Connector The Ethernet connector provides access to all of the Wireless S...

Page 8: ..._MISO P1 EXP4 PC6 FLASH_MOSI DISP_SI VRF GND VMCU PTI_SYNC PB13 P22 PTI_DATA PB12 P20 PTI_CLK PB11 P18 VCOM_ENABLE PA5 P16 GND FLASH_SCS PA4 P14 I2C_SCL PC10 EXP15 P12 DBG_TDI PF3 EXP13 P10 PD12 EXP11 P8 PD11 EXP9 P6 PD10 EXP7 P4 VCOM_RTS PA3 EXP5 P2 VCOM_CTS PA2 EXP3 P0 VRF J101 GND GND 5V 5V NC NC P45 NC NC P44 P43 NC NC P42 P41 NC NC P40 3V3 3V3 P39 NC NC P38 P37 PD9 SENSOR_ENABLE UIF_BUTTON1 P...

Page 9: ...l purpose IO This allows the definition of expansion boards EXP boards that can plug into a number of different Silicon Labs Starter Kits The figure below shows the pin assignment of the EXP header Because of limitations in the number of available GPIO pins some of the EXP header pins are shared with kit features 1 2 4 8 6 10 3 5 9 7 12 13 14 11 15 16 17 18 20 19 VMCU SPI_MOSI PC6 SPI_MISO PC7 SPI...

Page 10: ...I_CS USART1_CS 11 8 PC8 SPI_SCLK DISP_SCLK USART1_CLK 11 6 PC7 SPI_MISO USART1_RX 11 4 PC6 SPI_MOSI DISP_MOSI USART1_TX 11 2 VMCU BGM121 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 PC10 I2C_SCL SENSOR_I2C_SCL I2C0_SCL 14 13 PF3 GPIO ...

Page 11: ...S SWDIO C2D TCK SWCLK C2CK TDO SWO TDI C2Dps TRACECLK TRACED0 TRACED1 TRACED2 TRACED3 RESET C2CKps GND NC NC GND GND GND 7 GND VTARGET Cable Detect NC 3 Figure 3 4 Debug Connector Note The pinout matches the pinout of an ARM Cortex Debug ETM connector but these are not fully compatible as pin 7 is physically removed from the Cortex Debug ETM connector Some cables have a small plug that prevent the...

Page 12: ...xternal target with the AEM unplug the radio board from the Wireless STK Mainboard to avoid adding the radio board current consumption to the measurements Table 3 3 Simplicity Connector Pin Descriptions Pin Number s Function Description 1 VMCU 3 3 V power rail monitored by the AEM 3 3V3 3 3 V power rail 5 5V 5 V power rail 2 VCOM_TX Virtual COM Tx 4 VCOM_RX Virtual COM Rx 6 VCOM_CTS Virtual COM CT...

Page 13: ...gns that use this connector The Mini Simplicity Connector is designed to offer advanced debug features from the Starter Kit on a 10 pin connector Serial Wire Debug SWD with SWO Packet Trace Interface PTI Virtual COM port VCOM AEM Monitored voltage rail Note Packet Trace is only available on Wireless STK Mainboards MCU Starter Kits do not support Packet Trace VAEM 1 3 RST 5 VCOM_TX 9 PTI_FRAME 7 SW...

Page 14: ...ries allowing accurate high speed current measurements and energy debugging profiling With the switch in the USB position radio boards with USB support can be powered by a regulator on the radio board itself BRD4302A does not contain an USB regulator and setting the switch in the USB postition will cause the BGM121 to be unpowered Finally with the switch in the BAT position a 20 mm coin cell batte...

Page 15: ... controller and the target power domains isolated from each other as one of them powers down This ensures that the target BGM121 device will continue to operate in the USB and BAT modes 4 3 BGM121 Reset The BGM121 SiP 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 addi...

Page 16: ...cted directly to the BGM121 and are debounced by RC filters with a time constant of 1 ms The buttons are connected to pins PF6 and PF7 The kit also features two yellow LEDs marked LED0 and LED1 that are controlled by GPIO pins on the BGM121 The LEDs are con nected to pins PF4 and PF5 in an active high configuration PF5 GPIO User Buttons LEDs UIF_LED0 UIF_LED1 UIF_PB0 UIF_PB1 PF6 GPIO PF7 GPIO PF4 ...

Page 17: ...ser application always controls ownership of the display with the DISP_ENABLE signal DISP_ENABLE LOW The board controller has control of the display DISP_ENABLE HIGH The user application BGM121 has control of the display Power to the display is sourced from the target application power domain when the BGM121 controls the display and from the board controller s power domain when the DISP_ENABLE lin...

Page 18: ...erial Flash The MX25R series are ultra low power serial flash devices so there is no need for a separate enable switch to keep current consump tion 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 con sum...

Page 19: ...l factory installed cover offers a low profile convenient means of protecting the sensor during assembly e g 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 ...

Page 20: ...Interface Pins Signal Description VCOM_TX Transmit data from the BGM121 to the board controller VCOM_RX Receive data from the board controller to the BGM121 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 BGM121 when it is ready to receive more data VCOM_E...

Page 21: ... traget 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 t...

Page 22: ...o 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 and 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 any...

Page 23: ...tp www bosch sensortec com bst products all_products bma280 6 2 Push Buttons and LEDs The Expansion Board contains two push buttons marked BTN2 and BTN3 on the PCB and two LEDs LED2 and LED3 not marked but placed correspondingly above the push button markings One push button and one LED share the same I O pin on the BGM121 The push button is connected to the LED through a transistor allowing the I...

Page 24: ...ck The table below lists the expected output voltage from each joystick position Table 6 1 Joystick Output Voltage Position Resistor combinations kohm Joystick output voltage V 1 Center press 0 1 0 1 10 0 03 V Up N 60 4 60 4 10 2 83 V Up Right NE N E N E 10 21 34 21 34 10 2 25 V Right E 33 33 10 2 53 V Down Right SE S E S E 10 7 67 7 67 10 1 43 V Down S 10 10 10 1 65 V Down Left SW S W S W 10 6 6 ...

Page 25: ...must be connected to Ethernet using the Ethernet connector in the top left corner of the mainboard for the admin console to be available See 9 1 2 Ethernet Interface for details on the 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 WSTK prompt is displayed 7 1 2 Built in Help The admin console...

Page 26: ...n data interface that does not require any additional I O pins apart from the debug interface It is based on SEGGER s Real Time Transfer RTT technology and uses Serial Wire Output SWO to get appliaction data from the device and a shared memory interface to send data to the target application The Wireless Starter Kit makes the Virtual UART interface available on TCP IP port 4900 UG234 BGM121 Blue G...

Page 27: ...uter for display and or storage The current sense amplifier measures the voltage drop over a small series resistor and the gain stage further amplifies this voltage with two different gain settings to obtain two current ranges The transition between these two ranges occurs around 250 µA The current signal is combined with the target processor s Program Counter PC sampling by utilizing a feature of...

Page 28: ...00 nA The AEM current sampling rate is 10 kHz Note The AEM circuitry only works when the kit is powered and the power switch is in the AEM position 8 4 Usage The AEM data is collected by the board controller and can be displayed by the Energy Profiler available through Simplicity Studio By using the Energy Profiler current consumption and voltage can be measured and linked to the actual code runni...

Page 29: ... number when connecting over Ethernet however this typically requires the computer and the kit to be on the same subnet for the dis covery protocol using UDP broadcast packets to work 9 1 1 USB Interface The USB interface is available whenever the USB Mini B connector on the left hand side of the mainboard is connected to a computer 9 1 2 Ethernet Interface The Ethernet interface is available when...

Page 30: ...SB Host Computer DEBUG HEADER External Hardware Figure 9 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 Board Controller USB Host Computer DEBUG HEADER External Hardware RADIO BOARD Figure 9 2 Debug OUT Debug IN In this mode the on board debugger is disconnected and an external debugger can be connected to deb...

Page 31: ...ll 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 the user should make direct connections to the GPIO used for debugging This can be done by connecting to the appropriate pins of the breakout pads Some Silicon Labs kits provide a dedicated pin header for this purpose UG234 BGM121 Blue Gecko Si...

Page 32: ...any of them to open the kit configuration dialog Figure 10 1 Simplicity Studio Kit Information Figure 10 2 Kit Configuration Dialog 10 1 Firmware Upgrades Upgrading the kit firmware is done 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 se...

Page 33: ...ill of materials BOM are available through Simplicity Studio when the kit documentation pack age has been installed UG234 BGM121 Blue Gecko SiP Module Wireless Starter Kit User s Guide Schematics Assembly Drawings and BOM silabs com Building a more connected world Rev 1 02 33 ...

Page 34: ... USB_VBUS 5V Board ID SCL GND Board ID SDA USB_VREG F7 PA1 VCOM_RX F5 PA5 VCOM_ENABLE F3 PF3 DBG_TDI F1 PF0 DBG_TCK_SWCLK P45 NC P43 NC P41 NC P39 NC P37 PD9 SENSOR_ENABLE F11 PF5 UIF_LED1 F13 PF7 UIF_BUTTON1 F15 PC8 DISP_SCLK F17 PD14 DISP_SCS F19 PB13 PTI_SYNC F21 PB11 PTI_CLK GND VMCU_IN EXP3 PA2 P0 P201 Lower Row EXP5 PA3 P2 EXP7 PD10 P4 EXP9 PD11 P6 GND VRF_IN P35 PD15 P7 PC9 EXP10 P5 PC8 EXP...

Page 35: ... Radio Board is illustrated in the figures below 37 5 mm 40 mm Figure 13 1 BRD4302A Top View 24 mm 20 mm 5 mm Figure 13 2 BRD4302A Bottom View UG234 BGM121 Blue Gecko SiP Module Wireless Starter Kit User s Guide Mechanical Details silabs com Building a more connected world Rev 1 02 35 ...

Page 36: ...A Errata Radio Board Revision Problem Description A00 A03 Missing pull up on MX25R chip select There is no external pull up on the chip select signal for the MX25R serial flash If the BGM121 enters EM4H EM4S the serial flash will exit its deep power down mode and the board current consumption will be significantly higher than expected A workaround is to enable EM4 GPIO retention on the BGM121 and ...

Page 37: ...revision A04 A00 28 September 2016 Initial kit release replaces SLWSTK6101B Added BRD4302A BGM121 Blue Gecko SiP Module Radio Board Removed BRD4301A BGM113 Blue Gecko Module Radio Board 15 2 SLWRB4302A Revision history Kit Revision Released Description A01 23 August 2017 Updated BRD4302A to revision A04 updating BGM121 to revision V2 A00 14 October 2016 Initial release with BRD4302A revision A03 U...

Page 38: ...revision A01 Revision 1 01 June 2017 Added errata for missing pull up on serial flash chip select Corrected I2C peripheral mapping on expansion header Corrected pin out for SENSOR_ENABLE signal Revision 1 00 October 2016 Initial version UG234 BGM121 Blue Gecko SiP Module Wireless Starter Kit User s Guide Document Revision History silabs com Building a more connected world Rev 1 02 38 ...

Page 39: ...mply or express copyright licenses granted hereunder to design or fabricate any integrated circuits The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Labs A Life Support System is any product or system intended to support or sustain life and or health which if it fails can be reasonably expected to result in signif...

Reviews: