background image

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 interface provides a high performance application 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.

UG321: EFR32FG14 2400/434 MHz 10 dBm Dual Band Radio Board and Wireless Starter Kit User's Guide

Board Controller

silabs.com

 | Building a more connected world.

Rev. 1.00  |  24

Summary of Contents for BRD4259A

Page 1: ... and peripherals for easy demonstration of some of the EFR32 s many ca pabilities This document describes how to use the BRD4259A Radio Board together with a Wire less Starter Kit Mainboard BRD4259A RADIO BOARD FEATURES EFR32FG14 Flex Gecko Wireless SoC with 256 kB Flash and 32 kB RAM EFR32FG14P233F256GM48 Dual band integrated radio transceiver 10 dBm output power Inverted F PCB antenna 2 4 GHz SM...

Page 2: ...4 Power Supply and Reset 14 4 1 Radio Board Power Selection 14 4 2 Board Controller Power 15 4 3 EFR32 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 Board Controller 23 6 1 Admi...

Page 3: ...27 8 1 3 Serial Number Identification 27 8 2 Debug Modes 28 8 3 Debugging During Battery Operation 29 9 Kit Configuration and Upgrades 30 9 1 Firmware Upgrades 30 10 Schematics Assembly Drawings and BOM 31 11 Kit Revision History 32 11 1 SLWSTK6063B Revision History 32 11 2 SLWRB4259A Revision history 32 12 Document Revision History 33 silabs com Building a more connected world Rev 1 00 3 ...

Page 4: ...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 radio board it is important that the correct document be consulted which shows the kit features in context of the radio board plugged in This...

Page 5: ...XP header for expansion 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 Figure 2 1 Kit Hardware Layout UG321 EFR32FG14 2400 434 MHz 10 dBm Dual Band Radio Board and Wireless Starter Kit User s Guide Hard...

Page 6: ...ug Connector Board Controller O U T I N MCU SMA Connector EFR32FG14 Wireless SoC ETM Trace 128 x 128 pixel Memory LCD I2C Si7021 Temperature Humidity Sensor SPI 8 Mbit MX25R Serial Flash GPIO EXP Header User Buttons LEDs GPIO SMA Connector SMA Connector F_SUBG RF 2 4 GHz RF Inverted F PCB Antenna Figure 2 2 Kit Block Diagram UG321 EFR32FG14 2400 434 MHz 10 dBm Dual Band Radio Board and Wireless St...

Page 7: ...SB connector is also the main power source for the kit USB 5V from this connector powers the board controller and the Advanced Energy Monitor 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 Starter K...

Page 8: ...P4 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 EXP15 PC10 P12 DBG_TDI EXP13 PF3 P10 LED0 EXP11 PF4 P8 BTN1 EXP9 PF7 P6 BTN0 EXP7 PF6 P4 VCOM_RTS EXP5 PA3 P2 VCOM_CTS EXP3 PA2 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 PD15 DISP_ENABLE SENSOR_ENABLE NC ...

Page 9: ...s the definition of expansion boards that can plug into a number of different Silicon Labs Starter Kits The figure below shows the pin assignment of the expansion header Because of limitations in the number of available GPIO pins some of the expansion 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_CLK PC8 SPI_CS PC9 UA...

Page 10: ... SPI_CS USART1_CS 11 8 PC8 SPI_SCLK FLASH_SCLK DISP_SCLK USART1_CLK 11 6 PC7 SPI_MISO FLASH_MISO USART1_RX 11 4 PC6 SPI_MOSI FLASH_MOSI DISP_SI USART1_TX 11 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 PC10 I2C_SCL SENSOR...

Page 11: ...K 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 them from being u...

Page 12: ...with the AEM unplug the Radio Board from the Wireless STK Mainboard to avoid that the Radio Board current consumption is added 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 CTS 8 VCOM...

Page 13: ...s 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 SWDIO 2 GND 4 VCOM...

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 BRD4259A does not contain an USB regulator and setting the switch in the USB postition will cause the EFR32 to be unpowered Finally with the switch in the BAT position a 20 mm coin cell batter...

Page 15: ...ontroller 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 USB and BAT modes 4 3 EFR32 Reset The EFR32 Wireless SoC 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 additio...

Page 16: ... to the EFR32 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 EFR32 The LEDs are connec ted 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 GPIO EFR32 Figu...

Page 17: ...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 EFR32 has control of the display 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 c...

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: ...ver 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 tracking to industrial...

Page 20: ...s 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 th...

Page 21: ...e 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 n...

Page 22: ...irmware 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 anyway Table 5 2 ...

Page 23: ...cted to Ethernet using the Ethernet connector in the top left corner of the mainboard for the admin console to be available See 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 6 1 2 Built in Help The admin console has a built in hel...

Page 24: ...ace 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 UG321 EFR32FG14 2400 434 MHz 10 ...

Page 25: ...r 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 the ARM CoreSight deb...

Page 26: ... 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 7 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 running on the EFR...

Page 27: ...en connecting over Ethernet this typically require the computer and the kit to be on the same subnet for the discovery proto col using UDP broadcast packets to work 8 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 8 1 2 Ethernet Interface The Ethernet interface is available when the mainboard Ethe...

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

Page 29: ...g 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 UG321 EFR32FG14 2400 434 MHz 10 dBm Dual...

Page 30: ...og Figure 9 1 Simplicity Studio Kit Information Figure 9 2 Kit Configuration Dialog 9 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 section to select the correct file ending in emz Th...

Page 31: ...ls BOM are available through Simplicity Studio when the kit documentation pack age has been installed UG321 EFR32FG14 2400 434 MHz 10 dBm Dual Band Radio Board and Wireless Starter Kit User s Guide Schematics Assembly Drawings and BOM silabs com Building a more connected world Rev 1 00 31 ...

Page 32: ...A00 Figure 11 1 Kit Label 11 1 SLWSTK6063B Revision History Kit Revision Released Description A00 2017 09 28 Initial kit release 11 2 SLWRB4259A Revision history Kit Revision Released Description A00 2017 09 04 Initial release UG321 EFR32FG14 2400 434 MHz 10 dBm Dual Band Radio Board and Wireless Starter Kit User s Guide Kit Revision History silabs com Building a more connected world Rev 1 00 32 ...

Page 33: ...y Revision 1 00 2017 10 16 Initial document version UG321 EFR32FG14 2400 434 MHz 10 dBm Dual Band Radio Board and Wireless Starter Kit User s Guide Document Revision History silabs com Building a more connected world Rev 1 00 33 ...

Page 34: ...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: