EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1134 background imageLoading...
Page #1134 background image
Chapter 2. API Reference
from 0 to 46 if ESP_CONSOLE_UART_CUSTOM
Default value:
43 if ESP_CONSOLE_UART_CUSTOM
CONFIG_ESP_CONSOLE_UART_RX_GPIO
UART RX on GPIO#
Found in: Component config > ESP System Settings
This GPIO is used for UART RX input in the ESP-IDF Bootloader and the app (including default default
standard input of the app).
Note: The default ESP-IDF Bootloader configures this pin but doesnt read anything from the UART.
If the configuration is different in the Bootloader binary compared to the app binary, UART is recon-
gured after the bootloader exits and the app starts.
Range:
from 0 to 46 if ESP_CONSOLE_UART_CUSTOM
Default value:
44 if ESP_CONSOLE_UART_CUSTOM
CONFIG_ESP_CONSOLE_UART_BAUDRATE
UART console baud rate
Found in: Component config > ESP System Settings
This baud rate is used by both the ESP-IDF Bootloader and the app (including boot log output and
default standard input/output/error of the app).
The apps maximum baud rate depends on the UART clock source. If Power Management is disabled,
the UART clock source is the APB clock and all baud rates in the available range will be sufficiently
accurate. If Power Management is enabled, REF_TICK clock source is used so the baud rate is divided
from 1MHz. Baud rates above 1Mbps are not possible and values between 500Kbps and 1Mbps may
not be accurate.
If the configuration is different in the Bootloader binary compared to the app binary, UART is recon-
gured after the bootloader exits and the app starts.
Range:
from 1200 to 4000000 if CONFIG_PM_ENABLE
from 1200 to 1000000 if CONFIG_PM_ENABLE
Default value:
115200
CONFIG_ESP_CONSOLE_USB_CDC_RX_BUF_SIZE
Size of USB CDC RX buffer
Found in: Component config > ESP System Settings
Set the size of USB CDC RX buffer. Increase the buffer size if your application is often receiving data
over USB CDC.
Range:
from 4 to 16384 if ESP_CONSOLE_USB_CDC
Default value:
64 if ESP_CONSOLE_USB_CDC
Espressif Systems 1123
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish