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

Error "adc_continuous: adc_continuous_stop(446): release pm_lock failed", due to double esp_pm_lock_release (IDFGH-9492) (IDFGH-9493) #10853

Closed
3 tasks done
Erlkoenig90 opened this issue Feb 27, 2023 · 2 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@Erlkoenig90
Copy link
Contributor

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.0.1

Operating System used.

Windows

How did you build your project?

Eclipse IDE

If you are using Windows, please specify command line type.

PowerShell

Development Kit.

ESP32-S3-WROOM-1

Power Supply used.

USB

What is the expected behavior?

When calling adc_continuous_stop with power management enabled, the ADC should stop and no errors should be printed.

What is the actual behavior?

When calling adc_continuous_stop with power management enabled, the message attached is printed to the serial output, coming from the continous_adc driver.

The PM lock was already released here.

Steps to reproduce.

  1. Compile the application and IDF with power management enabled (CONFIG_PM_ENABLE).
  2. Start and stop the continuous ADC.

Debug Logs.

E (48075) adc_continuous: adc_continuous_stop(446): release pm_lock failed

More Information.

This can be fixed by simply one of the calls to esp_pm_lock_release.

@Erlkoenig90 Erlkoenig90 added the Type: Bug bugs in IDF label Feb 27, 2023
@github-actions github-actions bot changed the title Error "adc_continuous: adc_continuous_stop(446): release pm_lock failed", due to double esp_pm_lock_release Error "adc_continuous: adc_continuous_stop(446): release pm_lock failed", due to double esp_pm_lock_release (IDFGH-9492) Feb 27, 2023
@github-actions github-actions bot changed the title Error "adc_continuous: adc_continuous_stop(446): release pm_lock failed", due to double esp_pm_lock_release (IDFGH-9492) Error "adc_continuous: adc_continuous_stop(446): release pm_lock failed", due to double esp_pm_lock_release (IDFGH-9492) (IDFGH-9493) Feb 27, 2023
@Icarus113
Copy link
Collaborator

@Erlkoenig90 Hi, thanks for the reporting. We'll fix this soon.

@espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Resolution: NA Issue resolution is unavailable labels Mar 1, 2023
@Erlkoenig90
Copy link
Contributor Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

3 participants