I can't manage to put together all the fragments of information I have found on this through searches.
I have a new 3B and several I2C devices, including a PCA9685. The addresses are shown with i2cdetect and I also had some device-specific sample code running, so the hardware is fine. But I want to be able to look in the device data sheet to find what each can do, and then send the commands documented there rather than rely on someone else's abstraction.
I assume solutions for CircuitPython
/MicroPython
will not work. Sometimes answers aren't very explicit about the context.
What python package will allow me to do this?
gpiozero
and pigpio
come up frequently, but don't seem to provide this capability, or did I miss something?
smbus
,smbus2
,pigpio
,lgpio
andrgpio
all limit the length of read and write payloads to 32 bytes. That limitation exists in the SMBus spec but not in the I²C spec.