Skip to main content
JohnFrancis
Associate III
Jun 18, 2025 1:27 PM UTC
Solved

Changing UART IDLE Timeout on STM32G473QET6

I am usi the IDLE event functionality of UART with HAL_UARTEx_ReceiveToIdle_IT() on an STM32G473QET6 controller. Is there a way to change the idle timeout using STM32CubeMX, or are there alternative methods to modify this setting?

This topic has been closed for replies.
TDK
TDKBest answer
Jun 18, 2025 2:34 PM UTC

No, IDLE happens at the first time the bus is idle. This is baked into the hardware, there is no way to set a delay or timeout.

If you want a delay, you could set up a timer that starts when IDLE occurs and has a callback when the period is elapsed.

"If you feel a post has answered your question, please click ""Accept as Solution""."

1 reply

TDK
TDKBest answer
Jun 18, 2025 2:34 PM UTC

No, IDLE happens at the first time the bus is idle. This is baked into the hardware, there is no way to set a delay or timeout.

If you want a delay, you could set up a timer that starts when IDLE occurs and has a callback when the period is elapsed.

"If you feel a post has answered your question, please click ""Accept as Solution""."