Where is GPIO pin 25 on the ESP32 S2 Saola?

MEL_21
Posts: 3
Joined: Sun May 02, 2021 3:01 pm

Where is GPIO pin 25 on the ESP32 S2 Saola?

Postby MEL_21 » Sun May 02, 2021 3:31 pm

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

User avatar
ESP_krzychb
Posts: 329
Joined: Sat Oct 01, 2016 9:05 am
Contact:

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

Postby ESP_krzychb » Mon May 03, 2021 2:12 am

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

Who is online

Users browsing this forum: Baidu [Spider] and 42 guests