Hi,
When looking at I2C memory devices and specially read at a certain address has always created more headache then simple write. As an example we have 24LC0xB and "random read".
My question would be:is it possible after"writing" the address where you later want to read just to generate a STOP ? instead of a START. That way the Read and Write would be more simulare to each other apart from NAK.
Regards
Claes
Hi
You can generate a STOP condition after writing the address and before reading data (which requires a START condition again, plus the read address).
A repeated start is however a little more efficient.
Regards
Mark
[uTasker project developer for Kinetis and i.MX RT]