Silicon Laboratories EZR32WG User Manual

User Manual EZR32WG 915MHz Wireless Starter Kit
The WSTK6222 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.
KIT FEATURES
• Advanced Energy Monitoring
• Packet Trace Interface support
• SEGGER J-Link OB debugger
• Debug Multiplexer supporting external hardware as well as radio board
• Silicon Labs' Si7021 Relative Humidity and Temperature sensor
• Ultra Low power 128x128 pixel Memory LCD
• LEDs / Pushbuttons / Reset button
• 20pin 2.54mm header for expansion boards
• Breakout pads for direct access to all radio I/O pins
• Power sources including USB and CR2032 coin cell holder.
ORDERING INFO
• SLWSTK6222A
silabs.com | Smart. Connected. Energy-friendly. Rev. 1.2
RADIO BOARD FEATURES
• EZR32WG330F256R63G MCU with 256 kB Flash and 32 kB RAM.
• SMA antenna connector
• USB Micro-B connector
• Backup domain capcitor
SOFTWARE SUPPORT
• Simplicity Studio
• Simplicity Profiler
• Simplicity Network Analyzer
• Extensive example set for radio
• Kit Board Support Package
EZR32WG 915MHz 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 .............................2
3. Kit Hardware Layout ............................3
4. Power Supply and Reset ...........................4
4.1 MCU Power Selection ...........................4
4.2 Board Controller Power...........................4
4.3 Backup Power Domain ...........................4
4.4 MCU Reset...............................5
4.5 Board Controller Reset ...........................5
5. Peripherals ................................6
5.1 Push Buttons and LEDs ..........................6
5.2 Memory LCD-TFT Display..........................7
5.3 Backup Domain Capacitor..........................7
5.4 USB Micro-B Connector ..........................8
5.5 Si7021 Relative Humidity and Temperature Sensor .................9
6. Advanced Energy Monitor .........................10
6.1 Introduction...............................10
6.2 Advanced Energy Monitor - Theory of operation ..................10
6.3 AEM accuracy and performance........................11
6.4 Usage ................................11
7. Board Controller .............................12
7.1 VCOM ................................12
8. Board Support Package ..........................13
8.1 Application Programming Interface .......................13
8.2 Example Applications ...........................13
8.3 How to include in your own applications .....................13
9. Connectors ...............................14
9.1 Radio Board breakout pads .........................14
9.2 Debug Connector (DBG) ..........................15
9.3 Simplicity Connector............................16
9.4 Expansion header ............................17
10. Integrated Development Environments ....................20
Table of Contents ii
EZR32WG 915MHz 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
11.1 Kit Manager Operation ..........................22
11.2 Firmware Upgrades ...........................22
12. Schematics, Assembly Drawings and BOM ..................23
13. Kit Revision History and Errata .......................24
13.1 Revision History.............................24
13.2 Errata ................................24
14. Document Revision History ........................25
Table of Contents iii
EZR32WG 915MHz Wireless Starter Kit
Introduction
1. Introduction
1.1 Description
The idea behind the WSTK6222 is to provide a complete development platform for Silicon Labs EZR32 Wonder Gecko Wireless Micro­controllers. The core of the WSTK6222 is the Wireless Starter Kit (WSTK) Mainboard (BRD4001) which feature an on-board J-Link de­bugger, an Advanced Energy Monitor for real-time current and voltage monitoring, a Virtual COM port interface, and access to the Packet Trace Interface (PTI). The WSTK Mainboard is paired with an EZR32 Wonder Gecko radio board that plugs directly into the mainboard. The radio board feature the EZR32 Wonder Gecko itself and the RF interface. All debug functionality, including AEM, VCOM and PTI, can also be used towards an external target instead of the included radio board. To further enhance the WSTK usabili­ty, the WSTK Mainboard contains sensors and peripherals demonstrating some of the Wireless MCU's many capabilities.
1.2 Kit Content
The following items are contained in the box:
• 2x BRD4001A Wireless Starter Kit Mainboards
• 2x BRD4503B EZR32 Wonder Gecko 915 MHz WSTK Radio Boards
• 2x 915 MHz antennas with SMA connector
• 2x CR2032 Lithium batteries
• 2x USB Type A <-> USB Mini-B cables
• 2x USB Type A <-> USB Micro-B cables
Figure 1.1 WSTK6222 Kit Content on page 1 shows the kit content.
Figure 1.1. WSTK6222 Kit Content
1.3 Getting Started
Detailed instructions for how to get started with your new WSTK6222 can be found on the Silicon Labs Simplicity web pages:
http://www.silabs.com/simplicity
silabs.com | Smart. Connected. Energy-friendly. Rev. 1.2 | 1
2. Kit Block Diagram
An overview of the EZR32WG 915MHz Wireless Starter Kit is shown in the figure below.
EZR32WG 915MHz Wireless Starter Kit
Kit Block Diagram
silabs.com | Smart. Connected. Energy-friendly. Rev. 1.2 | 2
Figure 2.1. WSTK6222 Block Diagram
3. Kit Hardware Layout
On-board USB and Ethernet J-Link Debugger
SoC / Radio pin access headers
EZR32 Radioboard
Si7021 Humidity and Temperature Sensor
EXP-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
The layout of the EZR32WG 915MHz Wireless Starter Kit is shown below.
EZR32WG 915MHz Wireless Starter Kit
Kit Hardware Layout
The kit consists of two BRD4001 Wireless Starter Kit Mainboards paired with two BRD4503B plug-in radio boards with the following specifications:
• Wireless MCU: EZR32WG330F256R63G
• CPU core: ARM Cortex-M4
• Flash memory: 256 kB
• RAM: 32 kB
• Sub-GHz transceiver integrated in the Wireless MCU: EZRadioPRO
• Operation frequency: 915 MHz
• Transmit power: 20 dBm
• Single antenna connector both for transmit and receive
• Crystals for LFXO and HFXO: 32.768kHz and 48 MHz.
• Crystal for RF: 30 MHz
• Backup Power Domain Capacitor
• Full speed USB 2.0 (12 Mbps)
Figure 3.1. WSTK6222 hardware layout
silabs.com | Smart. Connected. Energy-friendly. Rev. 1.2 | 3
3.3V
VMCU
AEM
USB
BAT
USB Mini-B
Connector
Advanced
Energy Monitor
5V
3V Lithium Battery
(CR2032 )
Wireless
MCU
USB Micro-B
Connector
USB_VREGI
(5V)
USB_VREGO
(3.3V)
.
B
A
T
U
SB
AE
M
LDO
EZR32WG 915MHz Wireless Starter Kit
Power Supply and Reset
4. Power Supply and Reset
4.1 MCU Power Selection
The EZR32 Wonder Gecko MCU on the WSTK6222 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.
Selecting the power source is done with the slide switch in the lower left corner of the board. Figure Figure 4.1 WSTK6222 Power
Switch on page 4 shows how the different power sources can be selected with the slide switch.
Figure 4.1. WSTK6222 Power Switch
With the switch in the DBG position, an on-board low noise LDO with a fixed output voltage of 3.3V is used to power the MCU. This LDO is again powered from the "J-Link" USB cable. The Advanced Energy Monitor is now also connected in series, allowing accurate high speed current measurements and energy debugging/profiling.
With the switch in the USB position, the integrated linear regulator in the EZR32 Wonder Gecko MCU is used to power the rest of the chip as well as the USB PHY. This allows a USB device application where the MCU acts as a bus powered device.
Finally, with the switch in the BAT position, a 20mm coin cell battery in the CR2032 socket can be used to power the device.
Note:
The Advanced Energy Monitor can only measure the current consumption of the EZR32 when the power selection switch is in the DBG position.
4.2 Board Controller Power
The Board Controller is responsible for important features such as the debugger and the Advanced Energy Monitor, and is powered exclusively through the USB port in the top left corner of the board. This part of the kit resides on a separate power domain, so a differ­ent power source can be selected for the MCU while retaining debugging functionality. This power domain is also isolated to prevent current leakage from the MCU power domain when power to the Board Controller is removed.
4.3 Backup Power Domain
The kit contains a backup capacitor that can be used together with the EZR32 Wonder Gecko's backup power domain. In this case, all other power sources are removed from the kit, and only a small part of the EZR32 runs off the capacitor. It is also possible to enter backup mode while the Board Controller is powered by selecting either BAT or USB with no battery in the socket or USB cable in the connector.
silabs.com | Smart. Connected. Energy-friendly. Rev. 1.2 | 4
EZR32WG 915MHz 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. Removing the Board Controller USB cable will not reset the EZR32, but whenever the Board Controller is powered up again, it will issue a RESET to the EZR32 through the on-board debugger.
silabs.com | Smart. Connected. Energy-friendly. Rev. 1.2 | 5
EZR32WG 915MHz 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. They are connected to the EZR32, and are debounced by RC filters with a time constant of 1ms. The buttons are connected to pins PC8 and PC9.
In addition to the two push buttons, the kit also features two yellow LEDs marked LED0 and LED1, that are controlled by GPIO pins on the EZR32. The LEDs are connected to pins PC10 and PC11 in an active-high configuration.
Figure 5.1. Buttons/LEDs
silabs.com | Smart. Connected. Energy-friendly. Rev. 1.2 | 6
Loading...
+ 20 hidden pages