Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPIO_NUM_37 not useable as a GPIO (IDFGH-14344) #15134

Open
3 tasks done
michaelboeding opened this issue Jan 4, 2025 · 1 comment
Open
3 tasks done

GPIO_NUM_37 not useable as a GPIO (IDFGH-14344) #15134

michaelboeding opened this issue Jan 4, 2025 · 1 comment
Labels
Status: Opened Issue is new

Comments

@michaelboeding
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I am attempting to use GPIO_NUM_37 /SPIDQS/FSPIQ/SUBSPIQ on the ESP32-S3-WROOM-1-N8R2 as a regular GPIO below

gpio_config_t io_conf = {};
io_conf.intr_type = GPIO_INTR_DISABLE;
io_conf.mode = GPIO_MODE_OUTPUT;
io_conf.pin_bit_mask = (1ULL << pin);
io_conf.pull_down_en = GPIO_PULLDOWN_DISABLE;
io_conf.pull_up_en = GPIO_PULLUP_DISABLE;
gpio_config(&io_conf);

But it doesn't seem to work as an output at all. After doing some digging it does look like

Screenshot 2025-01-03 at 7 09 01 PM

For modules with Octal SPI PSRAM, i.e., modules embedded with ESP32-S3R8 or ESP32- S3R16V, pins IO35, IO36, and IO37 are connected to the Octal SPI PSRAM and are not available for other uses.

But the ESP32-S3-WROOM-1-N8R2 uses Quad SPI PSRRAM not Octal so this shouldn't be an issue according to the documentation?

Screenshot 2025-01-03 at 7 10 20 PM

So is there a reason this pin isn't working? Maybe some setting in MENUCONFIG that is messing it up? Or is the documentation just wrong and you can't use that pin on either.

Note that I am also using the IO35, IO36 and I don't have any issues with those.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jan 4, 2025
@github-actions github-actions bot changed the title GPIO_NUM_37 not useable as a GPIO GPIO_NUM_37 not useable as a GPIO (IDFGH-14344) Jan 4, 2025
@ginkgm
Copy link
Collaborator

ginkgm commented Jan 6, 2025

Hi @michaelboeding ,

I'm using ESP32-S3 DevkitC-1 v1.0 with S3-WROOM-1 M0N8R2 on IDF master (c7454b7e1c) and it's working perfectly. The code I'm using is examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c with little modification.

Could you provide more information, for example your IDF commit and the picture of your hardware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

3 participants