cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G4 USART - Busy Flag and Timeout operation

2jjayne
Visitor

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?

 

1 REPLY 1
STea
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.