ADT7320
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.
CS
Data Sheet
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.
SCLK
DIN
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16
8-BIT COMMAND BYTE
8-BIT DATA
0 R/W REGISTER ADDR 0
0
0
C7 C6 C5 C4 C3 C2 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0
Figure 15. Writing to an 8-Bit Register
CS
SCLK
DIN
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16 17
8-BIT COMMAND BYTE
16-BIT DATA
0 R/W REGISTER ADDR 0
0
0
C7 C6 C5 C4 C3 C2 C1 C0 D15 D14 D13 D12 D11 D10 D9 D8 D7
Figure 16. Writing to a 16-Bit Register
22 23 24
D2 D1 D0
Rev. 0 | Page 18 of 24