2018-05-22 04:30 AM
Posted on May 22, 2018 at 13:30
Hello,
Weird problem here.
Every interrupt we get from the LPUART1 interrupts only once. I am sure we are clearing the flag for the interrupt. I can check it with the debugger and see its cleared.
When the exact same interrupt condition happens for the second time, this time the code does not branch to interrupt in stm32l4xx_it.c. I can see that the corresponding flag goes high, the interrupt enable is still set but nothing happens.
We are using IAR for compilation and debug.
Does anyone have any idea what might be causing this behavior?
Regards,
Mete
2018-05-22 09:55 PM
This is up!
2018-05-23 02:37 AM
Code might be illustrative ..