Data Sheet ADM1191
Rev. C | Page 9 of 16
VOLTAGE AND CURRENT READBACK
The ADM1191 contains the components to allow voltage and
current readback over an I
2
C bus. The voltage output of the
current sense amplifier and the voltage on the VCC pin are fed
into a 12-bit ADC via a multiplexer. The device can be instructed
to convert voltage and/or current at any time during operation
by issuing an I
2
C command or driving the CONV pin high. When
all conversions are complete, the voltage and/or current values
can be read back with 12-bit accuracy in two or three bytes.
SERIAL BUS INTERFACE
Control of the ADM1191 is carried out via the serial system
management bus (I
2
C). This interface is compatible with the I
2
C
fast mode (400 kHz maximum). The ADM1191 is connected to
this bus as a slave device, under the control of a master device.
IDENTIFYING THE ADM1191 ON THE I
2
C BUS
The ADM1191 has a 7-bit serial bus slave address. When the
device powers up, it does so with a default serial bus address.
The three MSBs of the address are set to 011; the four LSBs are
determined by the state of the A0 pin and the A1 pin. There are
16 configurations available on the A0 pin and A1 pin that corre-
spond to 16 I
2
C addresses for the four LSBs (see Table 5). This
scheme allows 16 ADM1191 devices to operate on a single I
2
C bus.
GENERAL I
2
C TIMING
Figure 16 and Figure 17 show timing diagrams for general write
and read operations using the I
2
C. The I
2
C specification defines
conditions for different types of read and write operations, which
are discussed in the Write and Read Operations section. The
general I
2
C protocol operates as follows:
1. The master initiates a data transfer by establishing a start
condition, defined as a high-to-low transition on the serial
data line, SDA, while the serial clock line, SCL, remains high.
This indicates that a data stream is to follow. All slave periph-
erals connected to the serial bus respond to the start condition
and shift in the next eight bits, consisting of a 7-bit slave
address (MSB first) plus an R/
W
bit that determines the
direction of the data transfer, that is, whether data is written
to or read from the slave device (0 = write, 1 = read).
The peripheral whose address corresponds to the transmitted
address responds by pulling the data line low during the
low period before the ninth clock pulse, known as the
acknowledge bit, and holding it low during the high period
of this clock pulse. All other devices on the bus remain idle
while the selected device waits for data to be read from it
or written to it. If the R/
W
bit is 0, the master writes to the
slave device. If the R/
W
bit is 1, the master reads from the
slave device.
2. Data is sent over the serial bus in sequences of nine clock
pulses: eight bits of data followed by an acknowledge bit
from the slave device. Data transitions on the data line
must occur during the low period of the clock signal and
remain stable during the high period because a low-to-
high transition when the clock is high can be interpreted as
a stop signal.
If the operation is a write operation, the first data byte after
the slave address is a command byte. This tells the slave
device what to expect next. It can be an instruction, such as
telling the slave device to expect a block write, or it can be
a register address that tells the slave where subsequent data
is to be written.
Because data can flow in only one direction, as defined by
the R/
W
bit, it is not possible to send a command to a slave
device during a read operation. Before performing a read
operation, it may be necessary to first execute a write
operation to tell the slave what sort of read operation to
expect and/or the address from which data is to be read.
3. When all data bytes are read or written, stop conditions are
established. In write mode, the master pulls the data line
high during the 10
th
clock pulse to assert a stop condition.
In read mode, the master device releases the SDA line
during the SCL low period before the ninth clock pulse,
but the slave device does not pull it low. This is known as a no
acknowledge. The master then takes the data line low during
the SCL low period before the 10
th
clock pulse and then high
during the 10
th
clock pulse to assert a stop condition.
Table 5. Setting I
2
C Addresses via the A0 Pin and the A1 Pin
Base Address A1 Pin State A0 Pin State A1 Pin Logic State A0 Pin Logic State Address in Binary
1
Address in Hex
011 Ground Ground 00 00 0110000X 0x60
Ground Resistor to ground 00 01 0110001X 0x62
Ground Floating 00 10 0110010X 0x64
Ground High 00 11 0110011X 0x66
Resistor to ground Ground 01 00 0110100X 0x68
Resistor to ground Resistor to ground 01 01 0110101X 0x6A
Resistor to ground
Floating
01
10
0110110X
0x6C
Resistor to ground
High
01
11
0110111X
0x6E
Floating Ground 10 00 0111000X 0x70
Floating Resistor to ground 10 01 0111001X 0x72
ADM1191 Data Sheet
Rev. C | Page 10 of 16
Base Address A1 Pin State A0 Pin State A1 Pin Logic State A0 Pin Logic State Address in Binary
1
Address in Hex
Floating Floating 10 10 0111010X 0x74
Floating High 10 11 0111011X 0x76
High Ground 11 00 0111100X 0x78
High Resistor to ground 11 01 0111101X 0x7A
High
Floating
11
10
0111110X
0x7C
High High 11 11 0111111X 0x7E
1
X = don’t care.
ACKNOWLEDGE BY
SLAVE
ACKNOWLEDGE BY
SLAVE
SCL
(CONTINUED)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
1
9
1
9
STOP
BY
MASTER
SDA
(CONTINUED)
FRAME 3
DATA BYTE
FRAME N
DATA BYTE
SCL
START BY MASTER
1
9
1
9
D7
D6
D5
D4
D3
D2 D1
D0
ACKNOWLEDGE BY
SLAVE
ACKNOWLEDGE BY
SLAVE
FRAME 1
SLAVE ADDRESS
FRAME 2
COMMAND CODE
05804-004
SDA
A0A A0B
R/W
A1BA1A
1
1
0
Figure 16. General I
2
C Write Timing Diagram
SCL
START BY MASTER
1
9
1
9
D7
D6
D5
D4
D3
D2 D1
D0
ACKNOWLEDGE BY
SLAVE
ACKNOWLEDGE BY
MASTER
NO ACKNOWLEDGE
ACKNOWLEDGE BY
MASTER
FRAME 1
SLAVE ADDRESS
FRAME 2
DATA BYTE
SCL
(CONTINUED)
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
1
9
1
9
STOP
BY
MASTER
SDA
(CONTINUED)
FRAME 3
DATA BYTE
FRAME N
DATA BYTE
05804-005
SDA
A0A A0B
R/W
A1BA1A
1
1
0
Figure 17. General I
2
C Read Timing Diagram
SCLSCL
SDA
P
S
t
HD;STA
t
HD;DAT
t
HIGH
t
SU;DAT
t
SU;STA
t
HD;STA
t
F
t
R
t
LOW
t
BUF
t
SU;STO
P
S
05804-006
Figure 18. Serial Bus Timing Diagram
Data Sheet ADM1191
Rev. C | Page 11 of 16
WRITE AND READ OPERATIONS
The I
2
C specification defines several protocols for different
types of read and write operations. The operations used in the
ADM1191 are discussed in this section. Table 6 shows the
abbreviations used in the command diagrams (see Figure 19 to
Figure 24).
Table 6. I
2
C Abbreviations
Abbreviation Condition
S Start
P Stop
R Read
W
Write
A Acknowledge
N No acknowledge
QUICK COMMAND
The quick command operation allows the master to check if the
slave is present on the bus, as follows:
1. The master device asserts a start condition on SDA.
2. The master sends the 7-bit slave address, followed by the
write bit (low).
3. The addressed slave device asserts an acknowledge on SDA.
4. The master asserts a stop condition on SDA to end the
transaction.
05804-007
S
SLAVE
ADDRESS
W A
1 2 3
P
4
Figure 19. Quick Command
WRITE COMMAND BYTE
In the write command byte operation, the master device sends
a command byte to the slave device, as follows:
1. The master device asserts a start condition on SDA.
2. The master sends the 7-bit slave address, followed by the
write bit (low).
3. The addressed slave device asserts an acknowledge on SDA.
4. The master sends the command byte. The command byte
is identified by an MSB = 0. An MSB = 1 indicates an
extended register write (see the Write Extended Command
Byte section).
5. The slave asserts an acknowledge on SDA.
6. The master asserts a stop condition on SDA to end the
transaction.
S
SLAVE
ADDRESS
W A
COMMAND
BYTE
A P
1 2 3 4 5 6
05804-008
Figure 20. Write Command Byte
The seven LSBs of the command byte are used to configure and
control the ADM1191. Table 7 provides details of the function
of each bit.
Table 7. Command Byte Operations
Bit Default Name Function
C0 0 V_CONT
LSB, set to convert voltage continuously. If readback is attempted before the first conversion is complete,
the ADM1191 asserts an acknowledge and returns all 0s in the returned data.
C1 0 V_ONCE Set to convert voltage once. Self-clears. I
2
C asserts a no acknowledge on attempted reads until the ADC
conversion is complete.
C2 0 I_CONT Set to convert current continuously. If readback is attempted before the first conversion is complete,
the ADM1191 asserts an acknowledge and returns all 0s in the returned data.
C3 0 I_ONCE Set to convert current once. Self-clears. I
2
C asserts a no acknowledge on attempted reads until the ADC
conversion is complete.
C4 0 VRANGE Selects different internal attenuation resistor networks for voltage readback. A 0 in C4 selects a 14:1 voltage
divider. A 1 in C4 selects a 7:2 voltage divider. With an ADC full scale of 1.902 V, the voltage at the VCC pin for
an ADC full-scale result is 26.52 V for VRANGE = 0 and 6.65 V for VRANGE = 1.
C5 0 N/A Unused.
C6 0 STATUS_RD Status Read. When this bit is set, the data byte read back from the ADM1191 is the status byte. It contains the
status of the device alerts. See Table 15 for full details of the status byte.

ADM1191-2ARMZ-R7

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Current & Power Monitors & Regulators Digital Pwr Monitor w/AlertB Output IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet