1{IDF_TARGET_BAUD_RATE:default="115200", esp8266="74880 "}
2
3Serial Connection
4=================
5
6The ROM serial bootloader of Espressif chips uses a 3.3V UART serial connection. Many development boards make the serial connections for you onboard.
7
8However, if you are wiring the chip yourself to a USB/Serial adapter or similar then the following connections must be made:
9
10+---------------------+-------------------+
11| ESP Chip Pin        | Serial Port Pin   |
12+=====================+===================+
13| TX                  | RX (receive)      |
14+---------------------+-------------------+
15| RX                  | TX (transmit)     |
16+---------------------+-------------------+
17| Ground              | Ground            |
18+---------------------+-------------------+
19
20Note that TX (transmit) on the ESP chip is connected to RX (receive) on the serial port connection, and vice versa.
21
22Do not connect the chip to 5V TTL serial adapters, and especially not to "standard" RS-232 adapters! 3.3V serial only!
23
24.. _serial-port-settings:
25
26Serial Port Settings
27--------------------
28
29When communicating with the {IDF_TARGET_NAME} ROM serial bootloader, the following serial port settings are recommended:
30
31+---------------------+-------------------+
32| Baud rate           | {IDF_TARGET_BAUD_RATE}            |
33+---------------------+-------------------+
34| Data bits           | 8                 |
35+---------------------+-------------------+
36| Stop bits           | 1                 |
37+---------------------+-------------------+
38| Parity              | None              |
39+---------------------+-------------------+
40| Flow control        | None              |
41+---------------------+-------------------+
42
43.. only:: esp32c2
44
45    .. note::
46
47        You might experience issues when using low baud rates on {IDF_TARGET_NAME}. If you encounter any problems when connecting, please use at least 115200 or higher.
48
49.. only:: esp8266
50
51    .. note::
52
53        Baud rate {IDF_TARGET_BAUD_RATE} is what the {IDF_TARGET_NAME} bootloader uses. The apps on top of the Espressif SDK (e.g. Arduino sketch) talk at 115200 if not specified otherwise.
54