Page 1 of 1

Where is GPIO pin 25 on the ESP32 S2 Saola?

Posted: Sun May 02, 2021 3:31 pm
by MEL_21
Hello all,

I want to use I2S to read samples from a microphone and looked at the sample code (in the ESP-IDF Programming Guide) to configure the reading:

Code: Select all

static const i2s_pin_config_t pin_config = { .bck_io_num = 26,
.ws_io_num = 25,
.data_out_num = 22,
    .data_in_num = I2S_PIN_NO_CHANGE
};
the ESP32 S2 Saola has no pins 22,23,24,25 - how is this supposed to be configured? which pins can I use for I2S?

Thanks for reading,
Markus

Re: Where is GPIO pin 25 on the ESP32 S2 Saola?

Posted: Mon May 03, 2021 2:12 am
by ESP_krzychb
Hello Markus,

The example is indeed incorrect (likely it has been carried over from ESP32 and not revised afterwards). Sorry for confusion!

You can configure any other pins you have available on your board following some restrictions mentioned in https://docs.espressif.com/projects/esp ... /gpio.html