GPIO Matrix
Posted: Thu Aug 03, 2023 2:48 pm
I’m using a ESP32-S3-MINI-1U-N8 module.
I would like to switch some peripheral signals to certain GPIO pins using GPIO matrix.
I can’t find any clear documentation or example to do such thing.
I’ve just found the following IDF functions:
But, it’s not clear how to use them properly.
Could you please provide some indications?
For example, would it be possible to switch I/O signal SPID (pin 35) to GPIO39?
Would it be possible to switch O signal SPICS0 (pin 32) to GPIO40?
I would like to switch some peripheral signals to certain GPIO pins using GPIO matrix.
I can’t find any clear documentation or example to do such thing.
I’ve just found the following IDF functions:
Code: Select all
void gpio_iomux_in(uint32_t gpio_num, uint32_t signal_idx);
void gpio_iomux_out(uint8_t gpio_num, int func, bool oen_inv);
Could you please provide some indications?
For example, would it be possible to switch I/O signal SPID (pin 35) to GPIO39?
Would it be possible to switch O signal SPICS0 (pin 32) to GPIO40?