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.

CC2530+CC2591: Looking for the simplest Zigbee example

Other Parts Discussed in Thread: CC2591, CC2530, Z-STACK

Hi All,

I'd like to program CC2530+CC2591 for personal use: make it listen to a CC2530 GPIO PIN and expose it as a "switch" through Zigbee. Simple, huh? Not for a novice like me.

I installed "IAR EW IDE - 8051", as well as "Z-Stack 3.0.2". I thought I would start with the "SampleSwitch" sample app, but it requires the EB. And I don't need EB with its LCD menu and stuff. I just need to produce a "hex" firmware which I can flash to my CC2530 and control through Zigbee rather than through the EB.

Any hints which sample app to use for quick start would be welcome!

  • Hi Ra,

    Unfortunately, all of the sample application projects use the SmartRF05EB as a starting point. I recommend that you use the GenericApp project since it does not rely on the LCD as heavily.  You can directly access the HAL keys from zclGenericApp_HandleKeys to commission your device (bdb_StartCommissioning, optional is automatically commissioning with a timer after device start-up) and control the switch functionality with zclGeneral_SendOnOff_Cmd*.  You will need to port zcl_samplesw_data.c to zcl_genericapp_data.c to maintain the same cluster functionality as the SampleSwitch project.

    Regards,
    Ryan