ESP8266 Developer Zone The Official ESP8266 Forum 2015-04-18T13:48:00+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=210 2015-04-18T13:48:00+08:00 2015-04-18T13:48:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=210&p=1409#p1409 <![CDATA[Re: Uart driver with transmit buffer & interrupt]]> Statistics: Posted by tve — Sat Apr 18, 2015 1:48 pm


]]>
2015-04-18T01:08:01+08:00 2015-04-18T01:08:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=210&p=1404#p1404 <![CDATA[Re: Uart driver with transmit buffer & interrupt]]>
tve wrote:
Does anyone have some code to buffer uart output (TX) and send characters to the uart using an interrupt? The driver in the AT demo only uses interrupt for RX. Thanks!

BTW: does anyone know how deep the uart TX fifo is?


Demo here:
viewtopic.php?f=7&t=48&p=173#p173

Statistics: Posted by costaud — Sat Apr 18, 2015 1:08 am


]]>
2015-02-25T23:50:00+08:00 2015-02-25T23:50:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=210&p=813#p813 <![CDATA[Re: Uart driver with transmit buffer & interrupt]]> https://github.com/jeelabs/esp8266-brid ... ver/uart.c if anyone cares) but stopped short of adding TX interrupt support. I'm using 115200baud and I realized that with a 128 char buffer I can simply delay for a tick (~10ms) if the HW buffer is full 'cause the buffer holds ~11ms worth of data.

Statistics: Posted by tve — Wed Feb 25, 2015 11:50 pm


]]>
2015-02-25T22:04:57+08:00 2015-02-25T22:04:57+08:00 https://bbs.espressif.com:443/viewtopic.php?t=210&p=812#p812 <![CDATA[Re: Uart driver with transmit buffer & interrupt]]>
tve wrote:
Does anyone have some code to buffer uart output (TX) and send characters to the uart using an interrupt? The driver in the AT demo only uses interrupt for RX. Thanks!

BTW: does anyone know how deep the uart TX fifo is?


I will update a uart buffer and interrupt instruction.
The UART tx/rx FIFO depth is 128 bytes.

Statistics: Posted by costaud — Wed Feb 25, 2015 10:04 pm


]]>
2015-02-17T16:25:47+08:00 2015-02-17T16:25:47+08:00 https://bbs.espressif.com:443/viewtopic.php?t=210&p=761#p761 <![CDATA[Uart driver with transmit buffer & interrupt]]>
BTW: does anyone know how deep the uart TX fifo is?

Statistics: Posted by tve — Tue Feb 17, 2015 4:25 pm


]]>