2017-01-11 09:58 AM
Hi all,
I'm using STM32L4 MCU and FreeRTOS V8.
I have implemented thread that execute normaly,
During this thread, I have to initialize HAL interrupt (by executing HAL_NVIC_EnableIRQ(EXTI9_5_IRQn); )
Unfortunately, it seems that
my interrupt does not work
, and I guess because it wasnot created properly.
Any Idea ?!
Thanks.
Ghada.
2017-01-11 11:29 AM
Why is it necessary to guess? Can't you look at the NVIC registers? Can't you review what you do prior to enabling it in the NVIC?
It is much more likely that you're just not setting it up early enough, or things aren't occurring in the way/order you want.
Does the EXTI interrupt work if you just test that one thing? ie initialize the pin, source, EXTI, NVIC, etc
Can you instrument with GPIO signals, and review the EXTI source and interrupt in the context of you setting things up?