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: Questions about communication intervals

Part Number: CC2530

Tool/software:

Hello

I am using the CC2530 as a ZED and the CC2652 as ZC. Currently, there is one ZC and one ZED placed very close to each other. During testing, I found that when the ZED continuously sends data every 50ms (4 bytes per packet), it works fine. However, if the interval is reduced to 40ms, ZR receive packet loss occurs. Does Zigbee communication require a fixed minimum interval, or could this be an issue with the hardware or firmware?

  • Hello whong,

    Although the IEEE 802.15.4 PHY has a throughput of 250 kbps, you must also consider MAC ACK turnaround delay, receiver packet processing times, and ZED Data Requests for Default Responses (if applicable).  Do you have a sniffer log to share?  What kind of packets are being sent (APS, ZCL, NWK)?  It would be more efficient to send more data bytes per packet than more packets per second.  You could try to increase the ZC NWK_MAX_DATABUFS* in nwk_globabls.c, but this is likely only delaying the issue if the ZED is not delaying packets or sending packet groups in bursts.

    Regards,
    Ryan

  • HELLO

    Are there any alternative solutions? Is it possible to quickly check if all 50 end devices are connected to the network? Since my devices only need to monitor power status.

  • Since all ZED are associated directly to the ZC (i.e. no additional routers) then the easiest method is to use the APIs in AssocList.h (AssocCount, AssocFindDevice, AssocMakeListOfRfdChild, AssocGetWithShort, AssocMakeList, etc.) and refer to the AssociatedDevList to view active Zigbee End Devices which have not been aged out (due to not checking in for a period of time).

    Regards,
    Ryan