We've got a product with an I2C expander on it (
PCA9557) which controls a few IOs.
One of these IOs determines what power source a microcontroller uses. Unfortunately, sometimes the PCA9557 comes up in the wrong state (usually the previous one after a power cycle), which stops the system from working.
To work around this, I need some kind of way to guarantee this signal is in the correct state until the microcontroller writes a setting to it. I don't have any more IOs spare on the connector, so it has to interface over I2C.
Note that I can't simply use the RESET input on the PCA9557 - because that's an IO and I don't have any spare pins. I would need a reset controller I can talk to that could actuate this pin, or something to override the output of the PCA9557.
Is anyone aware of a part to solve this problem?