We are communicating with server through modem connected to esp8266 over UART0. When our server sends a message  bytes, We get UART Rx overflow and message RX OVF!! is printed on console that is coming from uart.c
We have increased following defines in uart.h as the maximum size packet that our server can send is 768 bytes.
#define UART_TX_BUFFER_SIZE 768 //Ring buffer length of tx buffer
#define UART_RX_BUFFER_SIZE 768 //Ring buffer length of rx buffer
However this does not help to stop RX OVF!!
How can we increase the Receive buffer to avoid RX OVF!! error?
esp is communicated with modem on baud rate 115200
Does UART0 support Software Flow Control (XON/XOFF)?
Your help is appreciated.
((100 & UART_RXFIFO_FULL_THRHD) << UART_RXFIFO_FULL_THRHD_S) |
Can you please let me know what is the maximum threshold we can set?
What is the maximum size of UART0 RXFIFO?
The second thing I'd try is to lower the baud rate (in the sender and receiver of course).
Who is online
Users browsing this forum: No registered users and 8 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!