Page 1 of 1

GPIO Matrix Routing

Posted: Mon Dec 11, 2023 1:25 pm
by DrMickeyLauer
I'm talking to a peripheral chip via SPI. It also has an INT that is connected to one of my ESP32(S3) GPIOs to signalize certain state changes. In addition to handling the IRQs from this GPIO, can I also wire the GPIO matrix in a way that another GPIO gets set to the inverted level? I have picked up references to the `gpio_matrix` functions, but I'm not sure whether they allow what I'm trying to do.

The net output should be that -- without writing code in the IRQ handler -- a LED gets lit whenever the IRQ line is LOW.

Re: GPIO Matrix Routing

Posted: Mon Dec 11, 2023 3:27 pm
by ok-home
hi

Yes, it can be done
There is a range of peripheral output signals (208 ~ 212 in Table 6-2) which are not connected to any peripheral, but to the
input signals (208 ~ 212) directly. These can be used to input a signal from one GPIO pin and output directly to another
GPIO pin.
https://www.espressif.com/sites/default ... ual_en.pdf
page 464