2014-12-11 04:27 AM
Hi
We have developed an applicaion using on STM32F103 UART using the standard peripheral library and it was working fine. recently we ported our application to STM32F407 running @ 168MHz. Since then We are missing the received data and still getting ORE error, our UART baud rate is 9600 on STM32F103 I was using the std peripheral library and for STM32F407 I sued Cube MX for initialization and STM32Cube_FW_F4_V1.3.0 for driver Here are the values of the registers before the error and after the error SR = 248, DR= 42, BRR = 651, CR1=8204, CR2=0, CR3=0, GTPR=0 and these are the values after the error SR = 208,DR= 10,BRR = 651, CR1=8236, CR2=0, CR3=0, GTPR=0 IS there any suggestions to overcome this problem I think of either re-implemeinting the ISR and avoid using the STM32Cube library or use DMA. What do you think #stm32f07-uart-ore-cube-interrupt2014-12-23 02:20 AM
Hi Hossam,
The values of the SR regsiters before and after the encountred error are: SR = 248 = 0xF8 (TC, TXE, RXNE, OVR, IDLE)SR = 208 = 0xD0 (TC, TXE, OVR)My proposal is to check the following scenarios that may cause the error you've found: