As of late I have been playing with ESP32’s, and ran into a problem of not being able to make a pin an output. It turns out that not all ESP32 pins can be true GPIO, but rather GPI (no O). Seems that all pins from 34 up can only be used as inputs, this also holds true when you try and remap a pin say to a SPI MOSI pin and you expect the pin to be a master out, this will not work, needs to be an input.
Then I found this image online and yes it now shows the 34-39 as GPI but also shows 32-33 as GPO!! ARGH! more questions, please discuss below if you have the answer!
I have since seen this video online of the issue being described in detail with a small demo too.
4 thoughts on “ESP32 I/O pins not always GPIOOOO”
Yeah this happened to me, now I know there are some pins that are inputs only on the ESP32
Simple Question: Why don’t you read the datasheet? There is all the info in it.
Page 7, Pin description: https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
No need to search for pictures…
By the way, it is the usual way to start with a new device: read the datasheet first, not try out to connect some pins to some voltages…
Wow very short sighted. Not all people will have the ability nor the time to read 400-600 page datasheets, most parts like have overwelming datasheets, I think its nice that people give you a heads up without having to read countless pages.
Just looking at 32 and 33 as GPO, does not make sense, they are also shown as TOUCH inputs….. must be typo, please let me know what you think (or know)