Part Number: TCA9555
Other Parts Discussed in Thread: TMS320F28374S
My team is using the TCA9555 GPIO expander on a custom board, which is being controlled by a TMS320F28374S Delfino controller (on a different custom board) as the I2C master.
To test the I2C communication between this master-slave pair, I have written a few tests which configure the pins of Port 0 and Port 1 as below:
P0.0, P0.1 - input
P0,2 - P0.7 - output
P1.0 - P1.7 - output
1) Upon running only these configuration steps, I find that all the pins configured as outputs default to state 1 as soon as the ports are configured. Is this expected behavior?
2) There are a number of relays controlled by the GPIO expander on port pins configured as output. I don't want these turned on as soon as the ports are configured (as is happening). Is there any way to get the output port default states set to 0 upon configuration or can this only be done over a separate software command over I2C?