STM32F091 - Problem with USART2 and RXNE flag
In USART2 interrupt service routine ISR is read
isrval = USART2->ISR;
Stopping at breakpoint just before this statement, Keil debugger shows ISR value 0x000000F8.
Stepping one step (to read this ISR), value in ISR changes to 0x000000D8.
But, what ist this: 'isrval' is also 0x000000D8!!!.
This means RXNE flag is lost(!), in ISR AND in isrval and cannot further be evaluated.
Any suggestions
