Hello everybody!
I am currently facing an issue with ESP32 GPIOs.
I have made a custom desigin using ESP32-C3FH4.
In this design I want to use SPID/GPIO16 and SPIQ/GPIO17 as a normal GPIO in Output mode.
Unfortunately there seems to be an issue connecting these pins, as I get a lot of
"invalid header: 0x00000000"
-messages on serial output.
I have a devkit where I connect SPIQ to GND and get same behaviour.
Having both of these pins not connected to something, the ESP32-C3 seems to work as expected.
I already tried to reconfigure GPIOs with
gpioconfig()
function, but that did not work out.
So what do I have to do, to use those pins as simple GPIOs and avoid the "invalid header"-message?
ESP
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP
Check the datasheet, specifically 'pin definition' GPIO16/17 are SPID/SPIQ, and the section under the table clarifies that these pins are connected to the internal flash and as such shouldn't be used for GPIO. In other words: I'm afraid you'll need to rework your design to steer clear of the pins occupied by flash.
-
- Posts: 2
- Joined: Tue Dec 06, 2022 6:34 am
Re: ESP
Thank you very much for pointing that out!
Who is online
Users browsing this forum: Google [Bot], kapucin22, Majestic-12 [Bot] and 134 guests