WT32-SC01 Plus and I2S pins
Posted: Mon Nov 11, 2024 6:32 pm
Hi! I have a WT32-SC01 Plus module which according to the datasheet has an ESP32-S3-N16R2 on it. The board uses GPIO number 35, 36, and 37 for I2S. When I use a simple Arduino sketch, I can hear the sound from the speaker I connect to it. The problem is when I want to do the same thing with ESP-IDF (5.3.1), I get warnings on all 3 pins saying they can't be used and are reserved.
I tracked the pin reservation down to function inside flash_ops.c file. It uses directive and reserves those 3 pins, as well as GPIO 33 and 34 that in fact are unusable. The definition is inside soc_caps.h and part of the IDF. Is there a way to use GPIO 35, 36, and 37? Seems like a problem since the pins are available and usable otherwise.
Code: Select all
W (298) i2s_common: GPIO 37 is not usable, maybe conflict with others
W (308) i2s_common: GPIO 35 is not usable, maybe conflict with others
W (308) i2s_common: GPIO 36 is not usable, maybe conflict with others
Code: Select all
esp_mspi_pin_reserve
Code: Select all
SOC_SPI_MEM_SUPPORT_OPI_MODE