February 2007
rev 1.4
ASM3P2508A
I2C Serial Interface Information
The information in this section assumes familiarity with I2C programming.
How to program ASM3P2508A through I2C:
How to Read from ASM3P2508A through I2C:
•
•
•
•
Master (host) sends a start bit.
•
•
•
•
Master (host) will send start bit.
Master (host) sends the write address D4 (H).
ASM3P2508A device will acknowledge.
Master (host) sends the beginning byte location
(N = 0, 1).
Master (host) sends the write address D4 (H).
ASM3P2508A device will acknowledge.
Master (host) sends the beginning byte location
(N = 0, 1).
•
•
•
•
ASM3P2508A device will acknowledge.
Master (host) sends a byte count (X = 1,2)
ASM3P2508A device will acknowledge.
Master (host) starts sending byte N through byte
(N+X – 1)
ASM3P2508A device will acknowledge each byte one
at a time.
Master (host) sends a Stop bit.
•
•
•
•
•
ASM3P2508A device will acknowledge.
Master (host) will send a separate start bit.
Master (host) sends the read address D5 (H).
ASM3P2508A device will acknowledge.
ASM3P2508A device will send the byte count
(X = 1, 2).
Master (host) acknowledges.
ASM3P2508A device sends byte N through byte
(N+X – 1).
•
•
•
•
•
•
Master (host) will need to acknowledge each byte.
Master (host) will send a stop bit.
ASM3P2508A
Controller (Host)
(slave/receiver)
Start Bit
Slave Address D4(H)
Controller (Host)
ASM3P2508A
(slave/receiver)
ACK
Start Bit
Beginning byte location (=N)
Slave Address D4(H)
ACK
ACK
Byte count (=X)
Beginning Byte = N
ACK
ACK
Beginning byte (Byte N)
Repeat start
ACK
Slave address D5(H)
Next Byte (Byte N+1)
ACK
ACK
Byte Count (= X)
-------
ACK
ACK
ACK
-------
----
Beginning byte N
Next Byte N+1
----
Last Byte (Byte N+X-1)
ACK
Stop Bit
Last Byte (Byte N+X-1)
Not Acknowledge
Stop Bit
Peak EMI Reducing Solution
5 of 9
Notice: The information in this document is subject to change without notice.