AD5251 Analog Devices, AD5251 Datasheet - Page 15

no-image

AD5251

Manufacturer Part Number
AD5251
Description
(AD5251 / AD5252) Dual 64-and 256-Position I2C Nonvolatile Memory Digital Potentiometers
Manufacturer
Analog Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AD5251B100
Quantity:
10
Part Number:
AD5251BRUZ50
Manufacturer:
ADI/亚德诺
Quantity:
20 000
AD5251/AD5252
I
The first byte of the AD5251/AD5252 is a slave address byte
(see Figure 12 and Figure 13). It has a 7-bit slave address and an
R/ W bit. The 5 MSBs of the slave address are 01011, and the
following 2 LSBs are determined by the states of the AD1 and
AD0 pins. AD1 and AD0 allow the user to place up to four
parts on one bus.
AD5251/AD5252 can be controlled via an I
bus, and are connected to this bus as slave devices. The 2-wire
I
1.
2.
2
2
C serial bus protocol (see Figure 13 and Figure 14) follows:
C COMPATIBLE 2-WIRE SERIAL BUS
The master initiates a data transfer by establishing a start
condition, such that SDA goes from high to low while SCL
is high (see Figure 13). The following byte is the slave
address byte, which consists of the 5 MSBs of a slave
address defined as 01011. The next two bits are AD1 and
AD0, I
their AD1 and AD0 bits, four parts can be addressed on
the same bus. The last LSB, the R/ W bit, determines
whether data is 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 called an 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.
In the write mode (except when restoring EEMEM to the
RDAC register), there is an instruction byte that follows
the slave address byte. The MSB of the instruction byte is
labeled CMD/ REG . MSB = 1 enables CMD, the command
instruction byte; MSB = 0 enables general register writing.
The third MSB in the instruction byte, labeled EE/ RDAC ,
is true only when MSB = 0 or is in general writing mode.
EE enables the EEMEM register and REG enables the
RDAC register. The 5 LSBs, A4 to A0, designate the
START BY
MASTER
2
C device address bits. Depending on the states of
SCL
SDA
1
0
START BY
MASTER
1
SLAVE ADDRESS BYTE
SCL
SDA
0
FRAME 1
1
1 AD1 AD0 R/W
1
0
1
SLAVE ADDRESS BYTE
2
0
C compatible serial
FRAME 1
1
ACK. BY
AD525x
9
1
1
X
Figure 13. General I
AD1 AD0
Figure 14. General I
X
Rev.0 | Page 15 of 28
X
INSTRUCTION BYTE
R/W
ACK. BY
AD525x
X
FRAME 2
9
X
2
D7
2
C Write Pattern
1
C Read Pattern
X
3.
4.
D6
X
D5
addresses of the EEMEM and RDAC registers, (see Figure
7 and Figure 8). When MSB = 1 or when in CMD mode,
the four bits following MSB are C3 to C1, which
correspond to 12 predefined EEMEM controls and quick
commands; there also are four factory reserved commands.
The 3 LSBs—A2, A1, and A0—are four addresses, but only
001 and 011 are used for RDAC1 and RDAC3, respectively
(see Figure 10). After acknowledging the instruction byte,
the last byte in the 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 13).
In current read mode, the RDAC0 data byte immediately
follows the acknowledgment of the slave address byte.
After an acknowledgement, RDAC1 follows, then RDAC2,
and so on (there is a slight difference in write mode, where
the last eight data bits representing RDAC3 data are
followed by a no 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 14). Another reading method, random
read method, is shown in Figure 10.
When all data bits have been read or written, a stop
condition is established by the master. A stop condition is
defined as a low-to-high transition on the SDA line while
SCL is high. In write mode, the master pulls the SDA line
high during the 10th clock pulse to establish a stop
condition (see Figure 13). In read mode, the master issues a
no acknowledge for the ninth clock pulse, i.e., the SDA line
remains high. The master then brings the SDA line low
before the 10
stop condition (see Figure 14).
X
RDAC REGISTER
ACK. BY
AD525x
D4
FRAME 2
9
D3
D7 D6 D5
1
D2
th
clock pulse, which goes high to establish a
D1
DATA BYTE
D4 D3 D2 D1
D0
FRAME 1
NO ACK. BY
MASTER
9
STOP BY
MASTER
D0
ACK. BY
AD525x
9
STOP BY
MASTER

Related parts for AD5251