Go to advanced search

by rchackman
Mon Jul 24, 2017 7:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c repeated start transactions
Replies: 55
Views: 45728

Re: i2c repeated start transactions

My own problems were born out of attempting to interface to a 'homebrew' PIC-based slave device over I2C. My device needed time to assemble responses to RESTART-READ requests forcing me to stretch the clock (wherein the PIC slave holds the clock line low preventing the RPi master from proceeding wit...
by rchackman
Mon Jun 05, 2017 9:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c repeated start transactions
Replies: 55
Views: 45728

Re: i2c repeated start transactions

@joan Indeed I am using smbus and my code is running local on the pi. The i2c device I want to communicate with is a homebrew based on a PIC12F1840. Fortunately, the PIC allows me to hold off the clock on the falling edge of the 8th bit (to support user decision whether to ACK or not). The pi honour...
by rchackman
Sun Jun 04, 2017 5:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c repeated start transactions
Replies: 55
Views: 45728

Re: i2c repeated start transactions

@joan thanks for swift reply... and pigpio really is excellent, just not fast enough for my project (sadly). Have you considered creating a version directly callable from python rather than via the daemon (or am I being stupid)?. Thanks to your confident assertion that repeat starts _are_ supported,...
by rchackman
Sun Jun 04, 2017 3:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c repeated start transactions
Replies: 55
Views: 45728

Re: i2c repeated start transactions

@notro says: by notro » Tue Jan 10, 2017 11:59 pm rpi linux 4.9 uses i2c-bcm2835 with these patches. uname -a tells me I'm running linux 4.9.24+ on my pi zero, but repeat starts aren't being generated by the python (2.7) smbus module. I've done sudo apt-get update sudo apt-get dist-upgrade to ensure...

Go to advanced search