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

can not control PIN6 of nrf52840

In my code ,  i use P0.6, P0.8, P1.9 to control  three RGB LED.

when I use nRF5_SDK_13.0.0-1.alpha, all is fine,

but when use nRF5_SDK_15.0.0_a53641a, the issure like below:

RGB LED work fine in  secure_bootloader,  but R can not be control in my application.

I clode log by modify (#define NRF_LOG_ENABLED 0),  but no help.

#define LED_1 NRF_GPIO_PIN_MAP(0,6)//red
#define LED_2 NRF_GPIO_PIN_MAP(0,8)//green
#define LED_3 NRF_GPIO_PIN_MAP(1,9)//blue

nrf_gpio_cfg_output(BSP_LED_0);
nrf_gpio_cfg_output(BSP_LED_1);
nrf_gpio_cfg_output(BSP_LED_2);
bsp_board_leds_off();

Related