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.

CC2531 Send and Receive

Other Parts Discussed in Thread: CC2531, Z-STACK, CC-DEBUGGER

Hi,

I am trying to develop an IoT system using Zigbee. My hardware knowledge is not at the same level as software.

The current setup is a pair of CC2531 USB devices, which I am trying to generate a simple send/receive system with.

Despite reading many user guides, manuals and forum posts it is still unclear to me what the position is regarding CC2531 and serial. 

My hope was that it would be a simple plug and play serial device which appeared as a COM device and can be used to send/receive messages. So far all it appears to do is operate as a proprietary receiver of Zigbee signals for the Texas Instruments Packet Sniffer. Connecting the dongle to my PC does not register a new serial COM device.

My question is:

Does the dongle provide any functionality beyond this (in particular serial communication) and what do I need to do to get it functioning?

Many thanks

Charles

  • You can use GenericApp example in Z-Stack Mesh 1.0.0. There is a project for CC2531 that can serve your purposes.
  • Thanks for your reply.

    On your recommendation I downloaded and read through the Z-Stack Mesh documentation.

    What it seems to say is that I need to use a CC Debugger to change the firmware on the CC2531. This will allow me to configure them as a co-ordinator or router and create a primitive network. 

    Does that also mean that it will work as a serial device, communicating the signals to the PC through a COM port?

    Regards

    Charles

  • Hi,
    yes please use the CC-debugger to flash the ZNP firmware.
    You can find the firmware in C:\Texas Instruments\Z-Stack Home 1.2.2.42930-S\Projects\zstack\ZAP\ZNP-HexFiles\CC2531\CC2531ZNP-Pro-Secure_LinkKeyJoin.hex
    The dongle will enumerate as a serial device on your PC.
    You can then use Z-tool and download scripts as in C:\Texas Instruments\Z-Stack Home 1.2.2.42930-S\Tools\Z-Tool\Scripts
    Alternatively, you can run the SW available from here: git.ti.com/.../znp-host-framework
    It is a SW framework with examples of applications (like data send/receive) which use the ZNP dongle firmware as modem.
    Thanks,
    TheDarkSide
  • Yes, you have to use CC Debugger to download firmware to CC2531. Using GenericApp CC2531 example, it supposes to work as a serial device and communicate the signal to PC through COM port. Please be notified that the COM port command format is MT command which you can refer to Z-Stack Monitor and Test API.pdf in C:\Texas Instruments\Z-Stack Mesh 1.0.0\Documents\API folder. On PC side, you can use Z-Tool (in C:\Texas Instruments\Z-Stack Mesh 1.0.0\Tools\Z-Tool) to send command.
  • Thanks to both of you for your replies. I believe that my problem is now resolved.