# Xbee only transmits data every 5 seconds

**URL:** <https://forums.digi.com/t/xbee-only-transmits-data-every-5-seconds/21239>\
**Category:** XBee & XBee Gateway\
**Tags:** xbee-uart\
**Created:** [April 2, 2020, 11:26am UTC](https://forums.digi.com/t/xbee-only-transmits-data-every-5-seconds/21239 "2020-04-02T11:26:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lassley](https://avatars.discourse-cdn.com/v4/letter/l/278dde/32.png) [@Lassley](https://forums.digi.com/u/Lassley)\
**Post date:** [April 2, 2020, 11:26am UTC](https://forums.digi.com/t/xbee-only-transmits-data-every-5-seconds/21239/1 "2020-04-02T11:26:44Z")

</div>

I am trying to configure two Xbee S2C’s to communicate. I am sending data through UART into the DIN pin on the coordinator, and trying to receive data through the DOUT pin on the router.

For some reason, the data only seems to come through once every 5 seconds. The DOUT pin is high for 5 seconds, and then a bunch of the uart signals get sent through at once. The signals seem to come through in bunches of 15, then a short pause, then 15 more. It seems around three to six of these 15-bunches of uart signals comes through every 5 seconds.

I am not sure what could be causing this, but I am fairly new to Xbees. I am running them in ZIGBEE TH Reg version 4061 in AT mode. I disabled CTS and RTS, and I set the RO Packetization Timeout to 0.

If anyone could help me solve this problem to get a continuous stream of data sent through the Xbees it would be greatly appreciated!

Ben

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 2, 2020, 3:12pm UTC](https://forums.digi.com/t/xbee-only-transmits-data-every-5-seconds/21239/2 "2020-04-02T15:12:29Z")

</div>

Lassley,

Try adjusting the DL and DH function on your Coordinator from the default broadcast mode to Unicast mode. The reason for that is that in broadcast mode, the routers need to wait between packets to allow the packet to be re-transmitted over the mesh network.

Digi Support

---

<div class="post-metadata">

**Author:** ![Lassley](https://avatars.discourse-cdn.com/v4/letter/l/278dde/32.png) [@Lassley](https://forums.digi.com/u/Lassley)\
**Post date:** [April 3, 2020, 9:11am UTC](https://forums.digi.com/t/xbee-only-transmits-data-every-5-seconds/21239/3 "2020-04-03T09:11:36Z")

</div>

Thank you for your response. I tried adjusting the settings as you suggested, but I still seem to be doing something wrong. Here are the settings for each Xbee:

Coordinator:  
PAN ID = 5135  
Scan Channels = 7FFF  
Coordinator Enabled  
SH = 13A200  
SL = 41B12A48  
MY = 0  
MP = FFFE  
DH = 0  
DL = FFFE  
AT mode enabled

Router:  
PAN ID = 5135  
Scan Channels = 7FFF  
Coordinator disabled  
SH = 13A200  
SL = 41A755B4  
MY = FFFE  
MP = FFFE  
DH = 0  
DL = 0  
AT mode enabled

Do you see what I am doing wrong here?  
Thanks again

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 3, 2020, 10:29am UTC](https://forums.digi.com/t/xbee-only-transmits-data-every-5-seconds/21239/4 "2020-04-03T10:29:46Z")

</div>

Lasley,

Set the DH on the Coordinator to 0013A200 and the DL to 41A755B4. That should take care of it.

Digi Support
