Skip to main content
JohnFrancis
Associate II
June 18, 2025
Question

Changing UART IDLE Timeout on STM32G473QET6

  • June 18, 2025
  • 1 reply
  • 213 views

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?

1 reply

TDK
Super User
June 18, 2025

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""."