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

4IO_MUX and GPIO Matrix (GPIO, IO_MUX)

4IO_MUX and GPIO Matrix (GPIO, IO_MUX)

4.1Overview

The ESP32 chip features 34 physical GPIO pads. Each pad can be used as a general-purpose I/O, or be connected to an internal peripheral signal. The IO_MUX, RTC IO_MUX and the GPIO matrix are responsible for routing signals from the peripherals to GPIO pads. Together these systems provide highly configurable I/O.

Note that the I/O GPIO pads are 0­19, 21­23, 25­27, 32­39, while the output GPIOs are 0­19, 21­23, 25­27, 32­33. GPIO pads 34­39 are input­only.

This chapter describes the signal selection and connection between the digital pads (FUN_SEL, IE, OE, WPU, WDU, etc.), 162 peripheral input and 176 output signals (control signals: SIG_IN_SEL, SIG_OUT_SEL, IE, OE, etc.), fast peripheral input/output signals (control signals: IE, OE, etc.), and RTC IO_MUX.

Figure 4­1. IO_MUX, RTC IO_MUX and GPIO Matrix Overview

1.The IO_MUX contains one register per GPIO pad. Each pad can be configured to perform a ”GPIO” function (when connected to the GPIO Matrix) or a direct function (bypassing the GPIO Matrix). Some high-speed digital functions (Ethernet, SDIO, SPI, JTAG, UART) can bypass the GPIO Matrix for better high-frequency digital performance. In this case, the IO_MUX is used to connect these pads directly to the peripheral.)

See Section 4.10 for a list of IO_MUX functions for each I/O pad.

2.The GPIO Matrix is a full-switching matrix between the peripheral input/output signals and the pads.

For input to the chip: Each of the 162 internal peripheral inputs can select any GPIO pad as the input source.

For output from the chip: The output signal of each of the 34 GPIO pads can be from one of the 176 peripheral output signals.

See Section 4.9 for a list of GPIO Matrix peripheral signals.

Espressif Systems

48

ESP32 TRM (Version 5.0)

Submit Documentation Feedback

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