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

Espressif: Fix i2c pullup detection #6126

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

prplz
Copy link

@prplz prplz commented Mar 8, 2022

Related: #5906 and #5908.
The i2c pullup check usually passes on the the espressif port with floating pins. The fix is to disable the internal pullups when draining the bus prior to the pullup test. This is needed because internal pullups are on by default in espressif (#5931).

Tested on s3, c3 and s2.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch! Thank you!

@dhalbert dhalbert merged commit ab0a7a8 into adafruit:main Mar 8, 2022
@dhalbert dhalbert added this to the 7.2.x milestone Mar 8, 2022
@dhalbert
Copy link
Collaborator

dhalbert commented Mar 8, 2022

Would be good to backport to 7.2.x. Added to milestone.

@dhalbert dhalbert removed this from the 7.2.x milestone Mar 8, 2022
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

Successfully merging this pull request may close these issues.

2 participants