Question
What delay time should be set when transmitting data via UART?
The fourth parameter in the HAL_UART_Transmit function.
Suppose I send 5 characters, is probably 5*9==45 .
Transfer rate 115200 Bits/s
What delay should I set in the HAL_UART_Transmit function?
5 characters at a speed of 115200 Bits/s will be transmitted in 0.000390625 seconds.
In 390 microseconds, 5 characters can be sent.
But I saw cases where a time delay of 1000 milliseconds is set and everything worked.
How should the time delay be calculated?
