ESP-32C3 Gpio 11,12,13

Moderators: grovkillen, Stuntteam, TD-er

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
You do not have the required permissions to view the files attached to this post.

User avatar
Ath
Normal user
Posts: 4338
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: 9920
Joined: 01 Sep 2017, 22:13
Location: the Netherlands

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
Luatos-ESP32-C3-MCU-Board-PRODUCT.jpg
You do not have the required permissions to view the files attached to this post.

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

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
You do not have the required permissions to view the files attached to this post.

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

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: 9920
Joined: 01 Sep 2017, 22:13
Location: the Netherlands

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

Who is online

Users browsing this forum: Anthropic Claude Bot [bot] and 22 guests