ADM1031
during the high period, as a low-to-high transition
when the clock is high can be interpreted as a stop
signal. The number of data bytes that can be
transmitted over the serial bus in a single read or
write operation is limited only by what the master
and slave devices can handle.
3. When all data bytes have been read or written,
stop conditions are established. In write mode, the
master pulls the data line high during the tenth
clock pulse to assert a stop condition. In read
mode, the master device overrides the
acknowledge bit by pulling the data line high
during the low period before the ninth clock pulse.
This is known as No Acknowledge. The master
then takes the data line low during the low period
before the tenth clock pulse, then high during the
tenth clock pulse to assert a stop condition.
Any number of bytes of data can be transferred over the
serial bus in one operation, but it is not possible to mix read
and write in one operation, because the type of operation is
determined at the beginning and cannot subsequently be
changed without starting a new operation.
In the case of the ADM1031, write operations contain
either one byte or two bytes, and read operations contain one
byte, and perform the functions described next.
Writing Data to a Register
To write data to one of the device data registers or read
data from it, the address pointer register must be set so that
the correct data register is addressed; data can then be
written to that register or read from it. The first byte of a
write operation always contains an address that is stored in
the address pointer register. If data is to be written to the
device, the write operation contains a second data byte that
is written to the register selected by the address pointer
register.
This is illustrated in Figure 15. The device address is sent
over the bus followed by R/W set to 0. This is followed by
two data bytes. The first data byte is the address of the
internal data register to be written to, which is stored in the
address pointer register. The second data byte is the data to
be written to the internal data register.
Reading Data from a Register
When reading data from a register there are two
possibilities:
1. If the ADM1031’s address pointer register value is
unknown or not the desired value, it is first
necessary to set it to the correct value before data
can be read from the desired data register. This is
done by performing a write to the ADM1031 as
before, but only the data byte containing the
register address is sent, as data is not to be written
to the register. This is shown in Figure 16.
A read operation is then performed consisting of
the serial bus address, R/W bit set to 1, followed
by the data byte read from the data register. This is
shown in Figure 17.
2. If the address pointer register is known to be
already at the desired address, data can be read
from the corresponding data register without first
writing to the address pointer register, so Figure 16
can be omitted.
NOTES:
1. Although it is possible to read a data byte from a data
register without first writing to the address pointer register,
if the address pointer register is already at the correct value,
it is not possible to write data to a register without writing to
the address pointer register. This is because the first data
byte of a write is always written to the address pointer
register.
2. In Figure 15, Figure 16, and Figure 17, the serial bus
address is shown as the default value 01011(A1)(A0),
where A1 and A0 are set by the three-state ADD pin.
3. The ADM1031 also supports the Read Byte protocol, as
described in the system management bus specification.
1
9
1
9
SCL
SDA
0
1
0
1
1
A1
A0
R/W
D7
D6
D5
D4
D3
D2
D1
D0
START BY
MASTER
FRAME 1
SERIAL BUS ADDRESS BYTE
ACK. BY
ADM1031
FRAME 2
ADDRESS POINTER REGISTER BYTE
ACK. BY
ADM1031
SCL (CONTINUED)
1
9
SDA (CONTINUED)
D7
D6
D5
D4
D3
D2
D1
D0
FRAME 3
DATA BYTE
Figure 15. Writing a Register Address to the Address Pointer Register,
then Writing Data to the Selected Register
http://onsemi.com
8
ACK. BY
ADM1031
STOP BY
MASTER
相关PDF资料
EVAL-ADM1062TQEBZ BOARD EVALUATION FOR ADM1062TQ
EVAL-ADM1075CEBZ BOARD EVAL FOR ADM1075
EVAL-ADM1087EBZ BOARD EVALUATION FOR ADM1087
EVAL-ADM1166TQEBZ BOARD EVAL FOR ADM1166TQ
EVAL-ADM1168LQEBZ BOARD EVAL FOR ADM1168LQ
EVAL-ADM1170EBZ BOARD EVALUATION FOR ADM1170
EVAL-ADM1171EBZ BOARD EVALUATION FOR ADM1171
EVAL-ADM1172EBZ BOARD EVALUATION FOR ADM1172
相关代理商/技术参数
EVAL-ADM1034EB 制造商:ON Semiconductor 功能描述:EVAL BOARD - Boxed Product (Development Kits)
EVAL-ADM1060EBZ 功能描述:BOARD EVALUATION ADM1060 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:PSoC® 主要目的:电源管理,热管理 嵌入式:- 已用 IC / 零件:- 主要属性:- 次要属性:- 已供物品:板,CD,电源
EVAL-ADM1062-69CSZ 功能描述:EVAL BOARD ADM1062 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:- 主要目的:电信,线路接口单元(LIU) 嵌入式:- 已用 IC / 零件:IDT82V2081 主要属性:T1/J1/E1 LIU 次要属性:- 已供物品:板,电源,线缆,CD 其它名称:82EBV2081
EVAL-ADM1062LFEB 功能描述:BOARD EVALUATION FOR ADM1062LF RoHS:否 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:PSoC® 主要目的:电源管理,热管理 嵌入式:- 已用 IC / 零件:- 主要属性:- 次要属性:- 已供物品:板,CD,电源
EVAL-ADM1062LFEBZ 制造商:Analog Devices 功能描述:EVALUATION KIT FOR ADM1062 制造商:Analog Devices 功能描述:EVAL KIT FOR ADM1062 - Bulk
EVAL-ADM1062TQEB 制造商:Analog Devices 功能描述:EVALUATION BOARD I.C. - Bulk
EVAL-ADM1062TQEBZ 功能描述:BOARD EVALUATION FOR ADM1062TQ RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:- 主要目的:电信,线路接口单元(LIU) 嵌入式:- 已用 IC / 零件:IDT82V2081 主要属性:T1/J1/E1 LIU 次要属性:- 已供物品:板,电源,线缆,CD 其它名称:82EBV2081
EVAL-ADM1063LFEB 制造商:Analog Devices 功能描述:EVALUATION BOARD I.C. - Bulk