Where is BOARD_InitRGB ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Where is BOARD_InitRGB ?

651 次查看
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?

标签 (1)
标记 (5)
0 项奖励
1 回复

535 次查看
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 项奖励