Hi All:
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
How to enable & use UART1?
Re: How to enable & use UART1?
Postby ESP_Faye » Wed Jan 20, 2016 3:31 pm
Hi,
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!
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!
Who is online
Users browsing this forum: No registered users and 18 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.