Skip to main content
Explorer II
June 18, 2025
Question

Changing UART IDLE Timeout on STM32G473QET6

  • June 18, 2025
  • 1 reply
  • 212 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?

    This topic has been closed for replies.

    1 reply

    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.