WFI issue (solved)
aro_72 Mon Dec 12, 2016 2:40 pm
I am experiencing an issue with wait for interrupt (WFI) using Nucleo-L476.
It seems my board does not enter WFI or most probably exit immediately WFI.
In order to make it simple, I used the Blink sketch and added WFI when changing the LED state.
I expect then the STM32 to enter WFI and stay here until an interrupt is fired (that should never come on this basic example) and therefore the LED should not blink anymore
What I observe : LED continues to blink normally.
I use the __WFI() funtion of CMSIS.
Is there anything special to do to get WFI working properly ?
Thanks in advance.
