-
Notifications
You must be signed in to change notification settings - Fork 7k
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
ESP32C6 ROM Bootloader resets PMU_TIE_HIGH_HP_PAD_HOLD_ALL upon boot (IDFGH-12130) #13186
Comments
Thank you @t-moe for reporting this problem, I think this problem should exist on all esp chips, the reason to unhold all IOs in ROM boot is to avoid that the IOs of key system peripherals such as SPI /UART are held before reset making it impossible continue to run the flash boot. Currently, if you want to avoid this wrong signal, you can use LP_IOs, which on esp32c6 are GPIO0~7, they don't lose configuration during deepsleep, so there is no pulse signal even if they unhold. Refer https://github.com/espressif/esp-idf/blob/master/components/esp_driver_gpio/include/driver/rtc_io.h We are evaluating the reasonableness of this requirement, I'll update in this thread if there's any progress |
Hi @esp-wzh, We also found that we can successfully hold a GPIO8..GPIO30 if we set the corresponding Regarding the initial problem: Thank you |
@t-moe I figured it out! the hold en signal for gpio[n] is arbitrated out by the following logic, so there is no problem with the ROM, I have suggested to documentation colleague to add a description in this section, thanks for your feedback! |
Not sure we're talking about the same thing here. Here is what I tried to communicate:
|
Got it, we will add these two notes to the document. |
Answers checklist.
General issue report
I'm on the esp32c6 and I want to keep the output state of a GPIO pin low during deep sleep.
I've used the esp32 rust driver, but I think it is a ROM bug, because the part up and including sleeping works as expected.
Can you advise here?
The text was updated successfully, but these errors were encountered: