Question
UART Over-Run interrupt occurred in STM32F4
Posted on September 07, 2016 at 11:40
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 followsMode: Asynchronous mode. H/W Flow Control (RS232) - DisableClock Configuration: My APB1 peripheral clock is 42MHzUSART1 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. #hal #uart #no-hablo-hal #stm32f439 #uart_receive_it