Skip to main content
Visitor II
January 17, 2025
Question

STM32G4 USART - Busy Flag and Timeout operation

  • January 17, 2025
  • 1 reply
  • 441 views

How does the (USART_ISR) BUSY flag get reset? The data sheet indicates "end of reception," but that is not defined. Is it an end-of-frame, idle event, or something else?

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    January 17, 2025

    Hello @2jjayne ,

    This bit indicates that the RX line is active and receiving data when it is set, and it gets cleared by hardware at end of reception (stop bit detection) or in case of unsuccessful reception due to halting or other errors, so it can have many conditions clearing it in case of unsuccessful reception.

    Regards