I've been trying to set up a system with one QtPy board as the controller, and several more QtPy boards as targets via the PCA9548 STEMMA multiplexer. Using the example code for the i2ctarget library I run into the following problem/s:
- On the target side, when polling I2CTarget.request, it always returns with request.is_read=True, request.is_restart=False, and request.address={whatever address I started the object with}. This behaviour occurs regardless of the behaviour of the controller, and persists while the board is disconnected from the multiplexer/controller.
Has anyone here got experience setting up one of these boards as an i2c target? Should I use busio instead? I didn't see a way to set up a target with that library but I'd be happy to know if I missed something.
Thanks!