I have working code for a RZ/A1H that uses the RIIC driver from RZ/A1 Framework V1.03 (AN3638) to talk to a EEPROM chip.
I'm trying to adapt that code to talk to a HDMI Receiver (ADV7611) on the same I2C bus. However, the low-level operation seems to be doing the following:
Start / Chip Address / Sub-Address / Stop ... Start / Chip Address / Read Data / Stop
On the ADV7611, the Stop causes the operation to terminate - so the second write sequence results in a NAK.
What I need the driver to do is this:
Start / Chip Address / Sub-Address / (Re-)Start / Chip Address / Read Data / Stop
Can anyone help me with this?
Thanks.