User Manual EZR32WG 490MHz Wireless Starter Kit The WSTK6223 is an excellent starting point to get familiar with the EZR32 Wonder Gecko Wireless Microcontrollers. The Wireless Starter Kit Mainboard contains sensors and peripherals demonstrating some of the Wireless MCU's many capabilities. The kit provides all necessary tools for developing a Silicon Labs wireless application.
EZR32WG 490MHz Wireless Starter Kit Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Kit Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.3 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2. Kit Block Diagram . . . . . . . . . .
EZR32WG 490MHz Wireless Starter Kit 10.1 IAR Embedded Workbench for ARM . . . . . . . . . . . . . . . . . . . . . .20 10.2 Atollic TrueSTUDIO for ARM . . . . . . . . . . . . . . . . . . . . .21 10.3 Rowley Associates - CrossWorks for ARM . . . . . . . . . . . . . . . . . . . .21 10.4 Keil - MDK-ARM . . . . . . . . . . . . . . . . . . .21 11. Kit Manager and Upgrades . . . . . . . . . . . . . . . . . . . . . . . . . 22 .
EZR32WG 490MHz Wireless Starter Kit Introduction 1. Introduction 1.1 Description The idea behind the WSTK6223 is to provide a complete development platform for Silicon Labs EZR32 Wonder Gecko Wireless Microcontrollers. The core of the WSTK6223 is the Wireless Starter Kit (WSTK) Mainboard (BRD4001) which feature an on-board J-Link debugger, an Advanced Energy Monitor for real-time current and voltage monitoring, a Virtual COM port interface, and access to the Packet Trace Interface (PTI).
EZR32WG 490MHz Wireless Starter Kit Kit Block Diagram 2. Kit Block Diagram An overview of the EZR32WG 490MHz Wireless Starter Kit is shown in the figure below. Figure 2.1. WSTK6223 Block Diagram silabs.com | Smart. Connected. Energy-friendly. Rev. 1.
EZR32WG 490MHz Wireless Starter Kit Kit Hardware Layout 3. Kit Hardware Layout The layout of the EZR32WG 490MHz Wireless Starter Kit is shown below.
EZR32WG 490MHz Wireless Starter Kit Power Supply and Reset 4. Power Supply and Reset 4.1 MCU Power Selection The EZR32 Wonder Gecko MCU on the WSTK6223 is designed to be powered by three different sources: • Through the on-board debugger. • Through the EZR32's own USB regulator. • By a 3V Battery. B AT U SB AE M Selecting the power source is done with the slide switch in the lower left corner of the board. Figure Figure 4.
EZR32WG 490MHz Wireless Starter Kit Power Supply and Reset 4.4 MCU Reset The EZR32 MCU 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. 4.5 Board Controller Reset The Board Controller can be reset by removing and re-inserting the J-Link USB cable.
EZR32WG 490MHz Wireless Starter Kit Peripherals 5. Peripherals The starter kit has a set of peripherals that showcase some of the features of the EZR32 Wonder Gecko Wireless Microcontroller. Be aware that most EZR32 I/O routed to peripherals are also routed to the breakout pads. This must be taken into consideration when using the breakout pads for your application. 5.1 Push Buttons and LEDs The kit has two user push buttons marked PB0 and PB1.
EZR32WG 490MHz Wireless Starter Kit Peripherals 5.2 Memory LCD-TFT Display A 1.28-inch SHARP Memory LCD-TFT has been added to the board to enable interactive applications to be developed. The display has a high resolution of 128 by 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.
EZR32WG 490MHz Wireless Starter Kit Peripherals 5.4 USB Micro-B Connector The BRD4505B WSTK Radio Board is equipped with a USB Micro-B connector that is connected directly to the EZR32. The Radio Board supports operation in USB Device mode only, even if the target radio also supports USB Host mode. Figure 5.3 Radio Board USB Connector on page 8 shows how the USB lines are connected to the EZR32. Figure 5.3. Radio Board USB Connector silabs.com | Smart. Connected. Energy-friendly. Rev. 1.
EZR32WG 490MHz Wireless Starter Kit Peripherals 5.5 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.
EZR32WG 490MHz Wireless Starter Kit Advanced Energy Monitor 6. Advanced Energy Monitor 6.1 Introduction Any embedded developer seeking to make his 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.
EZR32WG 490MHz Wireless Starter Kit Advanced Energy Monitor 6.3 AEM accuracy and performance The Advanced Energy Monitor is capable of measuring currents in the range of 0.1 µA to95mA. 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. The AEM current sampling rate is 10000 Hz.
EZR32WG 490MHz Wireless Starter Kit Board Controller 7. Board Controller The kit contains a board controller that is responsible for performing various board-level tasks, such as handling the debugger and the Advanced Energy Monitor. An interface is provided between the EZR32 and the board controller in the form of a UART connection. The connection is enabled by setting the VCOM_ENABLE (PA12) line high, and using the lines VCOM_TX (PB3) and VCOM_RX (PB4) for communication.
EZR32WG 490MHz Wireless Starter Kit Board Support Package 8. Board Support Package The Board Support Package (BSP) is a set of C source and header files that enables easy access to, and control over some board specific features. Using the BSP is not required, and the EZR32 is fully usable without the BSP. The BSP uses EZR32 peripheral USART2, Location 1 (TX pin PB3, RX pin PB4) on baudrate 115200-8-N-1 to communicate with the board controller.
EZR32WG 490MHz Wireless Starter Kit Connectors 9. Connectors This chapter gives you an overview of the Wireless Starter Kit Mainboard connectivity. The placement of the connectors can be seen in the figure below.
EZR32WG 490MHz Wireless Starter Kit Connectors 9.2 Debug Connector (DBG) This connector is used for Debug In and Debug Out (see chapter on Debugging). The pinout is described in Table 9.1 Debug Connector Pinout on page 15. VTARGET 1 GND 3 5 GND NC 9 Cable Detect 11 NC 13 NC GND 15 GND 17 19 GND 2 4 6 8 10 12 14 16 18 20 SWDIO / TMS SWCLK / TCK SWO / TDO TDI #RESET TRACECLK TRACE_DATA[0] TRACE_DATA[1] TRACE_DATA[2] TRACE_DATA[3] Figure 9.3.
EZR32WG 490MHz Wireless Starter Kit Connectors 9.3 Simplicity Connector The Simpicity Connector featured on the Wireless Starter Kit Mainboard enables 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.
EZR32WG 490MHz Wireless Starter Kit Connectors 9.4 Expansion header On the right hand side of the board an angled 20 pin expansion header is provided to allow connection of peripherals or plugin boards. The connecter contains a number of I/O pins that can be used with most of the EZR32 Wonder Gecko's features. Additionally, the VMCU, 3V3 and 5V power rails are also exported. Figure shows the pin assignment of the expansion header.
EZR32WG 490MHz Wireless Starter Kit Connectors Peripheral Peripheral pin MCU Pin EXP Header pin number Digital to Analog Converter DAC0_CH0 PB11 11 DAC0_CH1 PB12 13 ACMP0_CH0 PC0 3 ACMP0_CH3 PC3 5 ACMP0_CH4 PC4 7 ACMP0_CH5 PC5 9 ACMP0_CH6 PC6 15 ACMP0_O PD6 16 ACMP1_O PD7 17 OPAMP_N0 PC5 9 OPAMP_P0 PC4 7 Analog Comparator Operational Amplifier Timer Compare/Capture Low Energy Timer OPAMP_OUT0 PB11 11 OPAMP_N1 PD7 17 OPAMP_P1 PD6 16 OPAMP_OUT1 PB12 13 OPAMP
EZR32WG 490MHz Wireless Starter Kit Connectors Peripheral Peripheral pin MCU Pin EXP Header pin number Pulse Counter PCNT0_S0IN PD6 16 PCNT0_S1IN PD7 17 PCNT1_S0IN PC4 7 PCNT1_S1IN PC5 9 PCNT2_S0IN PD0 4 PCNT2_S1IN PD1 6 PRS_CH2 PC0 3 Peripheral Reflex System (PRS) Note: Please note that this table only sums up some of the alternate functions available on the expansion header. Consult the EZR32WG330F256R63G datasheet for a complete list of alternate functions. silabs.com | Smart.
EZR32WG 490MHz Wireless Starter Kit Integrated Development Environments 10. Integrated Development Environments Figure 10.1. Simplicity Studio Simplicity Studio includes various examples in source form to use with the Starter Kit. To run these examples: 1. Provide power to the board by connecting the DBG USB connector to the PC using the provided USB cable. 2. Move the switch to the AEM position. 3. Click the [Refresh detected hardware] button and select the WSTK6223 kit under [Detected Hardware]. 4.
EZR32WG 490MHz Wireless Starter Kit Integrated Development Environments 10.2 Atollic TrueSTUDIO for ARM See the quick start guide for download details for Atollic TrueSTUDIO for ARM. You will find TrueStudio project files in the atollic subfolder of each project. 10.3 Rowley Associates - CrossWorks for ARM See the quick start guide for download details for CrossWorks for ARM. You will find CrossWorks project files in the rowley subfolder of each project. 10.
EZR32WG 490MHz Wireless Starter Kit Kit Manager and Upgrades 11. Kit Manager and Upgrades The Kit Manager is a program that comes with Simplicity Studio. It can perform various kit and EZR32 specific tasks. 11.1 Kit Manager Operation This utility gives the ability to program the EZR32, upgrade the kit, lock and unlock devices and more. Some of the features will only work with Energy Micro kits, while other will work with a generic J-Link debugger connected. Figure 11.1. Kit Manager 11.
EZR32WG 490MHz Wireless Starter Kit Schematics, Assembly Drawings and BOM 12. Schematics, Assembly Drawings and BOM The schematics, assembly drawings and bill of materials (BOM) for the EZR32WG 490MHz Wireless Starter Kit board are available through Simplicity Studio when the kit documentation package has been installed. silabs.com | Smart. Connected. Energy-friendly. Rev. 1.
EZR32WG 490MHz Wireless Starter Kit Kit Revision History and Errata 13. Kit Revision History and Errata 13.1 Revision History The kit revision can be found printed on the box label of the kit, as outlined in the figure below. Figure 13.1. Revision info Table 13.1. Kit Revision History Kit Revision Released Description A01 02.02.2015 Initial kit release. 13.2 Errata Table 13.2.
EZR32WG 490MHz Wireless Starter Kit Document Revision History 14. Document Revision History Table 14.1. Document Revision History Revision Number Effective Date Change Description 1.2 19.03.2015 Kit Errata added. 1.1 23.02.2015 Minor text revision. 1.00 19.02.2015 Major updates. 0.10 23.12.2014 Initial document version. silabs.com | Smart. Connected. Energy-friendly. Rev. 1.
Simpilcity Studio One-click access to MCU tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! www.silabs.com/simplicity MCU Portfolio www.silabs.com/mcu SW/HW www.silabs.com/simplicity Quality www.silabs.com/quality Support and Community community.silabs.