Page 1 of 1

ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 05:21
by Alex P
On the board LuatOS with ESP32C3 available Gpio 11,12,13.
In the choice Hardware Settings They are not available in the selection.
Image

Re: ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 08:25
by Ath
According to this documentation, these pins should not be used (in use for Flash), and to protect the innocent they aren't made available.

Re: ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 08:42
by TD-er
Do you have a link to that board and/or a photo of the pins being exposed?
And can you also show what is shown on the sysinfo page regarding the detected ESP chip and flash?

GPIO-11 could maybe be exposed, if the flash is not embedded.
I have to check the datasheet to see when GPIO-12 and -13 might be available to know if you can safely use those.

N.B. on most ESP32-C3 boards, you should not have anything connected to GPIO-11 during boot as it sets the flash voltage and thus can damage the flash chip if set to the wrong level at boot.

Re: ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 08:57
by Alex P
LuatOS_CORE-ESP32-C3-A12.zip
Luatos-ESP32-C3-MCU-Board-PRODUCT.jpg

Re: ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 09:16
by TD-er
Ahd how is the flash reported on the sysinfo page?
Is it marked as "external flash" (or at least not marked as "embedded flash") ?

Re: ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 10:01
by Alex P
Снимок4.PNG

Re: ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 10:25
by TD-er
OK, so it is not marked as embedded flash.

I think I can add those pads to the selection, if no embedded flash is present, but with a warning (maybe even double warning...)

Re: ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 10:31
by Alex P
Will this not affect chips with built-in flash?

Re: ESP-32C3 Gpio 11,12,13

Posted: 10 Dec 2024, 11:02
by TD-er
I made a pull request which does take this embedded flash flag into account:
https://github.com/letscontrolit/ESPEasy/pull/5175

GitHub Actions build: https://github.com/letscontrolit/ESPEas ... 2253694421