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.

Sample 802.15.4 Application for CC2650

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

Hello,

Is there a sample application using 802.15.4 with which I can understand the software design of an application. In my app. I want to read some data from I2C-based sensors and send this data over 802.15.4 MAC  (using TIMAC) to a coordinator. I want to understand the best practices while writing code for such applications. I have read and understood how ICall works. I want to understand stuff like: 

> Should i have a forever loop and use semaphore for event triggers. Could you explain how this will be implemented if for example I have a I2C_read() fxn which reads sensor data - when the data has been read I would call the MSA_McpsDataReq() to send it over. Or can I just call the I2C_read() function inside the MSA_SEND_EVENT in MSA_Process() before sending the data (i have referred to the MSA example provided with TIMAC) and read the data at the coordinator 

Getting an example code, maybe if someone has implemented such application, would be extremely useful.  

Thanks in advance.

  • siddharth sharma20 said:
    using 802.15.4

    the simplest answer for you I found somewhere by googling electronics.stackexchange.com/.../ti-cc2650stk-how-to-activate-zigbee

    quote:

    The CC2650ST supports ZigBee, BLE or 6LowPan. It comes programmed with BLE by default, you need to download the BLE sensor tag app from app store and update the FW to the ZigBee image. This will update to a ZigBee image using BLE. The App has the CC2650 ZigBee image included in it, so you just need the latest app. The ZigBee FW image makes the sensorTag into a ZigBee Temp Sensor, Light Sensor and Switch.

    Alternatively you can buy a debug-devpack (http://www.ti.com/tool/CC-DEVPACK-DEBUG) and update to a ZigBee image using SmartRF flash programmer. The FW will need to be built from the ZStack-HomeSDK from .

    802.15.4 is a wireless standard for a physical and MAC layers only. To implement any application you need other layer of networking (search OSI model layers)

    Long story short, there is plenty of examples from TI

    good luck

    Jan

     

  • Hi jan2809,

    Thanks for your reply.

    I can find the hex files. But could not find the source files for such an example. Am i missing something?
  • The CC2650ST supports ZigBee, BLE or 6LowPan. It comes programmed with BLE by default, you need to download the BLE sensor tag app from app store and update the FW to the ZigBee image. This will update to a ZigBee image using BLE. The App has the CC2650 ZigBee image included in it, so you just need the latest app. The ZigBee FW image makes the sensorTag into a ZigBee Temp Sensor, Light Sensor and Switch.

    Alternatively you can buy a debug-devpack (www.ti.com/.../CC-DEVPACK-DEBUG) and update to a ZigBee image using SmartRF flash programmer 2. The FW will need to be built from the Z-Stack Home 1.2.2a from www.ti.com/tool/z-stack.
  • try this detailed tutorial:

    43oh.com/.../