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.

LP-EM-CC2745R10-Q1: Add dimming support to matter lighing-app demo

Part Number: LP-EM-CC2745R10-Q1


Tool/software:

Hello,

Similar request for the CMCU team as with the WiFi team. The matter 1.4 lighting app demo doesn't support dimming it's only on / off control despite the demo being configured both as an RGB light as well as dimmable.

I understand that the launchpad doesn't have an RGB LED, but at minimum I would expect the RED LED to dim.

Munan

  • Hi Munan,

    Yes, you are correct, the LED on lighting-app currently acts as on-off. (I believe this is an artifact from lighting-app being ported over from lock-app a few years ago).

    The syscfg could be re-configured to support dimming by routing the LEDs to PWM (instead of GPIO), an example implementation here: pwmled1

    For this board specifically (LP-EM-CC2745R10-Q1):

    • Red LED: LGPT3 Ch0 set pin to DIO16 (datasheet calls this T3C0)
    • Green LED: LGPT3 Ch1 set pin to DIO12 (datasheet calls this T3C1)

    Thanks,
    Toby