I got a little issue.
I need to control 5 latching relays, via a H-Bridge IC. This would mean, i would need about 7 GPIO, which are the 5 enables and 2 H-bridge control lines for the DRV8837C. My AVR does not have any spare.
My main PCB has a spare port, which has only VCC(5V),GND, and UART TX and UART RX.
I am thinking of using the tca9534a and controlling it using a software i2c libary. If i am correct there are i2s software based libaries for AVR?
The other option is using a UART to GPIO IC, if there is any?
Would there be any issue with this, as i would like to avoid using another AVR just to control extra GPIO for my relays.