-
- Downloads
stm32f3: periph: uart: add misssing uart overrun handling
On overrung the ORE bit in the ORECF register is set. An overrun error occurs when a character is received when RXNE has not been reset. Data can not be transferred from the shift register to the RDR register until the RXNE bit is cleared. The ORE bit is reset by setting the ORECF bit in the ICR register. In case the ORE bit isn't cleared, the isr_handler() routine is called continuously. Which prevents the system from normal scheduling.
Please register or sign in to comment