# XBee S2 end device goes crazy when coordinator loses power

**URL:** <https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776>\
**Category:** XBee - Zigbee\
**Created:** [October 19, 2011, 7:08pm UTC](https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776 "2011-10-19T19:08:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JTwmass](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@JTwmass](https://forums.digi.com/u/JTwmass)\
**Post date:** [October 19, 2011, 7:08pm UTC](https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776/1 "2011-10-19T19:08:53Z")

</div>

Hi folks,

The Xbee product manual states that when an end device loses contact with it’s parent, the end device will poll for the parent, and if no reply is received in three polls the unit will go into a search for network mode.

I find that with Xbee S2 modems (that came in several L/H/T sensors I purchased), when the coordinator inadvertently loses power the end device modem instead starts a rapid fire output of data requests (assumed to be polls) at approximately 5ms intervals for indeterminate amounts of time, a minimum of 30+ seconds. In some instances the polling appears to never stop. In some instances the polling finally stops and a beacon request is sent as a start to a network search.

I have tried several variants of parameter settings including various sleep modes and times, polling rates, etc, these have minimal effect.

The XBee PRO S2B modems with the same parameter settings appear to stop polling fairly rapidly (a few seconds or less) and send a beacon request.

I’ve been monitoring traffic with a TI sniffer. When I have several (30+) end devices in a network with sleep cycles, sampling, and everything working fine then the coordinator power is lost, the traffic is so dense that I can’t even run my office WiFi (running at 2.4MHz) until I get the modems to be quiet.

Any info on this, suggestions, clues?

My last resort is to replace all the S2 units with PRO S2B units, but this adds significant cost to each Digi sensor unit, which comes with what I am starting to suspect is a buggy S2 modem design.

If anyone is experiencing a large power drain whenever their end device loses contact with its parent (out of range or power down), this could be related.

Thanks

---

<div class="post-metadata">

**Author:** ![JTwmass](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@JTwmass](https://forums.digi.com/u/JTwmass)\
**Post date:** [October 20, 2011, 9:21pm UTC](https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776/2 "2011-10-20T21:21:07Z")

</div>

Looks like it is an issue with the firmware version loaded thru XCTU. I don’t know if I had a wrong version or an old version spelled out in XCTU prior to programming the modem, but when I changed it to what appears to be the most recent for that modem, the end devices act appropriately.

Anyone know where a proper history of modem drivers can be found?

Thanks

---

<div class="post-metadata">

**Author:** ![JTwmass](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@JTwmass](https://forums.digi.com/u/JTwmass)\
**Post date:** [October 20, 2011, 10:01pm UTC](https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776/3 "2011-10-20T22:01:18Z")

</div>

Final note - I encountered the problem using Digi sensor modules, when they were configured for sleep. Turns out the units I received had older firmware in them. When I upgraded the firmware using XCTU and an eval board with the ‘offending modem’ plugged in, the problem went away. At least this is my conclusion, haven’t heard from tech support yet. Heads up if you are using the sensor modules…

---

<div class="post-metadata">

**Author:** ![JimDod](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@JimDod](https://forums.digi.com/u/JimDod)\
**Post date:** [October 24, 2011, 6:18pm UTC](https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776/4 "2011-10-24T18:18:24Z")

</div>

> Anyone know where a proper history of modem drivers can be found?

this would be good information to have, they must have a change log saved away somewhere. any help out there?

---

<div class="post-metadata">

**Author:** ![kavya](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kavya](https://forums.digi.com/u/kavya)\
**Post date:** [November 3, 2011, 1:36pm UTC](https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776/5 "2011-11-03T13:36:27Z")

</div>

Hi,

I’m not sure what you are asking.

Please refer the following links, and see if it helps

[http://www.digi.com/pdf/chart\_xbee\_rf\_features.pdf](http://www.digi.com/pdf/chart_xbee_rf_features.pdf) , specifies protocols supported by different modules.

At the following link you can find the latest firmwares of different XBee modules, with the release notes, [http://www.digi.com/support/supporttype.jsp?tp=2](http://www.digi.com/support/supporttype.jsp?tp=2) .

[http://www.digi.com/wiki/developer/index.php/XBee\_Product\_Codes#DD\_upper\_word\_:\_Module\_Type](http://www.digi.com/wiki/developer/index.php/XBee_Product_Codes#DD_upper_word_:_Module_Type) , here you can find XBee product codes.

Regards!

---

<div class="post-metadata">

**Author:** ![isaacboy](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@isaacboy](https://forums.digi.com/u/isaacboy)\
**Post date:** [December 23, 2011, 12:00pm UTC](https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776/6 "2011-12-23T12:00:48Z")

</div>

I just have a problem with end devices staying awake forever when a router or coordinator was turned off. I just discovered it was a bug that has been fixed by a FW upgrade. I will give it a try.

This is the description on the FW update note:

- A sleeping End Device with no network available was staying awake forever after the first sleep cycle.

---

<div class="post-metadata">

**Author:** ![shahrj1988](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@shahrj1988](https://forums.digi.com/u/shahrj1988)\
**Post date:** [December 25, 2011, 6:15pm UTC](https://forums.digi.com/t/xbee-s2-end-device-goes-crazy-when-coordinator-loses-power/776/7 "2011-12-25T18:15:38Z")

</div>

Hey,

If AI =0 then, zigbee need not to find the nodes, but if AI is non zero, at the first steps, end node will try to join the network. This is only because, as per ZigBee protocol, network need to be formed first.
