Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: ad5143 I2C data flow/secuence

$
0
0

Hi Mark,

 

Even you know the I2C protocol the sequence of command/bytes is not clear in the doc.

Just correct me if I'm wrong. I'm using short command set from Table15.

For write sequence first byte is the device address the next is command and address nibbles then data byte.

Now I want to read back something. Omitting the ACK bits the sequence is: device address with operation bit set to "0", command=0011 (read), DAC address and data, let's say 0x01 (read from memory). So, I've sent 0101011_0__0001_0000__0000_0001. Then I generate a start condition again and send the device address with the operation code "1" (read). Device must reply with the memory[0] content. Is it correct?

Read sequence:

0101011_0__0001_0000__0000_0001, START, 0101011_1__memory[0] STOP

Thanks,

Ashot


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>