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.

how to configure a coordinator device with cc2480

Other Parts Discussed in Thread: MSP430F2274, MSP430F2417, CC2511

hi...

we are developing our own code based on ZASA application, our code works well but we don't figure out how to configure a coordinator device using only SAPI, reading and following the source code w conclude:

1- configure hardware interface (ours works O.K.)

2- send poll command  (after reset, cc2480 answers: 0x06-0x41-0x80-0x01- etc... wich is a SYS_RESET_IND, )

3- if a SYS_RESET_IND command received, init profile registration, then ZCD_STARTOPT_CLEAR_CONFIG write comand register ZCD_NV_STARTUP_OPTION

4- again CC2480 sends a SYS_RESET_IND and then again profile registration, now program ZACCEL_NV_PANID in ZCD_NV_STARTUP_OPTION, and ZACCEL_NV_CHANLIST in ZCD_NV_STARTUP_OPTION

5- send a ZB_START_REQUEST command to start stack: by the way... data sheet says this command is 0x00-0x26-0x00, but ZASA use

                                         uint8 val = (ZCD_STARTOPT_RESTORE_STATE | ZCD_STARTOPT_AUTO_START);
                                         zb_WriteConfiguration(ZCD_NV_STARTUP_OPTION, 1, &val);
                                         zb_SystemReset();

6- ZB_START_CONFIRM will be isued by CC2480 when stack is running (we receive confrmation ok)

in this stage, if we start other module and configure it as router ( button once), it sometimes starts as router, but not always...

iare these steps right? or we are doing something or all wrong?

where we could find specific information about coordinator configuration?

we are using the demokit CC2480 and our own firmware based on ZASA...

thx in advance...

 

  • hi... i'm answering myself... we've found the failure and learned a lot about ZASA... our application is receiving remote data.... finally

     

  • Good news,

    I am glad to read that you learned something from ZASA

    How many nodes in your network?

    What kind remote data are you transmitting?

    LPRF Rocks the World

  • hi...

    yes, our network can grow up to 30 devices (routers and end devices), we are sending 40 bytes messages (biometric parameters).

    now we are developing general software to program the entire system

  • ilogic,

    I am glad to hear someone is doing a real project for medical with CC2480.

    Please keep us posted about your progress.

    BTW
    Are you using an MSP430 also as the Application microcontroller?

    Are you using SAPI also with one endpoint?

    LPRF Rocks the World

  • LPFR, thx for your reply.... yes we are using MSP430F2417 for coordinator control and MSP430F2274 for routers and end devices, the whole thing working with SAPI, due to time constraints, we haven't use ZDO or AF, as soon as we can, we'll be beguining with ZDO functions...

    we'll be showing our progress in the matter...

     

  • Great, looking forward to hear how this progress

    LPRF Rocks the World

  • hi LPFR!!

    our application is working ok in ZACCEL kit , now we're building hardware and our problem is antenna.

    we have 2 pcb designs, portable devices using PCB antenna, we use refrence design "CC2511 usb dongle", however we couldn't comunicate our board with coordinator running on ZACCEL board, the other design uses a chip antenna REACH EXTEND from FRACTUS, in this case we don't know how to connect this type of antenna.

    where could we find info for reliable pcb and chip antenna conection with CC2480? are there reference designs CC2480 specific

    we appreciate your help...

    thx in advance...

     

  • hi i real almost every thing about cc2480 but i want to ask how to configure a device coord or router or end device

  • hi

    first post, almost says all you have to declare, difference is in registering application, what i found is firt to declare a profile and after registration again declare coodinator profile....

     

    bye

  • hi ilogic would u explain to me more how can i configure cc2480 as router or coordinator it is the different in writting application and would u please explain to me the step of start of code zasa

  • Hey Morten,

       One thing that would help out a lot of people is for TI to release another version of ZASA that uses a different firmware image for coordinator vs. router vs. end-device. The ZASA as it stands now is nice but having all three types of devices in one build isn't realistic or necessary. I think it would make it much easier for people to get if you released ZASA with the device-type fixed in firmware. Then we all can see clearly what to do when starting a coordinator vs. a router, etc. Since the code will be smaller you could maybe then add additional endpoints. More example applications!

    Regards,

    Derek