Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIN 12 HIGH on boot #507

Closed
upgrader-dev opened this issue Apr 10, 2024 · 5 comments
Closed

PIN 12 HIGH on boot #507

upgrader-dev opened this issue Apr 10, 2024 · 5 comments

Comments

@upgrader-dev
Copy link

upgrader-dev commented Apr 10, 2024

Hello.

I'm bulding a simple Pedalino with 4 buttons.

The pedal 4 is linked to the PIN 12 on TTGO T-display.

But when I connect this PIN 12 to my footswitch, the boot is impossible.

If I switch to pedal 5, everything works flawlessly.

Lately I found this issue with LilYGO that says that PIN 12 HIGH is used to determine if boot lust be done from SD card.
LilyGO/TTGO-T5-ePaper1.54#3

Found what the documentation says about that and this link below :

https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/sd_pullup_requirements.html#mtdi-strapping-pin

Still can't figure out how to connect pedal 4 without making a HIGH at boot on PIN 12 which activates the 1.8V regulator instead of the 3;3v I need

What do you guys think about that?

@alf45tar
Copy link
Owner

Which board are you using?
I don't have the issue with LILYGO® TTGO T-Display.

@upgrader-dev
Copy link
Author

image

@alf45tar
Copy link
Owner

The permanent solution is here even if I am not using it on my board.

https://github.com/espressif/esp-idf/tree/release/v3.2/examples/storage/sd_card#note-about-gpio12

@upgrader-dev
Copy link
Author

upgrader-dev commented Apr 14, 2024

Thank you. So, just to check I understood... I have to insert these lines

components/esptool_py/esptool/espefuse.py set_flash_voltage 3.3V

in the right file to force the 3.3V function.

Which file do I have to insert this line in?

@alf45tar
Copy link
Owner

I think it is an one time only command. Setting is permanent stored into efuse and cannot changed anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants