AnsweredAssumed Answered

UART Over-Run interrupt occurred in STM32F4

Question asked by Raja.Sathya on Sep 7, 2016
Latest reply on Sep 15, 2017 by Age Zijderveld
Hi.....!!!

I am using STM32F438IIT6 for UART Receive in Interrupt mode.
I have used STM32Cube Mx for UART configuration & code generation.
In Cube I have configured USART1 as follows
Mode: Asynchronous mode. 
H/W Flow Control (RS232) - Disable

Clock Configuration: My APB1 peripheral clock is 42MHz

USART1 Configuration : Baud Rate : 115200 bits/sec, Word length : 8 bits, parity : None, Stop bit: 1, Oversampling: 16 samples and I have enabled USART1 global interrupt. 

I have used HAL_UART_Receive_IT function for enabling UART receive interrupt. I am receiving each byte in each interrupt.  But I am getting UART Overrun error every time. 

How to fix this Overrun error ?
Is there is any other better option to receive high speed UART datas??

Please help me in this regards.











Outcomes