“Why can’t I light up the LED when using the official NRF5340 Blinky example? During debugging, I found the program stuck at SLEEP_IF_ALLOWED(__WFE); in the cpu_idle.c file.”
“Why can’t I light up the LED when using the official NRF5340 Blinky example? During debugging, I found the program stuck at SLEEP_IF_ALLOWED(__WFE); in the cpu_idle.c file.”
Normal and intended behaviour, the idle thread is supposed to wait for timer (and other) interrupts.
I strongly recommend to start from nordic examples and not from the zephyr ones - the latter may not be written with the DK hardware in mind.
Normal and intended behaviour, the idle thread is supposed to wait for timer (and other) interrupts.
I strongly recommend to start from nordic examples and not from the zephyr ones - the latter may not be written with the DK hardware in mind.