Page 1 of 1

Peripheral Output via GPIO Matrix

Posted: Tue Oct 08, 2024 5:21 am
by Mike1987
Hi. I first time in here. Please help me to understand Peripheral Output via GPIO Matrix.

My board EPS-WROOM32. Chip ESP32-D0WDQ6

• Set the GPIO_FUNCx_OEN_SEL bits and GPIO_ENABLE_DATA[x] to enable output mode, or clear
GPIO_FUNCx_OEN_SEL to zero so that the output enable signal will be decided by the internal logic
function.
What's means "internal logic function"?

Re: Peripheral Output via GPIO Matrix

Posted: Tue Oct 08, 2024 2:04 pm
by MicroController
From the ESP32-S3's TRM:
To have the output enable signal decided by internal logic (for example, the SPIQ_oe in column “Output enable signal when GPIO_FUNCn_OEN_SEL = 0” in Table 6-2), clear the bit GPIO_FUNCx_OEN_SEL instead
So some peripherals, like the SPI in QIO mode, may need to dynamically switch a pin's input/output according to their "internal logic".