ESP8266 Developer Zone The Official ESP8266 Forum 2016-01-20T15:31:52+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1649 2016-01-20T15:31:52+08:00 2016-01-20T15:31:52+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1649&p=5453#p5453 <![CDATA[Re: How to enable & use UART1?]]>
ESP8266 do support UART1, but please notice that UART1 only has TX, UART0 has both TX and RX. So it is suggested to use UART1 to print logs, use UART0 to do communication work.

You can refer to the ESP8266_RTOS_SDK\example\driver_lib\driver\uart.c to user UART.

UART documentation : http://bbs.espressif.com/viewtopic.php?f=51&t=819.

Thanks for your interest in ESP8266!

Statistics: Posted by ESP_Faye — Wed Jan 20, 2016 3:31 pm


]]>
2016-01-19T18:11:14+08:00 2016-01-19T18:11:14+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1649&p=5441#p5441 <![CDATA[How to enable & use UART1?]]>
I want to use UART1 as debug console (simulates input/output from WIFI) and use UART0 as communication port with function device:
PC console <==> UART1 -- ESP8266 -- UART0 <==> Function Device

Questions:
1. Does RTOS-SDK support UART1 ?
2. How to enable & use UART1 in firmware? any sample code?
3. How to connect Hardware wires/pins?

Many thanks!
B.R.
Macrogram

Statistics: Posted by esp8266ac — Tue Jan 19, 2016 6:11 pm


]]>