Skip to content

i2c master document use of internal pull-ups and add an option to disable them #4830

@ChocolateLoverRaj

Description

@ChocolateLoverRaj

Motivations

I was having issues using i2c between a esp32c3 and stm32. I am now pretty sure the issue is fixed by using 4.7k external pull-up resistors. Previously, I never used resistors with i2c. The documentation right now does not mention if the internal pull-up resistors are enabled or not. I had to check the code to find out that they are enabled.

Solution

Document that internal pull-ups are used. Also I think having a way of disabling internal pull-ups when you are using external resistors anyways would be good.

Alternatives

Leave the internal pull-ups enabled while also using external pull-up resistors.

Additional context

I am not sure, but is there any benefit to disabling internal pull-up resistors? I feel like there should be an option to but I'm not sure if practically it would be a useful option.

I can make a PR for the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest for new feature/functionalityinvestigationNot needed for 1.0, but don't know if we can support without breaking the driver.

    Type

    No type

    Projects

    Status

    Selected For Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions