Write Operations - Analog Devices ADT7473 Manual

Dbcool remote thermal monitor and fan controller
Hide thumbs Also See for ADT7473:
Table of Contents

Advertisement

1
SCL
SDA
0
1
START BY
MASTER
1
SCL
0
1
SDA
START BY
MASTER
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. However, it is not
possible to write data to a register without writing to the
address pointer register, because the first data byte of a write is
always written to the address pointer register.
In addition to supporting the send byte and receive byte
protocols, the ADT7473 also supports the read byte protocol.
(See System Management Bus Specifications Rev. 2 for more
information; this document is available from Intel.)
If several read or write operations must be performed in succes-
sion, the master can send a repeat start condition instead of a
stop condition to begin a new operation.

WRITE OPERATIONS

The SMBus specification defines several protocols for different
types of read and write operations. The ones used in the
ADT7473 are discussed below. The following abbreviations are
used in the diagrams:
S – START
P – STOP
R – READ
W – WRITE
A – ACKNOWLEDGE
A – NO ACKNOWLEDGE
The ADT7473 uses the following SMBus write protocols.
Send Byte
In this operation, the master device sends a single command
byte to a 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 ACK on SDA.
4.
The master sends a command code.
5.
The slave asserts ACK on SDA.
6.
The master asserts a stop condition on SDA and the
transaction ends.
0
1
1
1
0
FRAME 1
SERIAL BUS ADDRESS BYTE
Figure 15. Writing to the Address Pointer Register Only
0
1
1
1
0
FRAME 1
SERIAL BUS ADDRESS BYTE
Figure 16. Reading Data from a Previously Selected Register
9
1
D7
D6
R/W
D5
ACK. BY
ADT7473
ADDRESS POINTER REGISTER BYTE
9
1
D7
D6
D5
R/W
ACK. BY
ADT7473
DATA BYTE FROM ADT743
For the ADT7473, the send byte protocol is used to write a
register address to RAM for a subsequent single-byte read from
the same address. This operation is illustrated in Figure 17.
Figure 17. Setting a Register Address for Subsequent Read
If the master is required to read data from the register immedi-
ately after setting up the address, it can assert a repeat start
condition immediately after the final ACK and carry out a
single-byte read without asserting an intermediate stop
condition.
Write Byte
In this operation, the master device sends a command byte and
one data 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 ACK on SDA.
4.
The master sends a command code.
5.
The slave asserts ACK on SDA.
6.
The master sends a data byte.
7.
The slave asserts ACK on SDA.
8.
The master asserts a stop condition on SDA, and the
transaction ends.
The byte write operation is illustrated in Figure 18.
1
S
Rev. 0 | Page 11 of 76
9
D4
D2
D3
D1
D0
ACK. BY
ADT7473
FRAME 2
D4
D3
D2
D1
D0
NO ACK. BY
MASTER
FRAME 2
1
2
3
4
SLAVE
REGISTER
S
W A
ADDRESS
ADDRESS
2
3
4
5
SLAVE
REGISTER
ADDRESS W A
A
ADDRESS
Figure 18. Single Byte Write to a Register
ADT7473
STOP BY
MASTER
9
STOP BY
MASTER
5
6
A
P
6
7 8
DATA
A P

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADT7473 and is the answer not in the manual?

Questions and answers

Table of Contents