-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
DFS + CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256=y causes reading ADC hang (IDFGH-6499) #8152
Comments
BTW, when I test DFS + wifi, sometimes I got below error message: E (19377) wifi_apb80m_request: WiFi needs 80MHz APB frequency to work, but got 40000000Hz Does that mean something wrong in my configuration? |
Above PR fixes the issue, thanks. |
I found the device shows below messages today: I'm confused, isn't 80MHz == 80000000Hz? |
Above message only happens on v4.3 branch, it does not happen on v4.4 or master tree. Edit: 496f2a5 fixed above error message on v4.3. |
I summarize the commits that fix this issue on 4.1, 4.2, 4.3, 4.4 as follows: |
Thanks for reporting, feel free to reopen. |
The #8152 (comment) fixes the error mesage. |
@Alvin1Zhang @esp-lis |
Environment
Problem Description
DFS + CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256=y causes reading ADC hang
Steps to reproduce
Use examples/wifi/power_save snip code to reproduce the issue:
Then observe device hang at below:
...
I (590) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (877) pm: Frequency switching co
Also note comment out below code can make CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256=y work.
https://github.com/espressif/esp-idf/blob/release/v4.3/components/esp_hw_support/port/esp32/rtc_sleep.c#L196-L202
Looks like 73384ad is the bad commit.
The text was updated successfully, but these errors were encountered: