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 control ZNP via a PC?

Expert 1925 points
Other Parts Discussed in Thread: CC2530, Z-STACK, CC2530EM, CC2531, CC2520

I am reading the file of <Z-Stack User's Guide for CC2530 ZigBee-PRO Network Processor - Sample Applications.pdf>, which says "Although the sample application examples utilize an MSP430 CPU, the ZAP could be any MCU that supports the SPI/UART/USB connectivity to the ZNP (e.g. a Stellaris Cortex-M3 or a Windows PC application). Only the HAL and OSAL specific components would need to be ported to the other platform."

So, How to control ZNP via a PC running windows or linux?

  • Zhu:

     

    Try to use our SmartRF05EB + CC2530EM programmed as a ZNP running Z-Tool.

     

    LPRF Rocks the World

  • Thanks, man.

    Then how to control ZNP via a PC running Linux?

  • Is there a simple example program we can see that runs on the PC that communicates with the ZNP?

  • I do not know such a program but the connection CC2530 to PC seems to be easy. It communicate with the host using UART. So connect to the CC2530 UART to USB converter and you have the hardware connection to PC.

  • Look into the CC2531ZNP; it can run on the little CC2531 USB sticks.

    I needed to do the same thing so I built a Zigbee to Ethernet gateway that works pretty well. We might sell them for OEM customers if you're interested.

     

    --Derek

  • Hi There,

    I have been following this forum, and I was wondering if you could help me with a problem:

    I want to be able to load the ZigBee home automation demo onto the CC2531 and be able to control it in some way with a PC terminal emulation program such as Hyper Terminal. 

    My plan is to use the USB file-groups from the rf_modem example (which uses MRFI) and insert them into the home automation demo , and then use the HAL-UART functions to send and receive data from the PC, in much the same way that the rf_modem example uses these functions. 

    In your opinion, will this work? 

    And, are there other settings in other file- groups that I'll have to manipulate? 

    Are there other things that I'll have to do to meet this goal? 

    I hope this concept is clear. I am not an experienced programmer. 

    I have already tried to do this myself, but with no success: I treid to take the usb file groups as-is from the rf_modem example and insert them into the file groups of the SampleSwitch program. The errors I am given (8) seem to refer to files that IAR syas it cannot open, yet the files can all be opened when searched for individually. 

    Please help. Please state the obvious, as I am not an experienced developer.

     

    Thanks for your time

  • What if I'm using a cc2531 USB dongle, and a Terminal. I fee like I'm finally getting this but I'm not sure. Do I need to type the commands in the terminal as if they were C-commands, or what exactly is it that I need to write in the terminal to enable the binding/transmission from the cc2531 dongle to cc2520 (in my particular case).