cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 USART3 IRQ & EXTI IRQ

kyle
Associate
Posted on July 09, 2014 at 18:53

The original post was too long to process during our migration. Please click on the attachment to read the original post.
2 REPLIES 2
Posted on July 09, 2014 at 19:32

Your USART3 IRQ Handler does nothing to clear the interrupt source, it will simply keep re-entering forever. If you have no data to send you must disable the TXE interrupt.

Don't put delays in your interrupt handlers, especially if they are dependent on other interrupts occurring.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
kyle
Associate
Posted on July 10, 2014 at 21:45

Thank you Clive1! I should have spotted that delay in the IRQ handler, rookie error. It ended up that disabling the TXE interrupt was all that was messing me around. I have put back the section of code to read the USART and all is running now!

Thanks for the great help!

On a different note, including and using a second USART. That should be pretty straight forward from here?