This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GPIO Pin output not working as same as LEDs on Board.

I m using nrf52840-DK Board.

For CTL example i got the perfect output on board LEDs 1 to 4.

Then i cut the solder bridge (SB5-SB8)and then used GPIO pinout for external LED light.

When i use GPIO pinout P0.13 to P0.16 as output and Connected the External dimmable driver led light.

I didn't get the same output as i got on Borad LEDs.

Problem:

On CTL example (nrf52 5.0 SDK) at whatever point the slider is left with. It will dim the light which has lower intensity.

For example: IF Warm is at high intensity 80% and cool is at 20%, the dimming will be of cool light only.

The Dimming of The warm and cool light does not go together.

The only time external light dimmes both cold and Warm light is when both are on 50% percent.

what is that i m missing. i have gone through the Diagram also with detail in documentation.

please help me on my regarding problem.

Parents Reply
  • Hi,

    I think the issue is understood, you experience that the LED doesn't get dimmed as you expected it to. I therefore suggest that you should measure the output of the pins and verify that it's the same as when you use the DK unconfigured. My guess is that it's the same unless you have changed the example.

    I therefore suggested that you could share the datasheet of the LED that you're using. Most likely you would have to test and adjust with the PWM functions in main.c so that it fits your LED light.

    regards

    Jared 

Children
Related