Module support
CAUTION! If you are programming firmware through the JTAG interface, you can
potentially erase the XBee bootloader. If this occurs, serial firmware updates will not
work.
Regulatory compliance
XBee modules are FCC and European certified for operation on all 16 channels. You can configure the
EM357 output power up to 8 dBm with boost mode enabled on channels 11 through 25. On channel 26
you must reduce the power to 3 dBm.
XBee-PRO devices are FCC certified for operation on all 16 channels. The XBee-PRO contains a power
compensation method to adjust the output power near 18 dBm on channels 11 through 25. You must
configure the EM357 with an output power so the device outputs 18 dBm or less on channels 11
through 25. On channel 26, you must reduce the power to no more than 0 dBm. The end product is
responsible to adhere to these requirements.
This section describes how to configure GPIOs to function correctly in custom applications that run on
the XBee modules.
Enable GPIO 1 and 2
For GPIO pins to be configurable, the application must set the GPIO_PxCFG registers to enable the
appropriate GPIO. The following table lists values for configuring the GPIO pins. Other functionality is
affected by these settings. See the EM357 datasheet from Ember for a complete listing of functionality.
GPIO mode
Analog
Input (floating)
Input
(pull-up or pull-down)
Output (push-pull)
Output (open-drain)
Alternate Output
(push-pull)
Alternate Output
(open-drain)
For more information on configuring and setting GPIOs, consult the EM357 specification.
XBee/XBee-PRO® S2C Zigbee® RF Module
GPIO_
PxCFGH/L Description
0x0
Analog input or output. When in analog mode, the digital input
(GPIO_PxIN) always reads 1.
0x4
Digital input without an internal pull-up or pull-down. Output is
disabled.
0x8
Digital input with an internal pull-up or pull-down. A set bit in
GPIO_PxOUT selects pull-up and a cleared bit selects pull-down.
Output is disabled.
0x1
Push-pull output. GPIO_PxOUT controls the output.
0x5
Open-drain output. GPIO_PxOUT controls the output. If a pull-up
is required, it must be external.
0x9
Push-pull output. An on-board peripheral controls the output.
0xD
Open-drain output. An on-board peripheral controls the output.
If a pull-up is required, it must be external.
Writing custom firmware
263
Need help?
Do you have a question about the XBee-PRO S2C Zigbee and is the answer not in the manual?