Page 1 of 1

UART character delay?

Posted: Mon Sep 04, 2017 6:28 pm
by sebastian.heyn
Hi,

my application runs on an external ┬ÁCOM which uses 1.843200MHZ as system clock. I have to go that route for two reasons:
1) UART Baud rate accuracy
2) Power consumption.

Now I have treid receiving the UART at 19200 in several ways (Interrupt and direct loop) however the application looses some characters sometimes. At 16mhz, no characters are lost no matter how I do that.

One question: is there a uart command to set a character delay on transmit?

Thanks in advance

Re: UART character delay?

Posted: Tue Sep 05, 2017 8:21 pm
by pratik
No, the AT command set does not allow that setting.
The best you can do is lower the baud rate to 9600 maybe. If your uC is running at <8MHz and has no UART FIFO, then you are bound to miss packets!
This is because the ESP8266 UART has DMA + FIFO, and it transfers bytes out with almost zero loading time. That can overrun most small 8-bit micros.