SPIWP as GPIO on ESP32c3-FH4

hyansuper
Posts: 1
Joined: Tue Oct 29, 2024 3:17 am

SPIWP as GPIO on ESP32c3-FH4

Postby hyansuper » Tue Oct 29, 2024 4:19 am

On a esp32c3-fh4 chip, without using external flash, can I set flash in DIO mode in menuconfig and use SPIWP or SPIHD (or both) as GPIO?

I found a similar post https://esp32.com/viewtopic.php?t=38718

I am not sure how the internal flash is designed, when in DIO mode, SPIWP and SPIHD pins is still connected to inner flash, can they be used as GPIO safely? Or is it inner implementation dependent?

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

Re: SPIWP as GPIO on ESP32c3-FH4

Postby ESP_Sprite » Tue Oct 29, 2024 6:52 am

Yes, they are still connected to the flash, and as the flash interprets the signals there, those pins are not usable as general purpose IO.

Who is online

Users browsing this forum: No registered users and 174 guests