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.

Data indication from battery operated end device (source) is not received in sink.

Hi I developed a UART based CC2480 library for Windows XP on Intel platform , using which I can sent and receive all messages specified in CC24080 interface spec document. The library is working good . I am leveraging the fact that all the traffic on CC2480 SPI bus will be forwarded by the ZASA firmware , to the host PC .

As a next step, I want to read temperature information from battery operated end device (acting as source) of TI development kit  ( Note that I have not changed the code of  any of the development kit devices provided by TI). I have connected the USB based CC2480 device onto Windows PC, which will act as coordinator.

I am using the following steps . The parameter values that I used is exactly same as that  in ZAZA code.  After running the steps below, when I press the button on battery operated device, its LED turns solid green. But I am not getting any data indication ( I am watching for data indication using a serial port traffic monitoring tool on Windows).  Could you please comment where I am wrong in the following steps?

//Steps to start the device as coordinator and receive data indication from end device:

1. send SYS_RESET_REQ
2. Receive reset indication
3. Clear configuration (ZCD_STARTOPT_CLEAR_CONFIG)
4. Clear sate (STARTOPT_CLEAR_STATE)
5. send SYS_RESET_REQ
6. Receive reset indication

// At this step the device settings are in default state


7. select ZCD_NV_LOGICAL_TYPE as COORDINATOR
8. send SYS_RESET_REQ
9. Receive reset indication


// Now the device will be  ready to start as coordinator.

10. set ZCD_NV_PANID
11. set ZCD_NV_CHANLIST
12. select ZCD_NV_LOGICAL_TYPE as COORDINATOR  
13. send ZB_APP_REGISTER_REQUEST
14. send ZB_START_REQUEST

// The device will now start as coordinator at the given channel and PAN ID


15. send ZB_PERMIT_JOINING_REQUEST
16. send ZB_ALLOW_BIND

// Now the battery operated end device will start sending data which contain temperature information.

( But I am not able to receive data indication packets on host PC)

 

  • For further info, this is what I captured on serial port monitor tool on Windows, for the entire steps above:


    Request: 3/11/2010 12:53:27 PM.01564 (+288.8438 seconds)
     FE 01 41 00 00 40                             

    Answer: 3/11/2010 12:53:28 PM.10964 (+1.0938 seconds)
     FE 06 41 80 02 00 00 00 00 00 C5 FE 01 66 0A 00

    Request: 3/11/2010 12:53:28 PM.12464 (+0.0000 seconds)
     FE 03 26 05 03 01 01 23                       

    Answer: 3/11/2010 12:53:28 PM.12464 (+0.0000 seconds)
     6D FE 01 66 05 00 62 FE 01 66 05 00 62        

    Request: 3/11/2010 12:53:28 PM.23464 (+0.0938 seconds)
     FE 03 26 05 03 01 02 20                       

    Answer: 3/11/2010 12:53:29 PM.09364 (+0.8594 seconds)
     FE 01 66 05 00 62 FE 01 66 05 00 62           

    Request: 3/11/2010 12:53:29 PM.17164 (+0.0625 seconds)
     FE 01 41 00 00 40                             

    Answer: 3/11/2010 12:53:30 PM.21864 (+1.0469 seconds)
     FE 06 41 80 02 00 00 00 00 00 C5 FE 01 66 0A 00
     6D FE 01 66 05 00 62 FE 01 66 05 00 62        

    Request: 3/11/2010 12:53:30 PM.24964 (+0.0000 seconds)
     FE 03 26 05 87 01 00 A6                       

    Answer: 3/11/2010 12:53:31 PM.20264 (+0.9531 seconds)
     FE 01 66 05 00 62                             

    Request: 3/11/2010 12:53:31 PM.31264 (+0.1094 seconds)
     FE 01 41 00 00 40                             

    Answer: 3/11/2010 12:53:32 PM.32764 (+1.0156 seconds)
     FE 06 41 80 02 00 00 00 00 00 C5 FE 01 66 0A 00
     6D FE 01 66 05 00 62 FE 01 66 05 00 62        

    Request: 3/11/2010 12:53:32 PM.43764 (+0.0781 seconds)
     FE 04 26 05 83 02 FF FF A6                    

    Answer: 3/11/2010 12:53:33 PM.31264 (+0.8750 seconds)
     FE 01 66 05 00 62                             

    Request: 3/11/2010 12:53:33 PM.39064 (+0.0781 seconds)
     FE 06 26 05 84 04 00 00 01 00 A4              

    Answer: 3/11/2010 12:53:34 PM.37464 (+0.9844 seconds)
     FE 01 66 05 00 62                             

    Request: 3/11/2010 12:53:34 PM.42164 (+0.0469 seconds)
     FE 03 26 05 87 01 00 A6                       

    Answer: 3/11/2010 12:53:35 PM.42164 (+1.0000 seconds)
     FE 01 66 05 00 62                             

    Request: 3/11/2010 12:53:35 PM.48464 (+0.0469 seconds)
     FE 0B 26 0A 02 10 0F 04 00 01 00 01 01 00 00 3F

    Answer: 3/11/2010 12:53:36 PM.48464 (+1.0000 seconds)
     FE 01 66 0A B3 DE                             

    Request: 3/11/2010 12:53:36 PM.54664 (+0.0625 seconds)
     FE 00 26 00 26                                

    Answer: 3/11/2010 12:53:37 PM.73464 (+1.1875 seconds)
     FE 00 66 00 66                                

    Request: 3/11/2010 12:53:37 PM.74964 (+0.0000 seconds)
     FE 03 26 08 FC FF FF D1                       

    Answer: 3/11/2010 12:53:38 PM.59364 (+0.8438 seconds)
     FE 01 66 08 00 6F                             

    Request: 3/11/2010 12:53:38 PM.60964 (+0.0000 seconds)
     FE 01 26 02 FF DA                             

    Answer: 3/11/2010 12:53:39 PM.65664 (+1.0469 seconds)
     FE 00 66 02 64 FE 01 46 80 00 C7 FE 09 66 06 00
     09 02 00 FF D1 09 0B 00 4E FE 09 66 06 02 00 00
     00 FF D1 09 0B 00 47