Where is BOARD_InitRGB ?

cancel
Showing results for 
Search instead for 
Did you mean: 

Where is BOARD_InitRGB ?

278 Views
danieldhillon
Contributor II

For BOARD_USE_PWM_FOR_RGB_LED, where is the code for the BOARD_InitRGB and PWM_StartEdgeAlignedLowTrue functions referenced in the LED.c file in the SDK for the QN9080x?

Labels (1)
0 Kudos
1 Reply

162 Views
gerardo_rodriguez
NXP Employee
NXP Employee

Hello Daniel,

It appears like this is a bug with the PWM feature of the LED library from the connectivity framework. I will report it to the SW team so hopefully it gets fixed in future releases of the SDK.

The BOARD_InitRGB() is called BOARD_InitLEDs() in the QN9080 SDK and PWM_StartEdgeAlignedLowTrue() is not available for the CTimer module used by the QN9080.

As a workaround you can generate PWM signals by using the CTimer driver as in the CTimer Simple PWM example located in the driver_examples folder in the SDK.

Let me know if you have any question.

Regards,

Gerardo

0 Kudos