1. There are two uart port on esp8266, UART0 and UART1.
The original pin function related to the UART0 port shows below:
FUNC : PIN NAME
U0TXD --> U0TXD
U0RXD --> U0RXD
U0CTS --> MTCK
U0RTS --> MTDO
These pins can operate in a full duplex way with hardware handshake(flwo control).
config details --> viewtopic.php?f=7&t=48
On esp demo board, this picture shows a basic debug environment:
2. uart debug info. output:
Usually,for iot project , UART0 can output the debug information. But in AT mode , UART0 communicates with the PC or MCU, so the debug info. should be output via UART1.
(1).SET UART1 PIN FUNC:
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_U1TXD_BK);
(2).change output port for os_printf:
os_install_putc1((void *)uart1_write_char);
3. how to prevent uart0 output when the chip is booting up.
see --> viewtopic.php?f=7&t=22
How to arrange UART0/UART1 pins and functions
Who is online
Users browsing this forum: No registered users and 2 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.