You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: The GPIO22 - GPIO25 can not be used with ESP32-S2 chip because they are reserved for internal use. Please refer to UART documentation for selected target.
24
29
25
30
Optionally, you can set-up and use a serial interface that has RTS and CTS signals in order to verify that the
26
31
hardware control flow works. Connect the extra signals according to the following table, configure both extra pins in
27
32
the example code by replacing existing `UART_PIN_NO_CHANGE` macros with the appropriate pin numbers and configure
28
33
UART1 driver to use the hardware flow control by setting `.flow_ctrl = UART_HW_FLOWCTRL_CTS_RTS` and adding
Use the command below to configure project using Kconfig menu as showed in the table above.
49
+
The default Kconfig values can be changed such as: EXAMPLE_TASK_STACK_SIZE, EXAMPLE_UART_BAUD_RATE, EXAMPLE_UART_PORT_NUM (Refer to Kconfig file).
38
50
```
39
51
idf.py menuconfig
40
52
```
@@ -54,10 +66,9 @@ See the Getting Started Guide for full steps to configure and use ESP-IDF to bui
54
66
## Example Output
55
67
56
68
Type some characters in the terminal connected to the external serial interface. As result you should see echo in the
57
-
terminal which is used for flashing and monitoring. You can verify if the echo indeed comes from ESP32 by
69
+
terminal which is used for flashing and monitoring. You can verify if the echo indeed comes from ESP32(S2) board by
58
70
disconnecting either `TxD` or `RxD` pin: no characters will appear when typing.
59
71
60
72
## Troubleshooting
61
73
62
-
You are not supposed to see the echo in the terminal which is used for flashing and monitoring, but in the other one
63
-
which is connected to UART1.
74
+
You are not supposed to see the echo in the terminal which is used for flashing and monitoring, but in the other UART configured through Kconfig can be used.
0 commit comments