AnsweredAssumed Answered

stm32f3discovery: USART2 interrupt handler looping

Question asked by cornmander on Dec 1, 2012
Latest reply on Dec 1, 2012 by Clive One
Hi, I tried to set up some code for handling data received on the USART2 peripheral but for some reason it seems to read one byte and then keep re-entering the interrupt handler without setting the RXNE interrupt flag (or any other interrupt flag, I checked that too...). Here is what the relevant code looks like: http://pastebin.com/8Dcu2Ece. I removed checks for all the other possible non-error interrupt flags since it they weren't being triggered. 

Outcomes