Other Parts Discussed in Thread: LMH1219, LMH1218, LMH1297
Hallo,
I'm confused about reading registers using the I2c/SMBus.
Reading the SNLU183 I see that write into a register should use the followin protocol:
|RAW | Register Address | Register Content | Register Mask |
So using the following symbols
S Start condition
P Stop condition
Rd/Wr (1bit) Read/Write bit. Rd equals 1, Wr equals 0.
A, NA (1bit) Acknowledge (ACK) and Not Acknowledge (NACK) bit
DevAddr (7bits) I2C 7 bit address. Note that this can be expanded as usual to get a 10 bit I2C address.
[..] Data sent by I2C device, as opposed to data sent by the host adapter.
To write to a register I generates the following I2C sequence:
S DevAddr Wr [A] Register Address [A] Register Content [A] Register Mask [A] P
and it work as expected (I'm using the transactions provided in the SNLU183).
If I want to read from a register I'm unable to figure out how to translate the protocol presented in the SNLU183
|RAR | Register Address | Register Content | Register Mask |
into I2C/SMBus transaction.
Could someone help me using the I2C symbols I used to describe the write transaction?
Thanks in advance
Best Regards.