WT32-SC01 Plus and I2S pins

iwanttolearn
Posts: 8
Joined: Thu Feb 25, 2021 7:57 am

WT32-SC01 Plus and I2S pins

Postby iwanttolearn » 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.

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
I tracked the pin reservation down to

Code: Select all

esp_mspi_pin_reserve
function inside flash_ops.c file. It uses

Code: Select all

SOC_SPI_MEM_SUPPORT_OPI_MODE
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.

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: WT32-SC01 Plus and I2S pins

Postby ESP_Sprite » Tue Nov 12, 2024 1:57 am

Do you have octal PSRAM enabled in menuconfig?

iwanttolearn
Posts: 8
Joined: Thu Feb 25, 2021 7:57 am

Re: WT32-SC01 Plus and I2S pins

Postby iwanttolearn » Tue Nov 12, 2024 8:00 pm

I have quad PSRAM enabled, but these GPIOs are reserved at startup regardless of the PSRAM selection, and based on the definitions inside soc_caps.h file for ESP32-S3 chips.

Who is online

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