EasyManuals Logo
Home>Digi>Control Unit>XBEE2

Digi XBEE2 User Manual

Digi XBEE2
195 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #180 background imageLoading...
Page #180 background image
Module support Improving low power current consumption
XBee/XBee-PRO ZigBee RF Modules User Guide 180
GPIO_DIRSETL = GPIO(1) | GPIO(2);// Set GPIO 1,2 as outputs
GPIO_CLRL = GPIO(1);// Drive GPIO 1 low
GPIO_SETL = GPIO(2);// Drive GPIO 2 high
Improving low power current consumption
To improve low power current consumption, the XBee should set a couple of unused IO lines as output low. This
can be done during application initialization as shown below.
XBee (non-PRO) initialization:
/* GPIO 1 and 2 are not used in the XBee (non-PRO) and should be set as outputs and driven low to reduce
current draw. */
GPIO_DIRSETL = GPIO(1) | GPIO(2);// Set GPIO 1,2 as outputs
GPIO_CLRL = GPIO(1) | GPIO(2);// Set GPIO 1,2 low
XBee-PRO modules should disable the power compensation circuitry when sleeping to reduce current draw. This
is shown below.
When sleeping (end devices):
/* The power compensation shutdown line on XBee-PRO modules (GPIO 1) should be set high when entering
sleep to reduce current consumption. */
GPIO_SETL = GPIO(1);
When waking from sleep (end devices):
/* The power compensation shutdown line on XBee-PRO (GPIO 1) should be set low to enable the
power compensation circuitry and LNA. */
GPIO_CLRL = GPIO(1);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi XBEE2 and is the answer not in the manual?

Digi XBEE2 Specifications

General IconGeneral
BrandDigi
ModelXBEE2
CategoryControl Unit
LanguageEnglish

Related product manuals