Datasheet
AD5263
Figure 46). If two AD5263s are daisy-chained, a total of 20 bits
of data is required. The first 10 bits, complying with the format
shown in Table 4, go to U2 and the second 10 bits, with the
same format, go to U1.
CS
should be kept low until all 20 bits
are clocked into their respective serial registers. After this,
CS
is
pulled high to complete the operation and load the RDAC latch.
Note that data appears on SDO on the negative edge of the
clock, thus making it available to the input of the daisy-chained
device on the rising edge of the next clock.
03142-0-046
AD5263 AD5263
U2
SPI
U1
CS
SDI
CLK
CS
SDO
CS
CLK
SDI
SDO
CLK
MOSI
V
L
R
P
2.2kΩ
Figure 46. Daisy-Chain Configuration
I
2
C COMPATIBLE 2-WIRE SERIAL BUS (DIS = 1)
In the I
2
C compatible mode, the RDACs are connected to the
bus as slave devices.
Referring to Table 5 and Table 6, the first byte of the AD5263 is
a slave address byte, consisting of a 7-bit slave address and a
R/
W
bit. The five MSBs are 01011 and the following two bits are
determined by the state of the AD0 and AD1 pins of the device.
AD0 and AD1 allow the user to place up to four of the I
2
C
compatible devices on one bus.
The 2-wire I
2
C serial bus protocol operates as follows:
1. The master initiates a data transfer by establishing a
START condition, which is when a high-to-low transition
on the SDA line occurs while SCL is high (see Figure 42).
The following byte is the slave address byte, which consists
of the 7-bit slave address followed by an R/
W
bit. This R/
W
bit determines whether data will be read from or written to
the slave device.
The slave whose address corresponds to the transmitted
address responds by pulling the SDA line low during the
ninth clock pulse (this is termed the acknowledge bit). At
this stage, all other devices on the bus remain idle while the
selected device waits for data to be written to or read from
its serial register. If the R/
W
bit is high, the master will read
from the slave device. If the R/
W
bit is low, the master will
write to the slave device.
2. In the write mode, the second byte is the instruction byte.
The first bit (MSB) of the instruction byte is a don’t care.
The following two bits, labeled A1 and A0, are the RDAC
subaddress select bits.
The fourth MSB (RS) is the midscale reset. A logic high on
this bit moves the wiper of the selected channel to the
center tap where R
WA
= R
WB
. This feature effectively writes
over the contents of the register, so that when taken out of
reset mode, the RDAC will remain at midscale.
The fifth MSB (SD) is the shutdown bit. A logic high causes
the selected channel to open circuit at Terminal A while
shorting the wiper to Terminal B. This operation yields
almost 0 Ω in rheostat mode or 0 V in potentiometer
mode. This SD bit serves the same function as the
SHDN
pin except that the
SHDN
pin reacts to active low. Also, the
SHDN
pin affects all channels, as opposed to the SD bit,
which affects only the channel being written to. It is
important to note that the shutdown operation does not
disturb the contents of the register. When brought out of
shutdown, the previous setting will be applied to the
RDAC.
The next two bits are O2 and O1. They are extra
programmable logic outputs that can be used to drive other
digital loads, logic gates, LED drivers, analog switches, etc.
The LSB is a don’t care (see Table 5).
After acknowledging the instruction byte, the last byte in
write mode is the data byte. Data is transmitted over the
serial bus in sequences of nine clock pulses (eight data bits
followed by an acknowledge bit). The transitions on the
SDA line must occur during the low period of SCL and
remain stable during the high period of SCL (see
Figure 42).
3. In the read mode, the data byte follows immediately after
the acknowledgment of the slave address byte. Data is
transmitted over the serial bus in sequences of nine clock
pulses (a slight difference with the write mode, where there
are eight data bits followed by an acknowledge bit).
Similarly, the transitions on the SDA line must occur
during the low period of SCL and remain stable during the
high period of SCL (see Figure 43).
Note that the channel of interest is the one that was
previously selected in the write mode. In the case where
users need to read the RDAC values of both channels, they
need to program the first channel in the write mode and
then change to the read mode to read the first channel
value. After that, they need to change back to the write
mode with the second channel selected and read the
second channel value in the read mode again. It is not
necessary for users to issue the Frame 3 data byte in the
write mode for subsequent readback operation. Refer to
Figure 43 for the programming format.
Rev. 0 | Page 16 of 28