2012-11-30 07:43 PM
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:
. I removed checks for all the other possible non-error interrupt flags since it they weren't being triggered.2012-12-01 04:01 AM
Looks reasonable enough, I'd probably initialize the NVIC first.
How are you testing it?