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.

Simple API Confusion (CC2480)

Other Parts Discussed in Thread: Z-STACK, MSP430F2274

All:

I have looked at the software for the Simple API, and I am confused. In the 430 code, I see the following states:

 appIniting, appWaiting, appJoinWaiting, appJoining, appBindWaiting, appBinding, appRunning

 Is there a document that shows the linkage between states? (I assume you start at appIniting and end at appRunning, but I am having a hard time understanding how you get from start to run...)

 Also, I would like to know which SPI commands are sent from the host MSP430 to the 2480, preferably during each of the states.

Are there responses from the 2480 as well?

Regards,

Todd Anderson

MSP430 / C2000 Applications, Minnesota

  • Page 16 of the eZ430-RF2480 Demonstration Kit Users Guide tells all about the different states and how the program goes between them.

  • Thanks for the reference to the states. Do you know what SPI commands are sent to the CC2480 during the various states?

    i.e., during appIniting, the host sends xxx to the CC2480 and receives what response?

          During appWaiting, the host sends xxx to the CC2480 and receives what response?

     Regards,

    Todd Anderson

  • I honestly do not know.  I did know the answer to your question to the level given by reading the users manual and dimly remembering that page.  Usually I am more hardware than software.  The curse right now is the summer slowdown, but someone should get back with a fuller answer.

  • hi Todd,

    http://focus.ti.com/docs/toolsw/folders/print/z-stack.html

    go to the above link and download the file swrc106.zip. 

    after you have extracted it and installed it, u can find a software called Z-Tool.

    using this software you can try out all API's tat r given in CC2480 interface specification.

    The ZASA application is written such tat whatever data sent through UART will be forwwarded to CC2480 using SPI nd whatever 

    response coming from CC2480 will be forwarded to UART.

    since, Z-tool connects to Z-accel kit through Virtual COM, u can actually try out commands of CC2480 and see the response on screen

    as if the command is sent from MSP430F2274 itself.

    Moreover, after the kit is connected to PC and while  Z-tool  is running, if u press the key on the kit to configure

    all the responses will be flooded on the screen which are the responses to the commands tat were sent from MSP430.

    So, u can have an idea abt the command-response pairs used.

    and also, i suggest u to  completely read the CC2480 interface specification doc nd the demo kit user guide.

     

  •  You can also take a look at this code for simpler basic setup of CC2480. The code does not include RF examples. That is in ZASA.

    • CC2480 Software Examples(swru169.zip, 256 KB )
                 30 Apr 2008 zip
    LPRF_Rocks