nrf5340-DK LED not working with blinky example

I was following one of the lessons in Nordic Dev Academy in which one of the excesses blinks one of the LEDs on the DK. After flashing the board the LED wouldn't blink and I have checked with a multimeter to see if voltage is there, I read 2.992V. Using the Blinky example the LED still did not illuminate and flashing the same example on the nrf52-DK works. My initial suspicion is that maybe one of the components on the board is short to ground because when I bridge SB9 the LED1 illuminates. With that said I also tried all the other LEDs and all of them perform with the same behavior. 

In the technical documentation for the nrf5340-DK is specifies: 

l

so when using the function 

#define LED0_NODE DT_ALIAS(led0)

static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(LED0_NODE, gpios);

void main(void)
{
	int ret;

	if (!device_is_ready(led.port)) {
		return;
	}

	ret = gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE);
	if (ret < 0) {
		return;
	}

	while (1) {
	gpio_pin_set_dt(&led,1); // works when SB9 is closed, does not work when SB9 is open
	gpio_pin_set_dt(&led,0); //does not work  when SB9 is closed or open
	}
}


 writing a logical 0 and closing the SB9  doesn't work, however,  writing a logical 1 works (with SB9 closed).
Related