ESP8266 Receive overflow

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

ESP8266 Receive overflow

Postby hhc » Thu Aug 13, 2015 5:47 pm

Hi,

ESP8266 sometimes give Rx OVF when we send data to it at a baud rate of 576000. It does not seem to appear with 115200. Does CTS (MTD0) work in ESP8266? We pull down that pin using 4.7k resistor. Will it affect anything?

Regards,
Hew

Version

Code: Select all

AT version:0.30.0.0(Jul  3 2015 19:35:49)
SDK version:1.2.0
compile time:Jul 20 2015 18:15:27
OK


ESP8266 set to handle flow control

Code: Select all

AT+UART_CUR=576000,8,1,0,3


We send new data only after receiving SEND OK.

Code: Select all

AT+CIPSTART=0,"TCP","xxx.xxx.xx.xxx",8888
0,CONNECT

OK
AT+CIPBUFSTATUS=0
0,21,20,20,2920,8

OK
AT+CIPSENDBUF=0,1400
21,20

OK
>
Recv 1400 bytes

0,21,SEND OK
AT+CIPSENDBUF=0,1400
22,21

OK
>
Recv 1400 bytes

0,22,SEND OK
AT+CIPSENDBUF=0,1400
23,22

OK
>
Recv 1400 bytes

0,23,SEND OK
AT+CIPSENDBUF=0,875
24,23

OK
>


(no more SEND OK here since ESP8266 Rx OVF)



debug port output

Code: Select all

tcp client connect
pespconn 0x3fff4270
RX OVF!
RX OVF!
RX OVF!
RX OVF!
RX OVF!
RX OVF!
RX OVF!
RX OVF!
RX OVF!
RX OVF!
RX OVF!
RX OVF!

flyfish
Posts: 18
Joined: Mon Aug 10, 2015 10:22 am

Re: ESP8266 Receive overflow

Postby flyfish » Thu Aug 20, 2015 5:28 pm

Rx OVF is because the baud rate of 576000 is to high(576000 bit/s is about 57kB/s). Hard flow control should be considered.

Who is online

Users browsing this forum: No registered users and 2 guests