RGB led control in DA14683 USB kit

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
Vishalkumar
Offline
Last seen: 1 year 11 months ago
Joined: 2020-09-15 11:29
RGB led control in DA14683 USB kit

Hi,

I am using DA14683 usb kit.

I am able to control D9(White LED) and D10(Red LED) using hw_gpio_set_pin_function(). But RGB led pins donot having gpio port and pin configuration. How should i control RGB led.

Thanks and Regards,

Vishalkumar. 

Device: 
PM_Dialog
Offline
Last seen: 9 months 1 day ago
Staff
Joined: 2018-02-08 11:03
Hi Vishalkumar,

Hi Vishalkumar,

According to user manual, the RGB LEDs are connecting each color to dedicated PWM pins (LED1, LED2, LED3). To do so, you should feed that LED with the proper PDM signal.

Thanks, PM_Dialog

Vishalkumar
Offline
Last seen: 1 year 11 months ago
Joined: 2020-09-15 11:29
Hi,

Hi,

Thanks for the reply, can you share the process or any document of feeding PDM signal to LED.

Thanks and Regards,

Vishalkumar.

PM_Dialog
Offline
Last seen: 9 months 1 day ago
Staff
Joined: 2018-02-08 11:03
Hi Vishalkumar,

Hi Vishalkumar,

Sorry, it was a typo. I meant PWM. You could take a look at the SW Example: Generating PWM pulses via TIMER0.

Thanks, PM_Dialog