Datasheet
ADT7320 Data Sheet
Rev. 0 | Page 18 of 24
WRITING DATA
Data is written to the ADT7320 in 8 bits or 16 bits, depending on
the addressed register. The first byte written to the device is the
command byte, with the read/write bit set to 0. The master
then supplies the 8-bit or 16-bit input data on the DIN line.
The ADT7320 clocks the data into the register addressed in the
command byte on the rising edge of SCLK. The master finishes
the write transaction by pulling
CS
high.
Figure 15 shows a write to an 8-bit register, and Figure 16 shows
a write to a 16-bit register.
The master must begin a new write transaction on the bus for
every register write. Only one register is written to per bus
transaction.
C3
C2
C5
C4
DIN
C7
C6
C1
D2 D1 D0
C0
8-BIT DATA
5 6 7 8 9 10111213141516
SCLK
1234
D5
CS
R/W REGISTER ADDR
0
000
D4 D3D7 D6
8-BIT COMMAND BYTE
09012-128
Figure 15. Writing to an 8-Bit Register
C3 C2C5 C4
DIN
C7 C6 C1 D2 D1 D0
C0
16-BIT DATA
5
24
6 7 8 9 10 11 12 13 14 15 16
22 23
SCLK
1234
D14 D13
17
CS
R/W REGISTER ADDR
0
00
0
D12 D10D11 D9 D8 D7D15
8-BIT COMMAND BYTE
09012-129
Figure 16. Writing to a 16-Bit Register