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.

ez430-RF2480: CC2480 "SRDY" STUCK

I have written an application where the coordinator sends an ON/OFF command every 5 seconds to the router which turns the green LED ON/OFF accordingy. After a while the router stops responding to the commands. I was watching the packets using packet sniffer and I noticed a failed acknowledgement at APS counter = 55. The transmission was retried but after this there is no activity on the SRDY line although the packet sniffer shows packets delivered and acknowledged. Could someone please suggest on this. Also if I have set the startup option as

value = (ZCD_STARTOPT_RESTORE_STATE | ZCD_STARTOPT_AUTO_START);
zb_WriteConfiguration(ZCD_NV_STARTUP_OPTION, 1, &value);  

do I need to specify

//Start Z Stack
 zb_StartRequest();

in my application.

I am unable to attach the frame images here.

 

 

 

 

  • Hi,

    A few questions:

    Do you process the ZB_SEND_DATA_CONFIRM? What is the status here?

    Do you process the callback ZB_RECEIVE_DATA_INDICATION? What is the last message for the router?

    Does your data message match the packet sniffer capture?

    LPRF Rocks the World

     

  • Hi

    I ran the application again and this time there was a retransmission at APS = 49. I dont handle retransmssions or failure in my application now. It just keeps sending ON/OFF every 5 seconds. I noticed the router still functioning until around APS = 105 when it stops responding.

    This is the UART data capture

    ZB_SEND_DATA_CONFIRM - Coordinator

    Send Data CNF          : 0002h
    Send Data CNF          : 0046h
    Send Data CNF          : 0083h
    Send Data CNF          : 0077h
    Send Data CNF          : 0000h
    Send Msg               : 0001h
    Send Data              : 0000h
    Send Data              : 0066h
    Send Data              : 0003h
    Send Data CNF          : 0002h
    Send Data CNF          : 0046h
    Send Data CNF          : 0083h
    Send Data CNF          : 0078h
    Send Data CNF          : 0000h

    ZB_RECEIVE_DATA_INDICATION - Router

    ZaccelMsg              : 0046h
    ZaccelMsg              : 0087h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0001h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0002h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0006h
    ZaccelMsg              : 0041h
    ZaccelMsg              : 0080h
    ZaccelMsg              : 0002h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0000h
    ZaccelMsg              : 0000h

    I am sending 1 - ON  & 0 - OFF but I see in the APS payload it is 8B01 & 8B00. I notice the router has reset due to watchdog timer. Reason???

    The coordinator continues to send data and recieves ACK. I can see this in the packet sniffer. 

    Could you also give steps on how to start the application after reset. I am still bit unsure on setting the best Startup options. I tried to start without a pushbutton scenario and found it depends very much on powerup timing and sequence.

    I am using IAR kickstart version.

    Regards

    Vdevan