How to add delay before switching Tx/Rx mode in USART Async RS-485 mode (Hardware flow control).
I am using USART 1 and USART 2 of STM32L56VE series microcontroller in RS-485(Hardware flow control) in Async mode, I am using PA9(TX),PA10(RX),PA12(RTS),PD4(RTS),PD5(TX) and PD6(RX) pins. I have observed Transceiver is switched to send immediate at begin of start bit and set back to receive immediate after stop bit. I want to add a delay of ~30us before immediately switching between modes (Rx/Tx)
In STM IDE there is a smartcard mode to add guard time, however it is not available for Asyc RS-485 mode.
I have pull-up resistor of 10K connected on Rx and Tx pins and pull-down resistor of 10k on RTS pins of both USART 1 & 2.
My question is whether a delay/guard time is required as I already have pull-up resistors connected?
What is the way I can achieve ~30us of delay/guard time if it is really required?
@Frantz LEFRERE Can you please help me here?