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 #51 background imageLoading...
Page #51 background image
I/O support Periodic I/O sampling
Digi XBee3® 802.15.4 RF Module User Guide
51
Output Field Description
01
I/O sample
data
One sample set
0C 0C Digital channel mask, indicates which digital lines are sampled
(0x0C0C = 00001100 00001100b = DIO2, 3, 10, 11)
03 Analog channel mask, indicates which analog lines are sampled
(0x03 = 0000 0011b = AD0, 1)
04 08 Digital sample data that corresponds with the digital channel mask
0x0408 = 00000100 00001000b = DIO3 and DIO10 are high, DIO2
and DIO11 are low
03 D0 Analog sample data for AD0
01 24 Analog sample data for AD1
50 Checksum Can safely be discarded on received frames
Periodic I/O sampling
Periodic sampling allows a device to take an I/O sample and transmit it to a remote device at a
periodic rate.
Source
Use IR command to set the periodic sample rate for enabled I/O lines.
n To disable periodic sampling, setIRto0.
n For all otherIRvalues, the device samples data whenIRmilliseconds elapse and transmits the
sampled data to the destination address.
TheDH commandandDL commandcommands determine the destination address of the I/O
samples.You must configure at least one pin as a digital I/O or ADC input on the sending node to
generate sample data.
Destination
If the receiving device is operating in API operating mode the I/O data sample is emitted out of the
serial port. Devices that are in Transparent operating mode discard the I/O data samples they receive
unless you enable line passing.
I/O sampling upon wake
By default, a device that is configured for sleep (SM> 0) that has at least one digital I/O or ADC
enabled transmits an I/O sample upon wake regardless of howIRis configured.Sampling upon wake
can be disabled by clearing bit 1 of theSO. For more information about setting sleep modes, seeSleep
modesandSO command.
Multiple samples per packet
IT (Samples before TX) specifies how many I/O samples can be transmitted in a single OTA packet. Any
single-byte value (0 - 0xFF) is accepted for input. However, the value is adjusted downward based on

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