Hi there,
I'm trying to read from register once an interrupt is set by a button press on a keypad hooked up to a TCA8418 (EVM). I followed this setup guideline in the datasheet:
But only perform the first four since that's all I'm testing right now:
Everything works fine, the interrupt trips and the microcontroller detects it. I then try to read register 0x02 to see what tripped the interrupt using the datasheet directions:
..trying to perform a read as asked:
I'm not sure if the TI_USCI_I2C_master can perform repeated starts, but here's what I tried:
read8418 has the 0x02 address, and readed8418 is just an empty char array.
When run however, transmission starts but it just randomly stops and both lines just pull low:
Would anyone happen to know if this is a failed transmission or a coding issue on my part? Thank you for reading!