SwiftyGPIO
SwiftyGPIO copied to clipboard
I2C Repeated start (es. BCM2835)
Some sensors need to keep a hold of the bus between related read/write operations and require that a "repeated start" is performed to lock it. The RaspberryPi does not perform this operation by default but a workaround exist to enable this behaviour. See below.
https://www.i2c-bus.org/repeated-start-condition/ http://raspberrypi.znix.com/hipidocs/topic_i2c_rs_and_cs.htm https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=15840&start=25