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)