0
Henrik Larsson

I2C DTS Overlay enable pull up resistor

Recommended Posts

On my NanoPi Neo Air it seems there is no pull up resistors on I2C (SDA, SCL).  

 

Is it possible to enable pull-up on these pins in a DTS overlay (either the standard i2c dtb or in a user overlay)? If so could anyone give me an example of how to do that...I have tried to understand the dts files but failed.

 

 

Share this post


Link to post
Share on other sites

Don't try to enable internal GPIO pullups, it is waste of time since internal ones are too weak for I2C, which need something like 3K while internals are usually around 30K.

Simply add some external ones on one of your peripherals ...

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
0