adm1191nbsp Analog Devices, Inc., adm1191nbsp Datasheet - Page 9

no-image

adm1191nbsp

Manufacturer Part Number
adm1191nbsp
Description
Digital Power Monitor With Convert Pin And Alertb Output
Manufacturer
Analog Devices, Inc.
Datasheet
VOLTAGE AND CURRENT READBACK
The ADM1191 contains the components to allow voltage and
current readback over an Inter-IC (I
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 via an I
When all conversions are complete, the voltage and/or current
values can be read out to 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
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
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 010; the four LSBs are
determined by the state of the A0 pin and the A1 pin. There are
16 different configurations available on the A0 pin and A1 pin
that correspond to 16 different I
(see Table 5). This scheme allows 16 ADM1191 devices to operate
on a single I
GENERAL I
Figure 16 and Figure 17 show timing diagrams for general read
and write operations using the I
conditions for different types of read and write operations, which
are discussed later. The general I
1.
Table 5. Setting I
Base Address
011
The master initiates 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 follows. All slave peripherals
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).
2
C.
2
C TIMING
2
C command or by driving the CONV pin high.
A0 Pin State
Ground
Ground
Ground
Ground
Resistor to ground
Resistor to ground
Resistor to ground
Resistor to ground
Floating
Floating
Floating
2
C Addresses via the A0 Pin and the A1 Pin
2
C). This interface is compatible with I
2
2
C. The I
2
C addresses for the four LSBs
C protocol operates as follows:
2
C) bus. The voltage output
2
A1 Pin State
Ground
Resistor to ground
Floating
High
Resistor to ground
Ground
Resistor to ground
Floating
Ground
Floating
High
C specification defines
2
C BUS
2
C
Rev. A | Page 9 of 16
00
00
00
10
10
A0 Logical State
00
01
01
01
01
10
2.
3.
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.
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 doing a read
operation, it may first be necessary to do 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.
When all data bytes are read or written, stop conditions are
established. In write mode, the master pulls the data line
high during the 10th clock pulse to assert a stop condition.
In read mode, the master device releases the SDA line
during the 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 low period before the 10th clock pulse, then high
during the 10th clock pulse to assert a stop condition.
A1 Logical State
00
10
11
00
10
01
00
01
10
11
01
0110000X
0110010X
0110011X
0111000X
0111010X
Address in Binary
0110001X
0110100X
0110101X
0110110X
0110111X
0111001X
ADM1191
Address
0x60
0x62
0x64
0x66
0x68
0x6A
0x6C
0x6E
0x70
0x72
0x74

Related parts for adm1191nbsp