smbus2 icon indicating copy to clipboard operation
smbus2 copied to clipboard

A drop-in replacement for smbus-cffi/smbus-python in pure Python

Results 27 smbus2 issues
Sort by recently updated
recently updated
newest added

I am trying to send data from an rp2040 to a raspberry pi via i2c. I am using Arduino on the rpi2040 and python on the raspberry pi. The use...

Configuration: **Master i2c:** Raspberry Pi Zero v2, Raspberry Pi OS **Slave i2c:** two STM32s (addresses: 0x09 and 0x0c) App for master: in infinity loop write to slave command (1 byte)...

An attempt to automatically detect OS and choose the right adaptations as implemented in a subclass called `SMBusFreeBSD`. Design criteria: 1. FreeBSD adaptations and adjustments should be fully separate from...

As developed and designed for use on RBPi, all read and write ops are implemented using the I2CRDWR syscall, it beeing the only one implemented in the bcm2835_bsc driver.

Hello, I am reading i2c data from my custom device as: status = bus.read_i2c_block_data(0x3C, 0xA0, STATUS_BUFFER_SIZE) Where 0x3c is the address, and 0xa0 is the offset. I needed to read...

Hi there, I can use i2c_rdwr(msg) method to implement a write only transaction, by passing just a msg argument create with the write method. Here I specify the i2c address,...

question

Since KMD supports currently only SMBus 2.0, and the message length is restricted even more by length being included in the bytes limit, I had to implement SMBus using I2C...

When I read a word from i2c, it is treated as big endian. However I want to read a temperature that is stored as little endian. I have solved this...

question

I'm trying to connect my energy measurement IC with Raspberry Pi 3B using the I2C protocol. I'm using `sudo i2cdetect -y 1` to detect the connected devices and it is...

question

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