ST ZigBee SNDEV-260 User manual

April 2009 Rev 6 1/40
UM0433
User manual
SNDEV-260 ZigBee® kit
Introduction
This document describes the SNDEV-260 ZigBee® kit which is a full-featured tool kit which
offers all the hardware and software needed for deployment of wireless networks for remote
monitoring, sensing, and control-network applications based on the ZigBee® standard.
The kit provides a complete hardware/software development environment and network
system (3 nodes) that uses the SN260 ZigBee® network processor and the EmberZnet™
ZigBee® advanced wireless protocol stack.
The kit facilitates application development with sample applications and a complete software
tool set that includes Ember's InSight™ Desktop with Network Traffic Analyzer to display
network and node activity in real time.
This user guide is intended to provide an overall description of the software and hardware
requirements for the SNDEV-260 ZigBee® kit, instructions for setting up the hardware and
building the wireless application examples as well as describing known limitations and
issues at release time.
Due to the total compatibility between the SN260 and EM260, and the partnership between
the two companies, some documents have been kindly supplied by Ember.
List of key words
EmberZNet: ZigBee® stack running over the SN260 silicon
EZSP: Ember ZigBee® Serial Protocol
HAL: Hardware Abstraction Layer
ISA: InSight™ Adapter
ISD: InSight™ Desktop
POE: Power Over Ethernet
RCM: Radio Communication Module
RIDE: Raisonance Integrated Development Environment
www.st.com
Obsolete Product(s) - Obsolete Product(s)
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
Contents UM0433
2/40
Contents
1 Release notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 SNDEV-260 kit hardware and software content . . . . . . . . . . . . . . . . . . . 5
2.1 Hardware components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1.1 SN260 radio communication module (RCM) . . . . . . . . . . . . . . . . . . . . . . 5
2.1.2 REva board for ZigBee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.3 STM32F103RBT6 daughter board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.4 InSight adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.5 External equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Software components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.1 EmberZnet™ ZigBee compliant networking stack . . . . . . . . . . . . . . . . . . 8
2.2.2 EZSP and HAL libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.3 Ride7 toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.4 IAR toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2.5 InSight™ Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.3 Hardware setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3.1 Module/cable connections for applications building and uploading . . . . 13
2.3.2 REva board jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3.3 REva power area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3.4 Daughter board jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3.5 Raisonance RLink jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.3.6 Setting up the InSight adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.4 Building the EZSP and HAL libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.5 Wireless application examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.5.1 Setup the application serial communication channel . . . . . . . . . . . . . . . 19
2.5.2 Sensor, sleepy sensor and sink applications . . . . . . . . . . . . . . . . . . . . . 21
2.5.3 Light and switch applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.5.4 Range test application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.5.5 Version application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3 Setting up a network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.1 Setting up a sink and sensor ZigBee network . . . . . . . . . . . . . . . . . . . . . 30
3.2 Setting up a light and switch ZigBee network . . . . . . . . . . . . . . . . . . . . . . 32
3.3 Setting up a ZigBee network for RF testing . . . . . . . . . . . . . . . . . . . . . . . 34
3.4 Monitoring network activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4 Updating the EmberZNet stack image . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.1 Update the stack image using the Insight adapter tool . . . . . . . . . . . . . . 37
4.2 SPI bootloader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 Contents
3/40
5 Limitations and support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
Release notes UM0433
4/40
1 Release notes
The SNDEV-260 kit library package supports the STMicroelectronics STM32F103x
microcontroller whose hardware daughterboard is supplied with the kit.
It also supports STMicroelectronics’ STR71xF, STR75xF and STR91xF microcontrollers
which are not part of the kit. The ST7LITE39 microcontroller is no longer supported.
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 SNDEV-260 kit hardware and software content
5/40
2 SNDEV-260 kit hardware and software content
This section describes the SNDEV-260 kit contents.
2.1 Hardware components
The SNDEV-260 ZigBee® kit includes 3 hardware nodes.
Each individual hardware node in SNDEV-260 kit consists of:
●1 radio communication module SN260 RCM
●1 REva board for ZigBee + RLink adapter attached + USB cable
●REva daughterboard (with the ST microcontroller)
●1 InSight Adapter (plus a USB connector) to monitor any type of exchange
●1 InSight Port cable
●1 small bag of jumpers
●1 USB-mini cable
2.1.1 SN260 radio communication module (RCM)
The SN260 radio communication module (RCM) offers a complete ZigBee wireless solution
for development and deployment of a low-data-rate, low-power ZigBee application. The
SN260 RCM works combined with a ST host microcontroller (STM32F103RBT6), using the
kit application board.
The RCM directly attaches to the kit application board which contains the ST microcontroller
daughter board. The ZigBee application runs from the ST microcontroller and
communicates with the SN260 through the EZSP APIs. Each radio communication module
is assigned a unique IEEE 64-bit identifier (EUI-64). This number is printed on a label affixed
to the bottom of the module and can also be viewed in InSight Desktop. For detailed
information about the radio communication module, see the technical specification in your
kit.
Note: The SN260 Network Processor is provided with the Ember ZigBee-compliant EmberZNet
stack image already downloaded on it. To update the stack image stack, follow the
instructions in Section 4: Updating the EmberZNet stack image on page 37.
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
SNDEV-260 kit hardware and software content UM0433
6/40
2.1.2 REva board for ZigBee
The REva ZigBee Raisonance board is provided with the kit. This board hosts the SN260
RCM modules and the ST microcontroller daughter board allowing running ZigBee
applications.
The REva ZigBee Raisonance board is made up of a generic mother board with embedded
RLink in-circuit programmer and debugger, a daughter board featuring a target
microcontroller and a ZigBee network area. The REva ZigBee Raisonance board has the
following components:
●ZigBee area for hosting a SN260 RCM module
●Digital and analog I/O evaluation features including on-board LEDs, buttons, switches,
buzzer, etc.
●On-board RS232 driver and DB9 connector
●SPI, CAN and USB connections (depending on the target device)
●Embedded RLink for in-circuit debugging and in-circuit programming
●VDD settings for 1.8V, 3.3V and 5V microcontrollers
●USB powered, no external power required
In addition, an USB cable for programming the ST microcontroller using the RIDE toolset
(and also to power the overall board) is provided.
Note: It is also possible to power the REva board using an external power supply (9V) and setting
the REva power jumper to the specific position (in particular, this configuration is used with
the IAR toolset).
2.1.3 STM32F103RBT6 daughter board
The STM32F103RBT6 daughter board includes the following components:
●1 STM32F103 microcontroller
●various jumpers for the chip configuration (boot mode, etc.)
●a 8-MHz crystal clock and USB clock generation
●a 32-kHz crystal for RTC operation
●1 USB mini-B connector
●1 CAN bus driver
Note: The supported STR711FR2, STR750FV2 and STR912FW44 REva daugther boards are not
part of the kit.
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 SNDEV-260 kit hardware and software content
7/40
2.1.4 InSight adapter
The SNDEV-260 kit includes InSight Adapter which connects the application board to the
Ethernet. Each adapter transmits network data collected by InSight Port and conveys it over
its Ethernet connection to InSight Desktop tool. It also picks up any messages or new
software that is addressed to this board, and processes emulation and debug commands.
ISA allows the host PC interfacing to the hardware node during debugging and
programming.
The InSight Adapter has the following components:
●10-pin InSight Port for interfacing to the radio communication module (providing
programming and debugging services)
●TCP/IP 10/100 Ethernet interface with Power-over-Ethernet functionality.
It is possible to supply power to an Insight adapter over a standard Ethernet cable using a
Power-over-Ethernet switch (not provided with the kit).
The single ISA can be also powered through a DC power jack, for applications not using
Power-over-Ethernet.
Note: Power-over-Ethernet is disabled when the InSight Adapter is powered with the12V DC
power input. However, the Ethernet data is still available.
For detailed information about the InSight Adapter, see the relative document in your kit.
2.1.5 External equipment
To setup a ZigBee network, using the SNDEV-260 hardware and software components, the
minimum external equipment required is a PC (Windows 2000 or XP) with the Raisonance
Ride7 toolset. For more information, refer to Section 2.2.3: Ride7 toolset on page 11.
When using the IAR toolset, the following equipment is required for programming (and/or
debugging):
●IAR J-Link JTAG emulator hardware for programming/debugging
●External power supply (9 V) for powering the REva board
Cabling:
●Serial cable (for connecting the REva board serial SER1 to a PC RS232 port)
●USB mini cable (for connecting the STM32F103x or STR71x-9x USB mini-B connector
to a PC USB port)
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
SNDEV-260 kit hardware and software content UM0433
8/40
2.2 Software components
The SNDEV-260 ZigBee kit includes the following software components:
●EmberZnet™ ZigBee compliant networking stack
●EZSP library for driving the SN260 (by STMicroelectronics) or EM260 (by Ember)
ZigBee devices
●HAL library for addressing some of the hardware platform devices and capabilities
●Certain wireless application examples:
– Sensor and sink
– Light switch
– Range test
●Ride7 toolset (Ride7 IDE Version 7.02.001 and RKit-Arm for Ride7 1.05.001) used for
the STM32F103x and STR7x-91x ARM microcontroller family libraries and applications
building and running
●InSight Desktop DEVeloper (3 nodes, 10k events)
2.2.1 EmberZnet™ ZigBee compliant networking stack
The EmberZnet™ ZigBee compliant networking stack is an advanced wireless protocol
stack that runs on the SN260 network processor, and provides algorithms for creating
reliable, flexible, and secure networks.
For information about the EmberZnet™ ZigBee stack, see the related documentation in your
kit.
2.2.2 EZSP and HAL libraries
Figure 1 describes the SNDEV-260 ZigBee® kit library package layout.
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 SNDEV-260 kit hardware and software content
9/40
Figure 1. SNDEV-260 ZigBee® kit library package layout
ezsp
hal
include
docs
bin
ezsp header files
ezsp sources files (EZSP APIs)
ezsp_hal.rprj Ride7 project for building the
ezsp_hal.lib library image (used for STM32F103x
and STR7x-STR9x microcontrollers)
Board/ST microcontroller dependencies
header files
HAL header files
HAL sources files (HAL APIs)
Header files (specific types, required by the
EZSP APIs and potentially available for
developing applications)
(Access point to all the available documents)
(User Guide, EZSP, HAL APIs …)
A pre-built library image (for STM32F103x)
Pre-built image of a simple ZigBee application
(for STM32F103x)
Pre-built images of the sensor and sink
applications (for STM32F103x)
EmberZNet stack image file
It contains the application loader files (which
allow loading the EmberZNstack image
em260-spi.hex into the SN260 silicon)
SN260 range test (RF quality statistics) image
files
include
src
libs
config
include
src
header files
index.html
other docs
ezsp_hal_2_x.lib
version.hex
sensor.hex, sink.hex
em260-spi.hex
em2xx_load
em260-rangetest.hex
Pre-built images of the light and switch
applications (for STM32F103x)
light.hex, switch.hex
It contains the STM32F103x utility for upload
the stack image through the SPI.
spi_bootloader
serialUSB virtual COM through USB serial
communication support
Support for STM32F103x and STR71x-91x
USB devices USB devices
virtualcom
usblib
stlib STM32F103x, STR7x-91x firmware libraries
header files
STM32F103x, STR7x-91x firmware libraries
binaries files
include
libs
STM32F103x, STR7x-91x firmware libraries
startup files
startup
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
SNDEV-260 kit hardware and software content UM0433
10/40
The util directory includes functions for handling the ZigBee source routing, security,
fragmentation, network, ZDO and command line interface.
Figure 2 describes the util directory layout.
Figure 2. util directory layout
Certain application examples are provided to show ZigBee network functions. The kit
includes two simple applications (light and switch) to control a light source. There are also
three more complex applications (sink, sensor and sleepy sensor) to configure a distributed
sensors network and a prebuilt range test application to perform a simple send/receive test
on the device to determine its range and generally test its radio function.
An app directory is provided within the SNDEV-260 kit for hosting applications built over the
EZSP and HAL libraries.
Figure 2 describes the app directory layout.
table
security
Header file for source routing functions
Source routing functions
Header files for ZigBee security
functions
ZigBee security functions
include
src
include
src
util
fragmentation Header files for fragmentation
functions
Fragmentation functions
include
src
networkManager Header files for networkManager
functions
networkManager functions
include
src
zdo Header files for zdo functions
zdo functions
include
src
cli Header files for command line
interface functions
Command line interface functions
include
src
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 SNDEV-260 kit hardware and software content
11/40
Figure 3. app directory layout
Furthermore, for each application, the corresponding IAR workspace is provided to enable
the user to directly build the application using the IAR toolset.
Note: 1 The ezsp_hal library does not provide an IAR workspace.
2 This version of the SNDEV-260 ZigBee package provides the IAR workspaces only for
STM32F103x, STR71x and STR91x microcontrollers.
3 The sleepy sensor application is only supported for the STM32F103RBT6 microcontroller.
4 The version application is a simple single node application which enables basic ZigBee
operations to be performed: stack initialization, stack version and EUI64 Node ID. It can be
used just for checking that the application board, ST microcontroller and SN260 RCM
modules are correctly connected and communicating. It does not enable the use of any
ZigBee networking features.
5 The available pre-built images of version.hex, light.hex, switch.hex, sensor.hex, sink.hex and
ezsp_hal.lib are provided only for STM32F103x microcontrollers (not the STR7x or
STR91x).
The libraries and applications are distributed through a specific link in the
STMicroelectronics web site.
2.2.3 Ride7 toolset
The Raisonance Ride7 toolset (Ride7 IDE Version 7.02.001 and RKit-Arm for Ride7
1.05.001) is used for the library, applications building and running with the STM32F103x,
STR7x-91x ARM microcontroller family. Ride7 is the new integrated development
environment, designed for the development of ST microcontroller projects. This tool
automatically manages file dependencies so that a makefile is not necessary.
The toolset is available by selecting “Download the latest CD-ROM image” at
http://www.stm32circle.com/resources/tools.php
sink_sensor
version
Ride7 projects for the sink, sensor and sleepy
sensor applications: sink.rprj, sensor.rprj and
sleepy_sensor.rprj (only for STM32F103x)
Application header file
Application sources files
Ride7 project for the version application:
version.rprj
Application source files
app
include
src
app
src
app
light Ride7 projects for the light and switch
applications: light.rprj and switch.rprj.
Application source files
app
src
Application header file
include
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
SNDEV-260 kit hardware and software content UM0433
12/40
2.2.4 IAR toolset
The IAR Embedded Workbench IDE for ARM toolset (version 4.42A which supports the
ARM Cortex processor) is also used for building and running applications. The IAR
Embedded Workbench IDE for ARM is a very powerful integrated development environment
used for developing and managing complete embedded applications projects.
Note: 1 For programming (and/or debugging) using the IAR toolset, an IAR J-Link JTAG emulator is
required. The IAR J-Link is a JTAG emulator designed for ARM cores. It connects via a USB
port to a PC running Windows 2000 or XP. It has a built-in 20-pin JTAG connector, which is
compatible with the standard 20-pin connector defined by ARM. Using the IAR J-Link, an
external power supply is required for powering the REva board. The 9V power supply should
output 9V DC and have a 2.1 x 5 mm jack with the ground signal on the outside.
2 The first time the IAR J-link is plugged in the PC USB port, the user is requested to provide
the relative J-Link driver, browse to the IAR installation directory and select the folder ARM,
drivers, and Jlink.
3 When disconnecting the IAR J-Link from the PC USB port, also unplug the IAR 20-pin JTAG
connector from the REva on-board 20-pin JTAG ISD connector.
4 The IAR toolset and the IAR J-Link are not provided with the kit. For detailed information
about the IAR products, refer to the www.iar.com web site.
2.2.5 InSight™ Desktop
InSight™ Desktop is a graphical tool that displays network and node activity in real time. It
provides a rich and flexible interface to embedded networks, which helps you develop and
debug new network applications. InSight Desktop includes these features:
●Multiple editor panes that provide tiered views of network activity, letting you drill down
from a high-level map of node interactions to the details of each packet.
●Customizable filters that let you specify exactly which network activities to display.
●Log files that save captured data, so you can step through transactions and events for
detailed analysis.
●A file browser that lets you easily upload new applications to any connected node.
●A browser-based interface for automatic discovery of Ethernet-connected adapters,
and easy management of adapter applications.
The InSight Desktop DEVeloper supports up to 3 nodes and 10,000 radio events and
includes a 6-month support and maintenance agreement.
For detailed information about InSight Desktop, refer to the InSight Desktop User's Guide in
your developer kit.
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 SNDEV-260 kit hardware and software content
13/40
2.3 Hardware setup
2.3.1 Module/cable connections for applications building and uploading
Please ensure that the target hardware is connected as described below:
1. Plug the SN260 radio communication module on the REva Raisonance two 6-pin,
single row, and 0.1-inch pitch sockets present in the wrapping zone (they allow direct
connection of the RCM module to the REva ZigBee platform).
2. Plug the ST microcontroller daughter board into the specific REva socket.
3. If using the Ride7 toolset, set the REva power jumper according to the settings
described in Section 2.3.2 and plug the REva USB cable into the PC USB port and the
RLink port.
4. If using the IAR toolset, set the REva power jumper according to the settings described
in Section 2.3.2 and plug an external power supply connector into the REva 9V DC
input jack.
5. Plug the IAR J-Link 20-pin JTAG connector to the REva on-board 20-pins ISD
connector and the J-Link USB cable to a PC USB port.
6. If the application requires displaying debugging messages and/or interaction with the
user, the following serial communication channels are supported:
– Serial COM through RS232 (for all microcontrollers)
Connect a serial cable to the PC serial port and to the REva SER1 port.
– Virtual COM through USB (only for STM32F103x and STR71x-91x
microcontrollers)
Connect the USB-Mini cable to the STM32F103x or STR71x-9x USB mini-B
connector.
Caution: When unplugging the USB cable from the mini-B connector of the STM32F103x or STR71x-
9x daughter board, always hold the daughter board with one hand while removing the cable
with the other. Otherwise, the daughter board may be torn off from the SO-DIMM connector.
2.3.2 REva board jumper settings
Table 1 lists the jumper settings for REva board functional areas (inputs, outputs, analog,
and com) when using STM32F103x, STR71x, STR75x and STR91x daughter boards.
Table 1. Settings when using STM32F103x, STR71x, -75x and -91x daughter boards
Jumper Setting Purpose
D7 Fitted Enable LED D7 (available for application use)
D6 Fitted Enable LED D6 (available for application use)
D5 Fitted Enable LED D5 (available for application use).
D4 Unfitted Exclusively used for the SN260 to the ST microcontroller
serial communication over the SPI interface.
D3 Unfitted Exclusively used for the SN260 to the ST microcontroller
serial communication over the SPI interface.
D2 Fitted Enable LED D2 (available for application use).
D1 Unfitted Exclusively used for the SN260 to the ST microcontroller
serial communication over the SPI interface.
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
SNDEV-260 kit hardware and software content UM0433
14/40
2.3.3 REva power area
Ride7 environment
When using the REva power jumper settings in a Ride7 environment, keep the default
configuration (USB power supply) as shown in Figure 4.
Figure 4. REva power area (USB power supply)
D0 Unfitted Exclusively used for the SN260 to the ST microcontroller
serial communication over the SPI interface.
BT5 Fitted Enable the BT5 button (available for application use).
BT6 Fitted Enable the BT6 button (available for application use). Note
that the POL jumper also has to be fitted to _| |_ position.
POL
Fitted as |_| for
STM32F103x and
STR91x.
Fitted as _| |_ for STR71x
and STR75x
Enable the BT6 button.
BUZZ Fitted Enable buzzer (available for application use).
TX Fitted Enable serial transmission (available for application use).
RX Fitted Enable serial reception (available for application use).
Table 1. Settings when using STM32F103x, STR71x, -75x and -91x daughter boards
Jumper Setting Purpose
Regulated voltage supplied from USB (configured by the daughter board)
USB (5V)
Jack
REG
VDD
1
2
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 SNDEV-260 kit hardware and software content
15/40
IAR environment (IAR J-Link JTAG emulator and external power supply)
When using the REva power jumper settings in an IAR environment, set the jumper for an
external power supply as shown in Figure 5.
Figure 5. REva power area (external power supply)
2.3.4 Daughter board jumper settings
REva STM32F103x daughter board
For the REva STM32F103x daughter board, Tabl e 2 and Figure 6 show the default settings.
Figure 6. Boot mode setting for STM32F103x daughter board
REva STR71x daughter board
For the REva STR71x daughter board, Ta bl e 3 and Figure 7 show the default settings.
Regulated voltage supplied from jack (configured by the daughter board)
USB (5V)
Jack
REG
VDD
1
2
Table 2. REva STM32F103x daughter board
Jumper Setting Purpose
FLASH Fitted Flash boot mode
RAM Unfitted RAM boot mode (the Flash boot mode is used)
Table 3. REva STR71x daughter board
Jumper Setting Purpose
FLASH Fitted Flash boot mode
RAM Unfitted RAM boot mode (the Flash boot mode is used)
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
SNDEV-260 kit hardware and software content UM0433
16/40
Figure 7. Boot mode setting for STR71x daughter board
REva STR75x daughter board
For the REva STR75x daughter board, Ta bl e 4 shows the default settings.
Note: The STR91x cannot boot from RAM. As a consequence, no specific boot jumpers are
present on the STR91x daughter board.
2.3.5 Raisonance RLink jumper settings
When using STM32F103x, STR71x, STR75x and STR91x daughter boards, just keep the
default jumper settings as shown in Figure 8.
Figure 8. Power area for Raisonance RLink (STM32F103x, STR71x, -75x and -91x)
Table 4. REva STR75x daughter board
Jumper Setting Purpose
Boot0 = 0 Fitted Flash boot mode
Boot0 = 1 Unfitted Flash boot mode
Boot1 = 0 Fitted Flash boot mode
Boot1 = 1 Unfitted Flash boot mode
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 SNDEV-260 kit hardware and software content
17/40
2.3.6 Setting up the InSight adapter
As shipped, InSight adapters are configured with DHCP mode enabled and a preassigned
host-name. Each InSight adapter carries a label with its host-name. Hostnames for all
InSight adapters in the kit also appear on a printed hardware ID list, which are mapped to
their EUI-64 identifiers, and the serial numbers of matching radio communication modules.
Note: InSight adapters are accessible through their assigned hostnames only if your DHCP
system populates DNS records automatically. Otherwise, you must access them through
their IP addresses. Alternatively, you can set up a hosts file on your local computer that
maps host names to IP addresses. If you are using static IP addresses, make sure that they
do not conflict with other network addresses.
Configure the InSight adapter for static IP addresses
In order to access to the administration interface on the ISA, via the USB connector, a driver
is needed for the USB<->Serial converter used. This driver can be acquired through the
FTDI website (http://www.ftdichip.com/Drivers/VCP.htm).
If your site is configured for static IP addresses the InSight Adapter can be configured for
static IP address as follows:
●Connect the USB cable from your workstation to the InSight adapter's USB connector.
●From your workstation, run a standard terminal emulation program to connect to the
InSight adapter (the InSight adapter appears as a COM port).
●Configure your terminal emulator with these settings:
– 115200 (baud)
– 8 (data bits)
– n (no parity)
– 1 (stop bit)
– Flow Control = None
●Issue the following InSight adapter commands through the terminal emulator:
ip_static <ipaddress> <netmask> <gateway>
ip_dhcp off
●Reboot the application board by pressing the red RESET button on the front of the
InSight adapter.
At the same way, it is possible to change the default hostnames assigned to the ISA
modules following the same steps previously described and issuing this command:
hostname set <new-hostname>
To verify the new host name, issue the InSight adapter command config, which returns with
the new hostname.
ISA hardware connections
To attach the InSight adapter follows these steps:
1. Plug the InSight port cable into the InSight adapter.
2. Plug the InSight port cable into the radio communication module.
3. Verify that the InSight adapter's RCM Power Select switch is set to Int.
4. Power on the Insight adapter (it obtains its power from an AC adapter or a Power-over-
Ethernet switch).
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
SNDEV-260 kit hardware and software content UM0433
18/40
To remove the InSight adapter follows these steps:
1. Unplug the InSight port cable from the radio communication module.
2. Unplug the InSight port cable from the InSight adapter.
3. Power off the Insight adapter.
To perform a hardware reset of an InSight adapter, press its red reset button in front. You
can reset the software for the InSight adapter simply connecting or disconnecting an
Ethernet cable from the application board.
Note: To avoid communication problems, verify that each radio communication module is firmly
seated in its application board connector, and its InSight port cable is properly seated.
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
UM0433 SNDEV-260 kit hardware and software content
19/40
2.4 Building the EZSP and HAL libraries
The library software relies on the software and build system framework introduced in the
library layout section. What follows is a short introduction, aimed at getting enough
knowledge to be able to build the software library using the Ride7 toolset.
STM32F103x, STR7x-9x microcontrollers specific library building steps
(Ride7 toolset)
1. Open the Ride7 toolset.
2. From the Project, Open Project menu, open the ezsp\libs\ezsp_hal.rprj Ride7 project.
3. From the Options menu, open Project Properties, Configuration and select
ST_STM32_2_x.
4. From the Project menu, select Build Project: a ezsp_hal_2_x.lib library is produced in
the ezsp\libs directory.
Note: 1 The ST_STM32_2_x configuration builds the ezsp_hal library image using the latest
available STM32F10xxx V2.0 firmware library. The ST_STM32_1_x configuration allows to
build the ezsp_hal library image (ezsp_hal_1_x.lib) using the STM32F10xxx V1.0 firmware
library.
2 For building the ezsp_hal library image for the STR711FR2, STR912FW44, STR750FV2
microcontrollers, select the related configurations from Options, Project Properties,
Configuration menu.
2.5 Wireless application examples
Certain wireless applications are provided for allowing a ZigBee network to be set up using
the included hardware and software components. The SNDEV-260 ZigBee kit components
allow to setup and monitoring the following ZigBee networks:
●1 sink and 2 sensors (or sleepy sensors) network
●1 light and 2 switches network
●2 or 3 nodes network performing the Range test application for RF evaluation
To set up a ZigBee network, the following steps are required:
1. Load each SN260-DEV kit node with the specific application.
2. Select a 3-node ZigBee network using the kit hardware and software tools (InSight
Desktop).
3. Setup the serial communication channel as described in Section 2.5.1.
2.5.1 Setup the application serial communication channel
The provided application examples require displaying debugging messages and/or
interaction with the user. Two serial communication channels are supported: serial COM
through RS232 or virtual COM through USB.
Downloaded from Elcodis.com electronic components distributor

Obsolete Product(s) - Obsolete Product(s)
SNDEV-260 kit hardware and software content UM0433
20/40
Setup a serial COM through RS232 (for all microcontrollers)
1. Connect a serial cable between the PC serial port and the REva SER1 port.
2. Open a HyperTerminal on the serial COM port with the following configuration (the
application messages and /or interactions come through the serial HyperTerminal):
–Bit rate: 9600
–Data bits: 8
–Parity: None
–Stop bits: 1
–Flow control: None
Setup a virtual COM communication through USB (only for STM32F103x, and
STR71x-91x microcontrollers)
1. Connect the USB-Mini cable to the STM32F103x or STR71x-91x USB mini-B
connector and to a PC USB port. (The first time a STM32F103x or STR7x-STR9x USB
device is plugged to the PC USB port, the user is required to install the relative USB
software driver: select file stmcdc.inf in the serialUSB directory).
2. Using the mouse, right click on My Computer, select Manage, Device Manager, and
open Ports (COM and LPT) to display a STR71x-91x CDC communication port on a
specific COMx port. The STM32F103x or STR71x-91x USB device has been
recognized.
3. Open a HyperTerminal on the corresponding USB virtual COMx port with the following
configuration:
–Bit rate: 9600
–Data bits: 8
–Parity: None
–Stop bits: 1
–Flow control: None
Reset a virtual COMx communication channel
1. Disconnect the COMx HyperTerminal.
2. Reset the REva board (STM32F103x or STR91x case) or Power OFF/ON the board
(STR71x case).
3. Make a call on the COMx HyperTerminal: the application messages and /or interactions
come through the COMx HyperTerminal.
Note: 1 When resetting the STR711FR2 microcontroller (through the REva RESET button), the PC
is not able to enumerate again the STR71x USB device. To reset the STR71x USB device,
power OFF/ON the REva board.
2 The PC is able to recognize only a single STR71x-STR91x USB device when plugged on a
PC USB port. When connecting a second STR71x-STR91x USB device to another PC USB
port, the PC will not recognize it.
3 If both the connectors (USB-mini and RS232) are connected, the virtual COM through USB
communication is automatically selected by the application.
Downloaded from Elcodis.com electronic components distributor
Table of contents
Other ST Computer Hardware manuals

ST
ST ST25DV-DISCOVERY User manual

ST
ST X-NUCLEO-IHM03A1 User manual

ST
ST STM32F411 User manual

ST
ST STNRG328S User manual

ST
ST EVLKST8500GH-2 User manual

ST
ST X-CUBE-SBSFU User manual

ST
ST STEVAL-MKI015V1 Quick start guide

ST
ST QFN20 User manual

ST
ST EVALSPEAr320HMI User manual

ST
ST ControlBD-7FMC2 User manual

ST
ST STEVAL-CCH002V2 User manual

ST
ST STDES-65ACFADP Specification sheet

ST
ST STEVAL-ETH001V1 User manual

ST
ST STM32 Nucleo User manual

ST
ST STEVAL-BCN002V1B User manual

ST
ST X-NUCLEO-IDW04A1 User manual

ST
ST X-NUCLEO-IHM04A1 User manual

ST
ST STM32U5 User manual

ST
ST STM32 Nucleo User manual

ST
ST X-NUCLEO-IOD02A1 User manual