Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

RIIC driver: How to get it to do Restart (instead of Start/Stop/Start)?

$
0
0

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.


Viewing all articles
Browse latest Browse all 1583

Trending Articles