EasyManuals Logo
Home>Digi>Control Unit>XBee3 802.15.4

Digi XBee3 802.15.4 User Manual

Digi XBee3 802.15.4
185 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 #54 background imageLoading...
Page #54 background image
I/O support I/O line passing
Digi XBee3® 802.15.4 RF Module User Guide
54
Note Use caution when combining change detect sampling with sleep modes.IC only causes a sample
to be generated if a state change occurs during a wake period. If the device is sleeping when the
digital transition occurs, then no change is detected and an I/O sample is not generated.
Use periodic sampling withIRin conjunction withICin this instance, sinceIRgenerates an I/O sample
upon wakeup and ensures that the change is properly observed.
If you enable multiple samples by settingIT> 1, any change detect that occurs causes all collected
periodic samples to be sent immediately, then a separateICsample is sent.
I/O line passing
Line passing allows you to affect the output pins of one device by sampling the I/O pins of another. To
support line passing, you must configure a device to generate I/O sample data using periodic sampling
(IR command) and/or change detection (IC command).
On the device that receives I/O samples, enable line passing setting IA (I/O Input Address) with the
address of the device that has the appropriate inputs enabled. This effectively binds the outputs to a
particular devices input. This does not affect the ability of the device to receive I/O line data from
other devicesonly its ability to update enabled outputs. Set IA to 0xFFFF (broadcast address) to
affect the output using input data from any device on the network.
Digital line passing
Digital I/O lines are mapped in pairs; pins configured as digital input on the transmitting device affect
the corresponding digital output pin on the receiving device. For example, a device that samplesD5as
an input (3) only affectsD5on the receiver ifD5is configured as an output (4 or 5).
Each digital pin has an associated timeout value. When an I/O sample is received that affects a digital
output pin, the pin returns to its configured state after the timeout period expires. For
pinsD0throughD9, the associated timeout commands areT0 commandthroughT9 command. For
pinsP0throughP4, the associated timeout commands are Q0 commandthroughQ4.
Digital line passing is only available on pinsD0throughP3. You cannot use UART and SPI pins for line
passing.
Example:Digital line passing
A sampling XBee3 802.15.4 RF Module is configured with the following settings:
AT command Parameter value
D2 command 3 (digital input)
IR command 0x7D0 (2 seconds)
DH command 0013A200
DL command 12345678
Every two seconds, an I/O sample is generated and sent to the address specified by DH and DL. The
receiver is configured with the following settings:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Digi XBee3 802.15.4 Specifications

General IconGeneral
BrandDigi
ModelXBee3 802.15.4
CategoryControl Unit
LanguageEnglish

Related product manuals