2021-09-27 02:37 AM
Has anyone encountered this problem? An ORE error occurs when receiving data with LPUART. After I clear it with software, an ORE error occurs every time I receive data. How can I solve it?
Solved! Go to Solution.
2021-09-27 03:11 AM
ORE means Overrun error. The reference manual of the specific derivative says, here for example for the STM32L0:
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 RXNE flag is set after every byte received. An overrun error occurs if RXNE flag is set when the next data is received or the previous DMA request has not been serviced.
Good luck!
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter
2021-09-27 03:11 AM
ORE means Overrun error. The reference manual of the specific derivative says, here for example for the STM32L0:
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 RXNE flag is set after every byte received. An overrun error occurs if RXNE flag is set when the next data is received or the previous DMA request has not been serviced.
Good luck!
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter