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.

Z-stack and cc2650 dev kit

Other Parts Discussed in Thread: CC2650, Z-STACK, CC2538

I'm the first time to program the CC2650. Before I begin I was studing the TI-RTOS using CCS.
I've been doing some basic programs, turn on and off LEDs and read the values ​​of a temperature sensor ....

At this point I would like to start using the Z-stack to send the values ​​read by a node sensor to the gateway via ZigBee.
However I am having difficulty in starting. I was looking for how to use the Z-stack and I realized that we can not use the Z-stack with CCS, only with the IAR.
My doubts are:
1 - Is there a way to adapt / use the z-stack in CCS?
2 - Where can I find more information on how to start using the z-stack and IAR? For now, I'd like to read a sensor at the ZED and send this value to the ZC.
3 - I have SmartRF06 and dev bords with the CC2650 (ZED) and another with CC2538 (ZC). For now I wanted to use these boards, but then wanted to migrate the firmware for my custom boards.
How can I do this? There are some step by step tutorial?
4 - How can I program the sensor controller and integrate it with the M3?

Thank you.

  • 1. You can only use IAR to build examples in Z-Stack.
    2. You can read Z-Stack Home Sample Application User's Guide.pdf in Z-Stack document folder after you install Z-Stack Home 1.2.2a.
    3. There is no such document but I suggest you to get familiar with Z-Stack examples first.
    4. I suggest reading the User Guide and going through the examples in the Sensor Controller Studio.
  • Hi,

    Sorry for my late reply, but I was away for a few days.

    I read some of the docs that you refer and I am still ful of doubts. I am having dificulties using the TI-RTOS on IAR. Can you point me to a right tutorial or something?

    I am starting doubting about ZigBee being the best protocol to my application.

    I want to setup a network with 30 nodes that collects temperature and humidity data and sends it to a gateway every x minutes (for example, every 10 minutes). Every device is battery powered (the 30 nodes and the gateway). Which protocol do you think that is the best suitable for this?

    Many thanks.

  • Hi Miguel,

    The best way to learn is to look at the examples provided with the Z-stack.
    If you have installed the Z-stack in its default location, you can find those here:
    C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation

    There are no step-by-step instructions to migrate to custom boards. But if you use the schematics provided by TI with the evaluation boards, you should only have to remap your IOs and peripherals to match your final design. Most of these are found in board.c and board.h

    Zigbee should be able to handle what you are requesting.

    The documentation might be more useful once you have a better understanding of the code.

    For the sensor controller question: download Sensor Controller Studio and there are examples in the IDE that will help you understand how to use it. It's a little bit hard to understand at first, but once you understand, you'll see it's very easy to use.

    Regards,
    Michel
  • Thank you so much for your help.

    I am having some trouble putting IAR on the way to go. I am stuck because I have no licence to go further.
    I am considering let zigBee fall and try to use BLE. But I am not sure which of them will be best suited for my application. I am so disapointed with all of the struggle to put zigBee on the way.
    So, do you think that BLE is a good option?
  • If you only want to do some IO and temperature reading to transmit it back to host without mesh network, BLE is a good alternative. You can use CC2650 to run BLE Stack 2.2 which can be compiled with CCS.
  • So, do you think that I can use CC2650 on the nodes and also on the gateway?
    How will I be able to put the gateway on communication with 30 nodes?
  • Do you mean to connect to 30 nodes with BLE?
  • Yes. I have 30 nodes to collect temperature and they need to send it to the gateway every 10 minutes.

    Can I do that?

  • If you use CC26xx running BLE central, it can do simultaneous 8 connections. So, if you have 30 nodes, you cannot connect to them simultaneously. I think you have to connect to them one by one to get data when using BLE protocol.

  • Do you think that having a central talking to 30 nodes is doable? They don't need to communicate all at the same time, they just need to report the data every 10 minutes.

    thanks

  • If central doesn't have to connect to all devices concurrently, I think it's doable.

  • You are welcome.