I²C Clock stretching and the Pi

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
Smurfix
 
Posts: 1
Joined: Thu Oct 14, 2021 2:34 am

I²C Clock stretching and the Pi

Post by Smurfix »

I just stumbled on https://learn.adafruit.com/circuitpytho ... stretching.

Seriously: slowing down the i²c clock and praying it'll work is bad engineering and you shouldn't even think about promoting that.
It's better to just bite the bullet and use some software i²c bit-bang code if you have a clock stretcher on your hands. It would also be way faster than slowing down the clock that much.

Too bad there doesn't seem to be a kernel bitbang driver out there … or maybe I just didn't find it.

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”