UM0602
User manual
ZigBee® USB dongle demonstration kit (STEVAL-IFS013V2)
1
Introduction
This document describes the hardware and software of the STMicroelectronics™ ZigBee
®
USB dongle demonstration kit working under the Microsoft
®
Windows
®
98/2000/XP
operating systems.
The purpose of this design is to demonstrate the key features of STMicroelectronics ZigBee
PRO compliant wireless networking solutions. ZigBee PRO, the leading wireless control and
sensory network solution, stands apart from other RF solutions as the only standards-based
technology that:
■
■
■
Addresses the unique needs of remote monitoring and control, and sensory network
applications
Enables broad-based deployment of wireless mesh networks with low-cost, low-power
solutions
Provides the ability to run for years on inexpensive primary batteries for a typical
monitoring application.
This particular demonstration kit primarly offers USB interface operating either under USB
communication device class (CDC) for virtual COM port connectivity or under device
firmware upgrade (DFU) class for reprogramming an application through USB. All design
source data are coming together with the kit and are ready to be reused in next
development. Target applications are: ZigBee network analysis and control through your PC,
universal PC based ZigBee “sink” node, low cost PC based node for rapid start of ZigBee
technology evaluation.
August 2009
Doc ID15114 Rev 2
1/18
www.st.com
Contents
UM0602
Contents
1
2
3
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1
3.2
System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Package contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2.1
3.2.2
3.2.3
Hardware content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Software content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.3
3.4
Software driver installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Hardware installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.4.1
3.4.2
3.4.3
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
STM32 JTAG interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
SPZB260-PRO debug and programming interface (SIF) . . . . . . . . . . . . . 8
4
Software equipment of the evaluation kit . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1
4.2
4.3
Design firmware update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Virtual COM port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Sensor - sink ZigBee application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.3.1
4.3.2
4.3.3
4.3.4
Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Sink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Serial commands supported on sensor and sink . . . . . . . . . . . . . . . . . . 10
Notes and limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5
6
7
8
Running the USB to ZigBee dongle evaluation kit . . . . . . . . . . . . . . . . 12
Updating demonstration application in the evaluation kit . . . . . . . . . 14
Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2/18
Doc ID 15114 Rev 2
UM0602
List of tables
List of tables
Table 1.
Table 2.
Table 3.
Serial commands supported on sensor and sink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Serial commands supported on sink only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Doc ID 15114 Rev 2
3/18
List of figures
UM0602
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Device manager window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
USB to ZigBee dongle based on STM32 and SPZB260-PRO . . . . . . . . . . . . . . . . . . . . . . . 7
Control of sensor - sink demonstration application through Windows HyperTerminal . . . . 12
Windows HyperTerminal serial port settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Evaluation board schematics - microcontroller part . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Evaluation board schematics - ZigBee and interface connectors part . . . . . . . . . . . . . . . . 16
4/18
Doc ID 15114 Rev 2
UM0602
Description
2
Description
The ZigBee USB dongle demonstration kit tool is designed to demonstrate several
STMicroelectronics products:
■
SPZB260-PRO is a low power consumption ZigBee module optimized for embedded
applications. It enables OEMs to easily add wireless capability to electronic devices.
The module is based on SN260 ZigBee network processor which integrates 2.4 GHz,
IEEE 802.15.4-compliant transceiver as well as IEEE 802.15.4 PHY and MAC. 24 MHz
high stability Xtal is available aboard the module to perform the timing requirements as
per ZigBee specifications. A single supply voltage is requested to power the module.
An integrated 2.5 GHz specific Murata antenna is aboard. The voltage supply also
determines the I/O ports level allowing an easy interface with the host system. The
module is controlled by means of a standard serial interface (SPI) allowing the
connections to a variety of host microcontrollers.
The medium density devices STM32F103xx performance line family incorporates the
high-performance ARM
®
Cortex™-M3 32-bit RISC core operating at a 72 MHz frequency,
high-speed embedded memories (Flash memory up to 128 Kbytes and SRAM up
to 20 Kbytes), and an extensive range of enhanced I/Os and peripherals connected to two
APB buses. All devices offer two 12-bit ADCs, three general purpose 16-bit timers plus
one PWM timer, as well as standard and advanced communication interfaces: up to two
I
2
Cs and SPIs, three USARTs, an USB and a CAN. The STM32F103xx performance line
family operates from 2.0 to 3.6 V power supply. It is available in both the –40 to +85 °C
temperature range and the –40 to +105 °C extended temperature range.
A comprehensive set of power-saving mode allows designing low-power applications.
The complete STM32F103xx performance line family includes devices in 5 different
package types: from 36 pins to 100 pins.
■
Doc ID 15114 Rev 2
5/18