Hi All,
I have a project with a number of MCP23008 digital io expanders on both the I2C bus 1 and bus 2. This is on a Teensy 4.1, running teensyduino 1.59 and being built in Platform IO.
Curiously I am not able to set the GIO2 output on when the devices are on bus2, bus 1 is fine.
The only difference I can see after significant investigation is that on bus2 the start condition is being set at the start of every byte where as this is not occuring on I2C bus1. Even so, I am struggling to understand why only the GPIO2 cannot be driven on and off while the others are fine....and this only occurs on bus2.
I am using the default Wire library, as such I cannot see how I can change the configuration to disable/enable/control the start bit behaviour ie make bus2 the same as bus1.
Is this a limitation of this library? Should I consider using an alternative?
I have a project with a number of MCP23008 digital io expanders on both the I2C bus 1 and bus 2. This is on a Teensy 4.1, running teensyduino 1.59 and being built in Platform IO.
Curiously I am not able to set the GIO2 output on when the devices are on bus2, bus 1 is fine.
The only difference I can see after significant investigation is that on bus2 the start condition is being set at the start of every byte where as this is not occuring on I2C bus1. Even so, I am struggling to understand why only the GPIO2 cannot be driven on and off while the others are fine....and this only occurs on bus2.
I am using the default Wire library, as such I cannot see how I can change the configuration to disable/enable/control the start bit behaviour ie make bus2 the same as bus1.
Is this a limitation of this library? Should I consider using an alternative?