ADT7516/ADT7517/ADT7519
CS
8
1
8
1
SCLK
DIN
D6
D2
D1
D7
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D0
START
WRITE COMMAND
REGISTER ADDRESS
CS (CONTINUED)
1
8
SCLK (CONTINUED)
D7
D6
D4
D3
D1
D5
D2
D0
DIN (CONTINUED)
STOP
DATA BYTE
Figure 63. SPI—Writing to the Address Pointer Register Followed by a Single Byte of Data to the Selected Register
Write Operation
Read Operation
Figure 63 shows the timing diagram for a write operation to the
ADT7516/ADT7517/ADT7519. Data is clocked into the
Figure 64 to Figure 66 show the timing diagrams necessary to
accomplish correct read operations. To read back from a
register, first write to the address pointer register with the
address of the register to be read from. This operation is shown
in Figure 64. Figure 65 shows the procedure for reading back a
single byte of data. The read command is first sent to the part
during the first eight clock cycles. As the read command is
being sent, irrelevant data is output onto the DOUT line.
During the following eight clock cycles, the data contained in
the register selected by the address pointer register is output
onto the DOUT line. Data is output onto the DOUT line on the
falling edge of SCLK. Figure 66 shows the procedure when
reading data from two sequential registers. Multiple data reads
are possible in the SPI interface mode as the address pointer
register is auto-incremental. The address pointer register auto-
increments from 0x00 to 0x3F and loops back to start again at
0x00 when it reaches 0x3F.
CS
registers on the rising edge of SCLK. When the
the DIN and DOUT lines are in three-state mode. Only when
CS
line is high,
the
goes from a high to a low does the part accept any data
on the DIN line. In SPI mode, the address pointer register is
capable of auto-incrementing to the next register in the register
map without having to load the address pointer register each
time. In Figure 63, the register address portion gives the first
register that is written to. Subsequent data bytes are written into
sequential writable registers. Thus, after each data byte has been
written into a register, the address pointer register auto-
increments its value to the next available register. The address
pointer register auto-increments from 0x00 to 0x3F and loops
back to start again at 0x00 when it reaches 0x3F.
Rev. B | Page 40 of 44