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 #1130 background imageLoading...
Page #1130 background image
Chapter 2. API Reference
CONFIG_PM_RTOS_IDLE_OPT
Put RTOS IDLE related codes in internal RAM
Found in: Component config > Power Management
If enabled, about 260B of RTOS_IDLE related source code would be in IRAM and chip would sleep
longer for 40us at most each time. This feature is intended to be used when lower power consumption
is needed while there is enough place in IRAM to place source code.
CONFIG_PM_SLP_DISABLE_GPIO
Disable all GPIO when chip at sleep
Found in: Component config > Power Management
This feature is intended to disable all GPIO pins at automantic sleep to get a lower power mode.
If enabled, chips will disable all GPIO pins at automantic sleep to reduce about 200~300 uA cur-
rent. If you want to specifically use some pins normally as chip wakes when chip sleeps, you
can call gpio_sleep_sel_disto disable this feature on those pins. You can also keep this fea-
ture on and call gpio_sleep_set_directionand gpio_sleep_set_pull_modeto have a different
GPIO configuration at sleep. Waring: If you want to enable this option on ESP32, you should en-
able GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL at first, otherwise you will not be able to switch
pullup/pulldown mode.
ESP System Settings Contains:
CONFIG_ESP_SYSTEM_RTC_EXT_XTAL_BOOTSTRAP_CYCLES
CONFIG_ESP_CONSOLE_UART
CONFIG_ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF
CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE
CONFIG_ESP_TASK_WDT
CONFIG_ESP_XT_WDT
CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL
CONFIG_ESP_INT_WDT
CONFIG_ESP_MAIN_TASK_AFFINITY
CONFIG_ESP_MAIN_TASK_STACK_SIZE
Memory protection
CONFIG_ESP_MINIMAL_SHARED_STACK_SIZE
CONFIG_ESP_SYSTEM_PANIC
CONFIG_ESP_PANIC_HANDLER_IRAM
CONFIG_ESP_CONSOLE_USB_CDC_RX_BUF_SIZE
CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE
CONFIG_ESP_CONSOLE_UART_BAUDRATE
CONFIG_ESP_CONSOLE_UART_NUM
CONFIG_ESP_CONSOLE_UART_RX_GPIO
CONFIG_ESP_CONSOLE_UART_TX_GPIO
CONFIG_ESP_SYSTEM_PANIC
Panic handler behaviour
Found in: Component config > ESP System Settings
If FreeRTOS detects unexpected behaviour or an unhandled exception, the panic handler is invoked.
Configure the panic handlers action here.
Available options:
Print registers and halt (ESP_SYSTEM_PANIC_PRINT_HALT)
Outputs the relevant registers over the serial port and halt the processor. Needs a manual reset
to restart.
Espressif Systems 1119
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