background image

5.3  Serial Flash

The  BRD4306A  Radio  Board  is  equipped  with  an  8  Mbit  Macronix  MX25R  SPI  flash  that  is  connected  directly  to  the  BGM13P.  The
figure below shows how the serial flash is connected to the BGM13P.

PC8 (US1_CLK#11)

PC6 (US1_TX#11)

PC7 (US1_RX#11)

PA4 (US1_CS#1)

BGM13P

MX25R8035F

SCLK

MOSI

MISO

SCS

VMCU

VDD

8 Mbit

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 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-
sumption.

UG338: BGM13P22 Blue Gecko Module Radio Board User's Guide

Peripherals

silabs.com

 | Building a more connected world.

Rev. 1.1  |  18

Summary of Contents for UG338

Page 1: ...y capabil ities This document describes how to use the BRD4306A Radio Board together with a Wire less Starter Kit Mainboard BRD4306A RADIO BOARD FEATURES BGM13P Blue Gecko Module with 512 kB Flash 64 kB RAM Fully integrated chip antenna RF matching network crystals and decoupling BGM13P22F512GA V2 8 Mbit low power serial flash for over the air upgrades WIRELESS STK MAINBOARD FEATURES Advanced Ener...

Page 2: ...r Supply and Reset 14 4 1 Radio Board Power Selection 14 4 2 Board Controller Power 15 4 3 BGM13P 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 Admin Con...

Page 3: ...Ethernet Interface 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 SLWRB4306A Revision History 32 12 Document Revision History 33 silabs com Building a more connected world Rev 1 1 3 ...

Page 4: ...nt operating 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 ev...

Page 5: ... Debugger Virtual COM port Packet Trace Advanced Energy Monitoring Coin Cell Holder CR2032 Battery Power Select Switch BAT USB AEM 2x User Push Buttons 2x User LEDs Simplicity Connector Virtual COM port Packet Trace Advanced Energy Monitoring Debug Connector ARM Coresight 19 pin OUT External targets IN External debug probes Reset Button Si7021 Relative Temperature Humidity Sensor EXP Header Expans...

Page 6: ... Packet Trace AEM Debug UART Packet Trace AEM Simplicity Connector Debug Connector Board Controller Multiplexer O U T I N MCU BGM13P Module GPIO EXP Header User Buttons LEDs GPIO 128 x 128 pixel Memory LCD I2C Si7021 Temperature Humidity Sensor SPI 8 Mbit MX25R Serial Flash Figure 2 2 Kit Block Diagram UG338 BGM13P22 Blue Gecko Module Radio Board User s Guide Hardware Overview silabs com Building ...

Page 7: ...lopment 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 Wire...

Page 8: ...TX P7 PC9 EXP10 P5 PC8 EXP8 FLASH_SCLK DISP_SCLK P3 PC7 EXP6 FLASH_MISO P1 PC6 EXP4 FLASH_MOSI DISP_SI VRF GND VMCU PTI_SYNC PB13 P22 VCOM_ENABLE PA5 P20 FLASH_SCS PA4 P18 NC P16 GND NC P14 I2C_SCL EXP15 PC11 P12 DBG_TDI EXP13 PF3 P10 EXP11 NC P8 EXP9 PF5 P6 EXP7 PF4 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 N...

Page 9: ... for general 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_M...

Page 10: ...0 10 PC9 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 BGM13P voltage domain included in AEM measurements 19 BOARD_ID_SDA Connected to the board controller for identification of add on boards 17 BOARD_ID_SCL Connected to the board controller for identification of add on boards 15 PC...

Page 11: ... 19 TMS 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 preve...

Page 12: ...f an external 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 ...

Page 13: ...e designs 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_FRAM...

Page 14: ... in series 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 BRD4306A does not contain an USB regulator and setting the switch in the USB postition will cause the BGM13P to be unpowered Finally with the switch in the BAT position a 20 mm coin cell...

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

Page 16: ...UTTON0 and LED0 share the connection to GPIO pin PF6 and BUTTON1 and LED1 are both connected to PF7 To use the push buttons as inputs to the BGM13P each button s GPIO pin must be configured as an input Configure the pins as out puts 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 ...

Page 17: ... The user 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 BGM13P has control of the display Power to the display is sourced from the target application power domain when the BGM13P controls the display and from the board controller s power domain when the DISP_ENAB...

Page 18: ...oard 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 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 c...

Page 19: ...ptional 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 ...

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

Page 21: ...to the 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 conne...

Page 22: ...tted 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 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 devi...

Page 23: ...r Kit 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 8 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 6 1 2 Built in Help The admin c...

Page 24: ...ication 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 UG338 BGM13P2...

Page 25: ...t computer 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 feat...

Page 26: ...l as 100 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 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...

Page 27: ...serial 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 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 availabl...

Page 28: ...er USB Host Computer 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...

Page 29: ...ode 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 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 UG338 BGM13P22 Blue ...

Page 30: ...ext to any of them to open the kit configuration dialog 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 Adapte...

Page 31: ... and bill of materials BOM are available through Simplicity Studio when the kit documentation pack age has been installed UG338 BGM13P22 Blue Gecko Module Radio Board User s Guide Schematics Assembly Drawings and BOM silabs com Building a more connected world Rev 1 1 31 ...

Page 32: ...B4306A BGM13P22 Blue Gecko Module Radio Board 124802042 22 11 17 A00 Figure 11 1 Kit Label 11 1 SLWRB4306A Revision History Kit Revision Released Description A00 22 November 2017 Initial release UG338 BGM13P22 Blue Gecko Module Radio Board User s Guide Kit Revision History silabs com Building a more connected world Rev 1 1 32 ...

Page 33: ...2018 Added more information to section 5 5 Virtual COM Port Revision 1 0 February 2018 Initial document release UG338 BGM13P22 Blue Gecko Module Radio Board User s Guide Document Revision History silabs com Building a more connected world Rev 1 1 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: