Please prohibit using GPIOs already in use by external memory

Give it a try, it costs you nothing !
Post Reply
User avatar
karlkloss
Posts: 322
Joined: Fri Aug 18, 2023 12:21 pm
Location: Local group
Has thanked: 52 times
Been thanked: 74 times

Please prohibit using GPIOs already in use by external memory

Post by karlkloss »

There are certain pins of the various ESP32 chips, that are used to access external memory, which may either be integrated into the chip package, or externally on the PCB.
Annex allows it to define these pins as GPIOs, and write to them, usually resulting in the ESP32 crashing and restarting.

Please add a function that prohibits using these pins when external memory is detected.

I also walked into this trap, because the ESP32-S3 datasheet only mentions the pins in a small footnote, that I overlooked.
User avatar
cicciocb
Site Admin
Posts: 3126
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 635 times
Been thanked: 2228 times
Contact:

Re: Please prohibit using GPIOs already in use by external memory

Post by cicciocb »

Yes, I take the point but it is a little bit complicate considering the different chips (-S2, -C3 , ...) and the different memory options (PSRAM or not, QIO, OQPI, OPI, ...)
Post Reply