This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530: Encounter Zigbee's confusion

Part Number: CC2530

Hello! Every one:

There are have some problems and need your help!

 

Version of the Zstack: ZStack-CC2530-2.5.1a

Device Type: CC2530F256RHAT

Version of the IDE: IAR 8.10.3

 

Problem description:

This project consists of 20 EndDevice and 1 Coordinators. Each EndDevice is located within 20 meters of the Coordinator. Each EndDevice has been able to commiunicate whit the Coordinator. Every day these EndDevices and the Coordinator are likely to power off, and then repower. I am using the project that are modify from :\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\GenericApp, then NV_INIT and NV_RESTORE are enable in the EndDevices and the Coordinator, because I want they quickly find the original network. Also, I hope the EndDevice  can  not find the original network, the EndDevice will reset the network list after lost the original network more than 1 minutes, to find new network and join.

I use the following program on the EndDevices:

 

if(devState == DEV_NWK_DISC)
{
        JoiningNWKTimer ++;
        if(JoiningNWKTimer >= 6000)

{
            JoiningNWKTimer = 0;
            
            // reset the original network
            zgWriteStartupOptions(ZG_STARTUP_SET, ZCD_STARTOPT_DEFAULT_NETWORK_STATE);
            SystemReset();
        }
}
else
{
        JoiningNWKTimer = 0;
}

 

Above the program only used in the EndDevices.

 

My question is:

At the beginning, I gave the EndDevices and the coordinator on the power and the normal communication, and then I will power off the coordinator, the power outage for more than 1 minutes, and then the coordinator on the power again. Repeat the above operation. At last, The EndDevices and the coordinator can't communicate. Unless both program are erased and load the program again. Use SmartRF Packet Sniffer to view data packets, I will found that the EndDevices send the beacon request, and the coordinator will response!  Data package are follows:

 

Forward to your answer!