Skip to main content
Atilla Mete Turedi
Associate III
May 22, 2018
Question

STM32L496 LPUART interrupts only once for every interrupt type

  • May 22, 2018
  • 1 reply
  • 889 views

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

This topic has been closed for replies.

1 reply

Atilla Mete Turedi
Associate III
May 23, 2018
Posted on May 23, 2018 at 06:55

This is up!

Tesla DeLorean
Guru
May 23, 2018
Posted on May 23, 2018 at 09:37

Code might be illustrative ..

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..