Skip to content

ULP ADC fails on Espressif32 platform version 6.5.0 and up #1566

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

Closed
ayavilevich opened this issue Apr 15, 2025 · 4 comments
Closed

ULP ADC fails on Espressif32 platform version 6.5.0 and up #1566

ayavilevich opened this issue Apr 15, 2025 · 4 comments

Comments

@ayavilevich
Copy link

Using an ADC read instruction in the ULP (ultra low power) processor will cause the ULP to "get stuck" in newer SDK versions.

I saw this in an Platform IO project but not sure what the root case is.

I created a minimal reproduce project at https://github.com/ayavilevich/ulp_adc_issue .

Last working set is: Espressif32 6.4.0, ESP Arduino: 2.0.11, ESP-IDF: 4.4.5
The first non working set is: Espressif32 6.5.0, ESP Arduino: 2.0.14, ESP-IDF: 4.4.6

What is the process to troubleshot this further?

Can others reproduce and confirm this please?

@Jason2866
Copy link
Contributor

Wrong repo for the issue since not related to Platformio. Open the issue here https://github.com/espressif/esp-idf

@ayavilevich
Copy link
Author

Wrong repo for the issue since not related to Platformio. Open the issue here https://github.com/espressif/esp-idf

I suppose it is more likely to be related to esp-idf or to ESP Arduino. What is the right process to confirm that?

@Jason2866
Copy link
Contributor

ULP support code is in IDF. Running ULP code in Arduino is more or less a hack.
So the espressif IDF repo is the place for.

@ayavilevich
Copy link
Author

Ok, I will try to test this with esp-idf and will create an issue in the esp-idf repo if I am able to reproduce.

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