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 Communicate with CC2650 via Zigbee

Other Parts Discussed in Thread: CC2650, Z-STACK

Firstly let me tell you I'm really new and a beginner in this XBee and Embedded world.

Well to make it simple, I have CC2650 which is now running on a BLE Firmware. But I'm having trouble finding how can I access it via zigbee.

There are few things that I'm confused of...

  1. I saw that in the BLE SensorTag Android application I can change the firmware to Zigbee. But if I do that, how will I connect to it then?
  2. Can I use a XBee in Arduino or RaspberryPi to connect to these SensorTags via Zigbee to read the data as I do via BLE?

  • TI provides Zigbee Home Automation Profile end device examples for CC2650 in Z-Stack Home 1.2.2 so you can download Z-Stack Home 1.2.2 and make your CC22650 a Zigbee HA end device. Then, you have to make your Xbee module acts as Zigbee HA coordinator and they could be connected to each other.
  • Hi,

    I've been trying to connect the CC2650 sensortag to a xbee s2 device. I understand that you need to set the correct addresses on both devices to be able to communicate. After going through some of the config files I haven't been able to locate where I can edit these parameters. Or are they already pre-defined? and if so what are they? The XBee is pretty easy to configure in XCTU, so maybe it would be better to change the parameters of the xbee than the sensortag. Any help in getting the two to communicate would be much appreciated. 

    Kind regards,

    Syed

  • I don't understand your trouble well. I suggest you to use Ubiqua Packet Analyzer to check where you stuck in. If you can attach sniffer log and describe your steps, it will be easier for me to help.
  • Hi,

    Thank you for your quick reply, I'm actually a university student who is studying the feasibility of setting up a wsn using different technologies, we have over 100 sensortags but no way of connecting them using ZigBee, so far I've only been able to connect XBee devices to each other but not with anything else.

    I apologise for not making myself clear. I'll state the steps I've taken so far.

    • Downloaded and installed Z-Stack Home 1.2.2, Flash programmer 2 and IAR workbench
    • Opened the package Sensortag.eww  found in C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SensorTag\CC2650 in IAR and complied sensortag--Sensortag and ZStackCore - EndDevice 
    • Two files were created in C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\Core\Thread\CC26xx\EndDevice\Exe .out and .hex file
    • I then connected the CC 2650 Sensortag to the PC using the Debugger Devpack (Rev.:1.3.0) and opened SmartRF Flash Programmer 2 
    • I located the .hex file and flashed it onto the sensortag, It showed that it was successful.

    From here I have no idea on how to connect it to a XBee s2, I have searched through forums but have had no success except this one forum of a guy who was able to control a zigbee HA device where the link is below. He mentions that the XBee needs to have these following parameters.

    Software Zigbee API Coordinator
    Zigbee Stack Profile  (ZS) 2
    Encryption Enable  (EE) 1
    Encryption Options (EO) 0
    Encryption Key  (KY) 5a6967426565416c6c69616e63653039
    Network Encryption Key (NK) 0
    API Enable (AP) 1
    API Output Mode (AO) 3

    I had tried this but it didn't work. I hope what I've written has helped give a picture of where I am. If maybe you don't know the solution but know of another member who has achieved communication between the two devices would you be able to give me there ID so I may contact them also.

    Kind regards,

    Syed Hasan

  • I am not familiar with Xbee but I am familiar with CC2650 SensorTag which runs Zigbee HA Profile. I think you have to find how to make your Xbee module runs as Zigbee HA profile coordinator so CC2650 SensorTag can join it.

  • Hi YK,

    So would you then know the following address values of the sensortags flashed with the previously stated firmware?
    The PAN ID
    The 64 bit Destination high address
    The 64 bit Destination low address
    An encryption key if used
    And any other information that would help if I were setting up a network with one coordinator and multiple end nodes

    Kind regards,
    Syed Hasan
  • The default PANID is 0xFFFF.
    There's no default destination address programmed.
    The default encryption uses default Zigbee HA profile TC_LINK_KEY.
  • Hi

    it has been a while since this was posted here, but I wanna do exactly the same but I'm stuck and I'm wondering if the issue was resolved at that time or not?

    I also followed similarly to you the steps in flashing the appropriate Z-Stack Home 1.2.2 version to the sensor tag and set up the XBee S2C module according to the some posts als Zigbee HA coordinator...

    Regards
  • Do you use Ubiqua Packet Analyzer to check your issue?