Modem Manual
Modem Manual
RF Module
Migration Guide
Contents
Introduction ........................................................................................................... 3
Configuration ......................................................................................................... 6
Introduction
Digi has updated and ported its XBee Zigbee firmware from the XBee/XBee-PRO ZB (S2C) hardware
based on the SiLabs EM357 SoC, to the Digi XBee 3 (Micro) hardware based on the SiLabs EFR32 SoC.
This guide will assist you with migration to the new platform. While basic functionality and
communication are similar and compatible, there are some differences to consider. This newer
platform provides several major advantages over the existing platform, which we describe in this guide,
along with other migration considerations.
What’s new
The Digi XBee 3 Zigbee 3.0 introduces some new features such as:
Addition of the "Micro" (MMT) form factor
Built on the latest Zigbee 3.0 specifications
Capable of firmware migration to Zigbee, DigiMesh™ or Digi 802.15.4 protocols
New, reliable and secure, firmware over-the-air (FOTA) update process based on the ZCL OTA
update standard
Lower operating receive current
Power on channel 26 is increased on the PRO and power cap on channel 26 is removed for non-
PRO
Improved RF sensitivity and output power without the need for boost mode
Bluetooth Low Energy (BLE) support for configuration, data transmission, and beaconing
Supports MicroPython and a file system with OTA update support
Support for I2C through MicroPython
SRP authenticated remote access (Secure Session)
Specification considerations
Specification comparison between the legacy XBee/XBee-PRO ZB (S2C) and the new Digi XBee 3 Zigbee
3.0.
Low-Power (non-PRO) variant
Considerations Legacy XBee ZB New Digi XBee 3 Comments
(S2C) Zigbee
Indoor/urban range Up to 60 m (200 ft) Up to 60 m (200 ft) Same
Outdoor RF line-of Up to 1200 m (4000 ft) Up to 1200 m (4000 ft) Same
sight
Transmit power 6.3 mW (+8 dBm), 6.3 mW (+8 dBm) No power cap on channel 26
output boost mode
3.1 mW (+5 dBm),
normal mode
Channel 26 max
power is +3 dBm
Pin signals
The Digi XBee 3 Zigbee 3.0 is available in three different form factors, Surface Mount (SMT), Through
Hole (TH), and the newly introduced XBee 3 Micro (MMT). The SMT and TH versions are pin compatible
with existing XBee/XBee-PRO ZB (S2C) SMT and TH hardware. This hardware is drop-in replaceable. In
order to fit all necessary pin connections on the XBee 3 Micro, three pins on the SMT were removed and
the remaining pins were shifted. These pins were unused on the SMT module. These pins were unused
on the SMT module. See the XBee 3 Hardware Reference Manual for more information.
Configuration
Using XCTU, you can load the appropriate firmware to fit your current needs within the regulatory
guidance of the region of deployment. See the XBee 3 Zigbee User Guide for more information.
Overvoltage detection
An overvoltage 0x8A modem status frame with a 0x0D status byte will warn the user of VCC input
voltages exceeding the maximum rated 3.6 Volts with a 0.1 Volt margin. API mode (AP set to 1 or 2) must
be enabled to see this status message. When an overvoltage occurs the module will continue to operate
with the RF power limited to max value of PL = 3 to meet FCC requirements.
Module temperature
The TP command (module temperature) is available on both Pro and Non-Pro variants. On the S2C, this
command was only available on the PRO variant.
Boot time
The boot time of the XBee 3 Zigbee module has increased compared to the previous XBee S2C Zigbee.
This is due to enhanced functionality compared to the previous hardware platform as well as a secure
boot operation.
Measured time from power-on to CTS asserting:
XBee S2C Zigbee: ~75 ms
XBee 3 Zigbee: ~290 ms
PWM output
The RSSI PWM period on the S2C was 200 µS, this has been changed to match other XBee firmwares and
now outputs a signal with a 64 µS period. The M0 and M1 commands can be used to output a fixed duty
cycle PWM signal on P0 and P1 if configured as a PWM output.
UART considerations
UART parity
The XBee 3 802.15.4 supports the following serial communication parity bit modes:
No parity bit (NB = 0)
Even parity bit (NB = 1)
Odd parity bit (NB = 2)
Support for mark parity has been removed.
Sleep considerations
Cyclic Sleep with Pin Wake
The behavior of Cyclic sleep with pin wake (SM = 5) has been updated for XBee 3. While nDTR is
deasserted (high), the module will operate in a cyclic sleep pattern. If nDTR is asserted (low), the
module will wake and remain awake until the pin is deasserted. If nDTR is deasserted momentarily, the
module will minimally wake for a period defined by the ST parameter.
RF considerations
Expanded channel selection
The IEEE 802.15.4 standard allows for 16 channels to be used for communication: from 2.405 GHz
(Channel 11) through 2.480 GHz (Channel 26). On the previous XBee-PRO S2 and S2B, the range of
available channels (via the SC and CH commands) was restricted on the PRO variant. This restriction is
alleviated on the S2C and XBee 3, all 16 channels are available for use regardless of the variant.
LQI calculations
Modules prior to the XBee3 use a different scale to represent LQI (Link Quality Indicator). On the S2C,
the LQI curve is more flat and trends towards the top of the scale; where the LQI curve on the XBee 3 is
linear and lower scale. As a result, if operating in a network with a mixture of XBee 3 and S2C modules,
the S2C modules will have higher priority when determining route costs.
An LQI compatibility mode was introduced in XBee 3 Zigbee version 1009, which can optionally have the
XBee 3 operate with a similar LQI curve as the S2C. C8 bit 4 (C8 | 0x10) on XBee 3 enables the LQI
compatibility mode. Networks that contain a mix of XBee3 Zigbee and legacy XBee Zigbee modules
should enable this feature.
Enabling or disabling LQI compatibility causes all current parameters to be written to persistent storage
and the module restarts; this is equivalent to issuing WR and FR commands. No modem status is
generated, however CTS will also de-assert during this period, so flow control is advised. If hardware
flow control is not being used, a 1 second delay after exiting Command mode (or applying changes if
using API) may be necessary to avoid data loss.
Out-of-band commissioning
Install Codes are supported on XBee 3. In order to read the install code from a module, query the I?
command. This install code can be used during out-of-band commissioning by deriving a join key based
on install code. See the user guide for more information and examples.
Enable Joiner Global Link Key (DC bit 0) has been removed for Zigbee 3.0 security, and this bit now
enables deriving a link key based on the install code for joining devices.
When operating with a centralized trust center, the KT command lets you set the Trust Center link key
registration timeout. This dictates how long an entry will persist in the transient link key table.
Network Manager
In a Distributed Trust Center configuration (EO=0), the coordinator role is deprecated. The network is
formed by a router, but it will operate as a 'Network Manager'; in most circumstances, this device role is
equivalent to a coordinator and can be treated as such.
If operating with a Distributed Trust Center, when a joining device sends a Device Announce, the
network manager (CE = 1) will respond by broadcasting a Manager Update. This broadcast is what the
joining device uses to correlate the reserved 0 address to the network manager's actual address.
Device Options
The options in the DO and DC commands have been rearranged or deprecated. DC is now primarily
focused on the behavior of joining devices. Refer to the release notes or command options in XCTU for
more information.
The DO command now defaults to 0x40 to enable a high RAM concentrator for use with source routing.
Use this setting for networks of 40 nodes or less. When using Many-to-One and Source routing
(AR<0xFF), routes will be stored on the module instead of requiring the use of an external micro to store
route records. Concentrator mode is only enabled when AR is set to less than 0xFF; to disable
concentrator mode and revert to AODV routing, set AR = 0xFF.
PAN ID conflict
The CR command is used to determine how many PAN ID conflicts must be detected in a 1 minute
period before a new PAN will be formed. On XBee 3, the ability to disable PAN ID change due to a
conflict has been added. Setting CR=0 on XBee 3 will still cause a PAN ID conflict to be detected (a 0x42
modem status will be emitted if this occurs), but a PAN ID change will not be triggered. On S2C, setting
CR=0 would use the default value of 3 instead.
Security considerations
Digi makes it easy to find the right level of security for your specific application, ranging from a
completely open and unencrypted network, to a high security model with out-of-band commissioning.
The Zigbee 3.0 standard default requires a higher security model than what is currently default on the
XBee/XBee-PRO ZB (S2C). In order to better support Zigbee 3.0, the default configurations have
changed.
See the user guide for more information on how to secure devices against insecure remote access.
or XBee/XBee-PRO ZB (S2C). S2C modules must be within range of another S2C module to be updated.
Update? S2C
YES! Update?
Micro Updater YES!
neighbors Updater
Update? neighbors
YES!
ZCL
Update? S2C
YES! Micro
Image Server
ZCL Update?
YES!
Micro ZCL
Update?
YES!
Updater
neighbors
S2C
Update?
NO
S2C
No S2C
neighbors
Update? Update?
YES! YES!
S2C S2C
Updater Updater
neighbor neighbor
Security
Bootloader update support
The bootloader of the XBee 3 can be updated in addition to the XBee application. The bootloader
update can be performed serially or over the air. When the bootloader is updated serially, the XBee
application is erased and must be reinstalled. If updating from bootloader version 118 or earlier to
version 166 or newer, the memory layout was updated in order to support the file system. In this
instance, device configuration will be lost. If running version 166 or newer, when performing a
bootloader update, the device configuration is retained. As long as the same firmware type (e.g. Zigbee
to Zigbee) is installed and ran after the bootloader update, the device configuration will be retained.
The bootloader version can be read using the VH command. If using XCTU to update your device, you
will be prompted to update the bootloader if an update is needed. The bootloader can never be
downgraded.
The bootloader can be updated over the air if the target device is running application version 1005 and
bootloader version 166. This is done by performing an FOTA update using a combined image that
contains the XBee application and bootloader; the image type for this is an *.otb file format.
Other considerations
Custom defaults
The XBee 3 supports custom defaults. This allows you to specify the parameter values that are loaded
into configuration when defaults are restored using the RE command or 4-button presses of the
commissioning button.
On the S2C, in order to facilitate devices remaining on the network through the restoration of defaults,
the KY value is not restored when defaults are loaded (either through the RE command or
commissioning button [CB4]). In order to provide equivalent support on the XBee 3, it's encouraged to
save encryption keys as a custom default.
Future updates
For the most up-to-date information on what features and enhancements have been added in the XBee
software, refer to the release notes that are included with each software update.