ESP-32C3 Gpio 11,12,13

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
Alex P
Normal user
Posts: 49
Joined: 20 Apr 2022, 05:27
Location: RU

ESP-32C3 Gpio 11,12,13

#1 Post by Alex P » 10 Dec 2024, 05:21

On the board LuatOS with ESP32C3 available Gpio 11,12,13.
In the choice Hardware Settings They are not available in the selection.
Image
Attachments
Безымянный1.png
Безымянный1.png (21.95 KiB) Viewed 3318 times

User avatar
Ath
Normal user
Posts: 4333
Joined: 10 Jun 2018, 12:06
Location: NL

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

#2 Post by Ath » 10 Dec 2024, 08:25

According to this documentation, these pins should not be used (in use for Flash), and to protect the innocent they aren't made available.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 9899
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#3 Post by TD-er » 10 Dec 2024, 08:42

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.

User avatar
Alex P
Normal user
Posts: 49
Joined: 20 Apr 2022, 05:27
Location: RU

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

#4 Post by Alex P » 10 Dec 2024, 08:57

LuatOS_CORE-ESP32-C3-A12.zip
(77.81 KiB) Downloaded 123 times
Luatos-ESP32-C3-MCU-Board-PRODUCT.jpg
Luatos-ESP32-C3-MCU-Board-PRODUCT.jpg (43.87 KiB) Viewed 3296 times

TD-er
Core team member
Posts: 9899
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#5 Post by TD-er » 10 Dec 2024, 09:16

Ahd how is the flash reported on the sysinfo page?
Is it marked as "external flash" (or at least not marked as "embedded flash") ?

User avatar
Alex P
Normal user
Posts: 49
Joined: 20 Apr 2022, 05:27
Location: RU

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

#6 Post by Alex P » 10 Dec 2024, 10:01

Снимок4.PNG
Снимок4.PNG (34.81 KiB) Viewed 3277 times

TD-er
Core team member
Posts: 9899
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#7 Post by TD-er » 10 Dec 2024, 10:25

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...)

User avatar
Alex P
Normal user
Posts: 49
Joined: 20 Apr 2022, 05:27
Location: RU

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

#8 Post by Alex P » 10 Dec 2024, 10:31

Will this not affect chips with built-in flash?

TD-er
Core team member
Posts: 9899
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#9 Post by TD-er » 10 Dec 2024, 11:02

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

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests