cancel
Showing results for 
Search instead for 
Did you mean: 

Changing UART IDLE Timeout on STM32G473QET6

JohnFrancis
Associate

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 1
TDK
Super User

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