Hello,
I'm using the nRF52840 DK, SDK 17.1.0 and SoftDevice S140. My project is based on the Blinky peripheral example. The problem is the following:
bsp_board_leds_on(); // truns on all 4 LEDs bsp_board_leds_off(); // truns off all 4 LEDs bsp_board_led_on(BSP_LED_0); // doesn't turn on any of the LEDs bsp_board_led_off(BSP_LED_0); // doesn't turn off any of the LEDs nrf_gpio_pin_clear(BSP_LED_0); // turns on the LED all right bsp_board_init(BSP_INIT_LEDS); // called after log_init() in main.c
Basically, turning individual LEDs on/off with bsp functions doesn't work, but turning all LEDs on/off does work. Meanwhile the nrf_gpio_pin_clear() function turns on the individual LED just fine. How is that possible? The board definition file pca10056.h is the one from the SDK, unchanged.