Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Real I²C protocol with i2c_master_recv and i2c_master_send transactions #13

Open
kaklik opened this issue Mar 13, 2016 · 1 comment
Open

Comments

@kaklik
Copy link

kaklik commented Mar 13, 2016

Hello,
What is the best way to implement i2c_master_recv and i2c_master_send transactions in to a Python library? https://www.kernel.org/doc/Documentation/i2c/i2c-protocol

I searched for Python library which could call these I2C standard transfers. But I was not successful.. Every known Python library implements SMBus transfer subset only....

@kaklik
Copy link
Author

kaklik commented Nov 23, 2016

I solved this problem by adding new methods to my fork of i2c-tools' python-smbus module.
Details are here: MLAB-project/pymlab#1 (comment)

The improvement allows correct readout of real I2C devices (not SMBus) which have not addressed registers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant