The TI E2E™ design support forums will undergo maintenance from Sept. 28 to Oct. 2. If you need design support during this time, contact your TI representative or open a new support request with our customer support center.

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: RGB Light with PWM (dimmable)

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

Hello community,

I am trying to build a cheap Zigbee 3.0 RGB controller with a CC2530 (E18-MS1-PCB). The goal is to control it via Alexa.

I use Z-Stack 3.0.2 for this (IAR Workbench 10.40.1).

I got the SampleLight running and can switch an LED via Alexa. However, dimming doesn't work and I'm not sure how to integrate the colors, so all 3 LEDs.

Can anyone help me out here? Is there perhaps a better sample project that works with RGB?

I'm looking forward to hearing your tips. Thank you.

  • You can download  Z-STACK-LIGHTING from to check the light example to see how it setup PWM to control RGB leds.

  • Hello Marius,

    You should confirm that ZCL_LEVEL_CTRL is defined by the Project Properties -> C/C++ Compiler -> Preprocessor -> Defined symbols.  This will cause the device to identify as a ZCL_HA_DEVICEID_DIMMABLE_LIGHT and contain ZCL_CLUSTER_ID_GEN_LEVEL_CONTROL in the incoming cluster list.  It would also optimal to set up a packet sniffing device and further understand how the Alexa-based gateway sends dimming commands.  You can reference the Z-STACK-LIGHTING's ZCL solution but please try to stay on the Zigbee 3.0 Specification.