kplindegaard / smbus2

A drop-in replacement for smbus-cffi/smbus-python in pure Python
MIT License
243 stars 68 forks source link

i2c baudrate #77

Open scottscott70 opened 2 years ago

scottscott70 commented 2 years ago

How to change i2c baudrate to 50khz on rasberry pi 3B? I try https://gist.github.com/ribasco/c22ab6b791e681800df47dd0a46c7c3a but Signal always display 100khz

hramrach commented 1 year ago

i2c clock should automagically regulate by device holding the clock line until it's ready to receive the following bit. It's broken on many controllers but because this feature exists in the standard the interface for setting clock is missing.