UART echo delay problem
Posted: Mon May 23, 2022 9:24 am
Hello,
I'm trying to use uart_echo example as the base for my code. I want to read 4 bytes (with 4800 baud rate), then transmit them back, but the problem is I get about 20ms delay between Rx & Tx.
The code is so simple, but I can't understand what is the problem. Can anyone help me? I'm so confused.
P.S.: I tryed the uart_event example also, but the problem remains the same.
I'm trying to use uart_echo example as the base for my code. I want to read 4 bytes (with 4800 baud rate), then transmit them back, but the problem is I get about 20ms delay between Rx & Tx.
The code is so simple, but I can't understand what is the problem. Can anyone help me? I'm so confused.
P.S.: I tryed the uart_event example also, but the problem remains the same.