• Resolved

Application Tips with CC2530/CC2531 and Z-Stack

Hello everybody,

I'd like to start develop an application based on two CC2530-CC2591EM + SmartRF05EB and a  usb dongle CC2531EMK.

One of my CC2530+CC2591EM will be a Router and the other one my End Device which aquires data by its ADC.

The CC2531 dongle will be my data concentrator (coordinator, right?) that will send all  received data to PC via USB (Serial Com Port).

The communication will be done with ZigBee (z-stack), so I can add more End Devices (and  Routers) in the future!

I'd like to know which example should I get to start developing (generic app, serial app or  other one, for example?).

Thank you,

Daniel

  • Hi Daniel,

     

    SensorDemo application suits the most your purpose (can be found in the same folder as the GenericApp).

    I'll have to make some changes in Z-Stack in order to use the USB in the dongle.

    One more thing, the dongle is a perfect solution for wireless traffic sniffing, so you may consider to use it for

    that purpose, while developing your application on other devices.

     

    Br,

    Igor

    Br,
    Igor.

    Thank you for marking the thread as answered if your question was answered :)

  • In reply to Igor Sherer:

    In the same folder just has GenericApp, SimpleApp and SampleApp (I installed the ZStack-CC2530-2.5.0). Am I at the wrong folder? I'm at ..\ZStack-CC2530-2.5.0\Projects\zstack\Samples

    I'll consider to use CC2531 for sniffing, but I'd also like to test it exchanging some data with my pc. Can you make this program avaiable for me?

    Thank you, Igor! :-)

  • In reply to Daniel Morim:

    Hi Daniel,

     

    Regarding the SensorDemo application, my mistake, please refer to this link, download and unzip it

    into Samples folder (the same folder with GenericApp and other sample projects).

     

    As for the USB part, on second thought (please forgive me for my laziness and the fact that it is a 

    "Rosh-ha-Shana" eve today in Israel, which I'm fully celebrating at this very moment) , you probably should be

    doing this by yourself (it's not so hard, and I think it really can help you to better understand what's going on).

    Please refer to this thread (it will link you to some other thread, but in the bottom line you'll get the point). :)

     

    Br,

    Igor

    Br,
    Igor.

    Thank you for marking the thread as answered if your question was answered :)

  • In reply to Igor Sherer:

    The sensor demo application (SimpleApp) should be included in the Z-Stack release, 2.5.0, just like what Igor is referring to.  

    C:\Texas Instruments\ZStack-CC2530-2.5.0\Projects\zstack\Samples\SimpleApp\

    LPRF Rocks the World

  • In reply to LPRF Rocks the World:

    What's the difference between SimpleApp and SensorDemo?

    Could SensorDemo be better to me, couldn't?

  • In reply to Daniel Morim:

    Sensor Demo should be the same as SimpleApp. If you download our Sensor Monitor Software and test it with CC2530ZDK  it is the factory installed application on our ZigBee Development Kit.

    See the CC2530ZDK Quick Start Guide:
    http://www.ti.com/lit/ug/swra274a/swra274a.pdf

    LPRF Rocks the World

  • In reply to Igor Sherer:

    I explored as much as I could the SensorDemo example and I like it.

    The problem now is to make the CC2531 dongle as coordinator. I looked this link and all the other on the forum but I'm still a little bit lost... I really don't know from where I should start it.

  • In reply to Daniel Morim:

    Hi Daniel,

     

    You can compile the project, and download it to the dongle.

    Are you experiencing problem with this?

     

    Br,

    Igor

    Br,
    Igor.

    Thank you for marking the thread as answered if your question was answered :)

  • In reply to Igor Sherer:

    Not really. I mean, I just changed the target device from CC2530F256 to CC2531F256. But I also need to change the way I communicate with the ZigBee Sensor Monitor (software running at Windows XP). In the original firmware, using the CC2530EM, I was using UART. Now, with the dongle CC2531, I need to change it to USB. Which files do I need to substitute? Just the HAL's ones? And in IAR options?

  • In reply to Daniel Morim:

    Hi Daniel,

     

    As I remember this, the changes to be made are only in the HAL section (plus that one

    you have mentioned in your post).

    You are experiencing problems with replacement of those files?

    You are not able to compile the project?

     

    Br,

    Igor

     

    Br,
    Igor.

    Thank you for marking the thread as answered if your question was answered :)