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

The ADC cannot read the correct data when CONFIG_PM_SLP_DISABLE_GPIO=y is enabled (IDFGH-11597) #12715

Closed
3 tasks done
KEEPHEADU opened this issue Dec 4, 2023 · 3 comments
Closed
3 tasks done
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@KEEPHEADU
Copy link

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.

General issue report

When CONFIG_PM_SLP_DISABLE_GPIO=y is enabled, the ADC cannot read the correct data when light_sleep wakes up, and the data is always read out as 4081.

Is there a way to enable CONFIG_PM_SLP_DISABLE_GPIO=y and still use the ADC?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 4, 2023
@github-actions github-actions bot changed the title The ADC cannot read the correct data when CONFIG_PM_SLP_DISABLE_GPIO=y is enabled The ADC cannot read the correct data when CONFIG_PM_SLP_DISABLE_GPIO=y is enabled (IDFGH-11597) Dec 4, 2023
@KEEPHEADU
Copy link
Author

image
And in menuconfig this option is immutable, when I change it to n in sdkconfig, it will be automatically changed to y at compile time.

Can someone help me.

@esp-lis
Copy link
Collaborator

esp-lis commented Dec 11, 2023

image And in menuconfig this option is immutable, when I change it to n in sdkconfig, it will be automatically changed to y at compile time.

Can someone help me.

@KEEPHEADU refer to Kconfig#L124, perhaps, it can help you.

@KEEPHEADU
Copy link
Author

@esp-lis Thanks for your reply, I will try.

@espressif-bot espressif-bot added Status: In Progress Work is in progress Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new Status: In Progress Work is in progress labels Jan 9, 2024
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
Projects
None yet
Development

No branches or pull requests

3 participants