-
My I2C chip has a software reset command.
How could I implement this using smbus2? I have no problem writing to the 0x40 address using
```python
from smbus2 import SMBusWrapper
with SMBu…
-
Trying to switch monitor inputs. I can accomplish this using `ddccontrol` or `ddcutil` on ubuntu linux.
For example: `ddccontrol -r 0x60 -w 18 dev:/dev/i2c-4`
This will change my monitor's input…
-
I am reading data from a IST8308 IMU sensor with this script on a Linux Arm64 board:
```
import smbus2
i2c_bus = smbus2.SMBus(2)
i2c_magnetometer_register = 12
# initialize magnetometer
i2c_…
-
Hi,
i bought version 2.1 and i am trying to run it on a raspberry 4 later in combination with the led ring (both connected to the RPi).
I2C is set to 100kHz in the config.txt
Now it occurs aft…
-
* Doc you were trying to follow: https://coral.ai/docs/enviro-board/get-started/#2-install-the-python-library
* Your host OS: Raspberry Pi OS 32 bit on a Raspberry Pi Zero W (latest stable image) and…
-
Hi !
I try to write some python code for reading the AHT25 sensor.
The sensor is nothing special - only a humidity / temp sensor.
It´s connected to the Pi 4 directly with 15cm of wire cable t…
-
SMBus spec 2.0:
> 5.5.7. Block write/read
> [...] The byte count does not include the PEC byte. The byte count may not be 0. A Block Read or Write is allowed to transfer a maximum of 32 data bytes…
-
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) with data …
-
There is no locking in I2C implementation. It is an issue if there are several I2C devices and parallel processes. Every I2C read operation contains two independent syscalls. I suggest calling "fcntl.…
-
I'm using your script, but get this error. Googling results in more similar experiences. But as far as I can see, no solution.
Strange thing is that I get an DEVICE_SERIAL which in my opinion means t…