You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: It is recommended to add external pull-up resistors for SDA/SCL pins to make the communication more stable, though the driver will enable internal pull-up resistors.
github-actionsbot
changed the title
Whether I should add external pull-up resistor or not for I2C pin?
Whether I should add external pull-up resistor or not for I2C pin? (IDFGH-8310)
Sep 15, 2022
@BrandonStudio You can see the update date is different.
Well, let me make a conclusion, the docs say no need to pull-up external on theory is correct, because we do have internal pull-up to support this. The reason why new docs say user should pull up is because we found the I2C slave users used are very very different. Sometimes the capacity will influence the frequency that user should adjust resistor. Sometimes users feel internal pull-ups are not strong enough.
So, new docs and technical reference manual both say user should choose proper external pull-up resistors. Of course, the old one is out of date and need to be updated, thanks so much.
Answers checklist.
General issue report
You have contradictory versions about this:
On https://github.com/espressif/esp-idf/blob/36f49f361c001b49c538364056bc5d2d04c6f321/tools/test_apps/peripherals/i2c_wifi/README.md, you say:
whereas on https://github.com/espressif/esp-idf/blob/36f49f361c001b49c538364056bc5d2d04c6f321/examples/peripherals/i2c/i2c_tools/README.md, you say:
Which one should I believe?
The text was updated successfully, but these errors were encountered: