• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF ZigBee® Software & IEEE 802.15.4 Forum » Cannot receive acknowledge from Coordinator after a successful orphan rejoin
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Cannot receive acknowledge from Coordinator after a successful orphan rejoin

This question is not answered
John Xu
Posted by John Xu
on Aug 16 2012 15:36 PM
Prodigy210 points

Hi All,

I really appreciate any help on this!  I have been looking into it quite a while now, but I cannot figure out what is going on.

Here is my setup: 1  Coordinator, 1 router, and 1 end device.

Here are the steps to reproduce the problem:

1.  Coordinator forms network.

2.  Initially, router and end device joins network and Coordinator is the parent of each device.

3.  End device will send a data request to Coordinator every 15 seconds.

4.  Now, turn off Coordinator to simulate a case that end device is out of range.

5.  When end device try to send a data request to Coordinator, it fails and goes into orphan scan.

6.  During orphan scan, end device finds the router as its new parent.

7.  After end device finds its new parent, turn on Coordinator.   Now, strange problem shows up:  End device never receives acknowledge from Coordinator for the data request.  Here is what happens:

         1)  End Device sends the data request.

         2)  I can see Coordinator receives the request but End Device does not receives acknowledge from Coordinator (AF_DATA_CONFIRM_CMD is not received).

         3)  15 seconds later, after End Device sends another request, it receives failure (AF_DATA_CONFIRM_CMD) for previous request.

         4)  The above steps keep repeating....

The problem will go away once I reboot the end device...

Can anybody provide some insights?

Thanks

John

zigbee CC2530 rejoin orphan scan Data Request
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • John Xu
    Posted by John Xu
    on Aug 17 2012 12:08 PM
    Prodigy210 points

    When AF_DATA_CONFIRM_CMD is received, the status is 0xb7, which is ZApsNoAck.  But I do see that Coordinator sends the Ack...

    In addition, I also noticed that after orphan scan and find a new parent, the short address does not change on the end device..

    Can anybody help?

    zigbee CC2530 rejoin orphan scan
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John Xu
    Posted by John Xu
    on Aug 18 2012 19:46 PM
    Prodigy210 points

    At this point, I am really lost and need some help.

    After further experiment with the setup, here is what I found:

    1.  After Orphan Scan, ZED did find the new parent - ROUTER while Cooridnator remains powered off.

    2.  If I do not power on Coorinator, but turn off/on ZED, it goes back into Orphan state even though it had successfully find its new parent ROUTER.  However, the network state quickly changes to END_DEVICE with parent to be ROUTER.

    3.  Now if I power on Coordinator, the request that was sent by ZED every 15 seconds still does not get Acked by Coordinator  even though Coordinator receives it...

    4.  The most strange thing is that:

            1.  Power off Coordinator.

            2. After ZED successfully complete an orphan scan and found the new parent -ROUTER, power off ZED as well.

            3.  Power on Cooridnator

            4.  Power on ZED and it goes back to choose Coordinator as its parent, even though it found Router as its parent after previous orphan scan..  And this is the only way

                 that ZED can get Ack from Cooridnator for the data request it sends every 15 seconds...

            5.  However, again, if I do not power on Cooridnator, if I power on/off ZED, it always goes into Orphan state first disregard it has found new parent before....

    Can anybody please help?

     

           

    zigbee CC2530 orphan
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • John Xu
    Posted by John Xu
    on Aug 20 2012 11:40 AM
    Prodigy210 points

    Well, I finally figured it out.  The problem is caused by that Coordinator (Parent) does not remove ZED (child) from its association table after it reboots.

    I would think the following method should be how it works, but looks like it is not the implementation in the ZStack:

    • Parent receives a message from ZED that is in its association table (child).
    • It will then check the MAC source address.
    • If the MAC source is not child's short address in the table, then it removes the ZED from its association table (leave). 

            Because ZED always sends message to its parent.  If the message comes from a router (MAC source is different from NWK source), then the ZED must change the parent already.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use