Добавил:
ИВТ (советую зайти в "Несортированное") Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
interfeysy_1 / ИДЗ_машинка / даташиты / esp32_technical_reference_manual_en.pdf
Скачиваний:
6
Добавлен:
26.01.2024
Размер:
9.62 Mб
Скачать

3Reset and Clock

3Reset and Clock

3.1System Reset

3.1.1Introduction

The ESP32 has three reset levels: CPU reset, Core reset, and System reset. None of these reset levels clear the RAM. Figure 3-1 shows the subsystems included in each reset level.

Figure 3­1. System Reset

CPU reset: Only resets the registers of one or both of the CPU cores.

Core reset: Resets all the digital registers, including CPU cores, external GPIO and digital GPIO. The RTC is not reset.

System reset: Resets all the registers on the chip, including those of the RTC.

3.1.2Reset Source

While most of the time the APP_CPU and PRO_CPU will be reset simultaneously, some reset sources are able to reset only one of the two cores. The reset reason for each core can be looked up individually: the PRO_CPU reset reason will be stored in RTC_CNTL_RESET_CAUSE_PROCPU, the reset reason for the APP_CPU in RTC_CNTL_RESET_CAUSE_APPCPU. Table 3-1 shows the possible reset reason values that can be read from these registers.

Table 3­1. PRO_CPU and APP_CPU Reset Reason Values

PRO

APP

Source

Reset Type

Note

0x01

0x01

Chip Power On Reset

System Reset

-

 

 

 

 

 

0x10

0x10

RWDT System Reset

System Reset

See WDT Chapter.

 

 

 

 

 

0x0F

0x0F

Brown Out Reset

System Reset

See Power Management Chapter.

 

 

 

 

 

0x03

0x03

Software System Reset

Core Reset

Configure RTC_CNTL_SW_SYS_RST register.

 

 

 

 

 

0x05

0x05

Deep Sleep Reset

Core Reset

See Power Management Chapter.

 

 

 

 

 

0x07

0x07

MWDT0 Global Reset

Core Reset

See WDT Chapter.

 

 

 

 

 

Espressif Systems

39

ESP32 TRM (Version 5.0)

Submit Documentation Feedback

Соседние файлы в папке даташиты