EVAL-ADG2128EB Analog Devices Inc, EVAL-ADG2128EB Datasheet - Page 22

no-image

EVAL-ADG2128EB

Manufacturer Part Number
EVAL-ADG2128EB
Description
BOARD EVAL FOR ADG2128
Manufacturer
Analog Devices Inc
Datasheet

Specifications of EVAL-ADG2128EB

Main Purpose
Interface, Crosspoint Switch/Multiplexer
Embedded
No
Utilized Ic / Part
ADG2128
Primary Attributes
8 x 12 Analog Multiplexer, 8 ~ 12V or +/- 5V
Secondary Attributes
Graphic User Interface
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
ADG2128
WRITE OPERATION
When writing to the ADG2128, the user must begin with an
address byte and R/ W bit, after which the switch acknowledges
that it is prepared to receive data by pulling SDA low. This
address byte is followed by the two 8-bit words. The write
operations for the switch array are shown in Figure 34. Note
that it is only the condition of the switch corresponding to the
bits in the data bytes that changes state. All other switches retain
their previous condition.
READ OPERATION
Readback on the ADG2128 has been designed to work as a tool
for debug and can be used to output the status of any of the 96
switches of the device. The readback function is a 2-step
sequence that works as follows:
1.
SDA
Table 8. Readback Addresses for Each X Line
X Line
X0
X1
X2
X3
X4
X5
X6
X7
X8
X9
X10
X11
SCL
MASTER
START
Select the relevant X line that you wish to read back from.
Note that there are eight switches connecting that X line to
the eight Y lines. The next step involves writing to the
ADG2128 to tell the part that you would like to know the
status of those eight switches.
a. Enter the I
COND
BY
R/ W bit to 0 to indicate that you are writing to the
device.
ADDRESS BYTE
RB7
0
0
0
0
0
0
0
0
0
0
0
0
2
C address of the ADG2128, and set the
A2
A1
RB6
0
0
1
1
0
0
1
1
0
0
1
1
A0
R/W
SWITCH
ACK
BY
DATA
RB5
1
1
1
1
1
1
1
1
1
1
1
1
AX3
AX2
Figure 34. Write Operation
Rev. A | Page 22 of 28
AX1
DATA BYTE
RB4
1
1
1
1
1
1
1
1
1
1
1
1
AX0
AY2
2.
The entire read sequence is shown in Figure 35.
AY1
b.
a.
b.
c.
The second step involves reading back from the register
that holds the status of the eight switches associated with
your X line of choice.
RB3
0
1
0
1
0
1
0
1
0
1
0
1
AY0
Enter the readback address for the X line of interest,
The ADG2128 then places the status of those eight
switches in a register that can be read back.
As before, enter the I
time, set the R/ W bit to 1 to indicate that you would
like to read back from the device.
As with a write to the device, the ADG2128 outputs a
2-byte sequence during readback. Therefore, the first
eight bits of data out that are read back are all 0s. The
next eight bits of data that come back are the status of
the eight Y lines attached to that particular X line. If
the bit is a 1, then the switch is closed (on); similarly,
if it is a 0, the switch is open (off).
SWITCH
the addresses of which are shown in Table 8. Note that
the ADG2128 is expecting a 2-byte write; therefore, be
sure to enter another byte of don’t cares. (see Figure 35).
ACK
BY
x
x
RB2
1
1
1
1
1
1
1
1
1
1
1
1
x
x
2
DATA BYTE
C address of the ADG2128. This
x
RB1
0
0
0
0
0
0
0
0
1
1
1
1
x
x
LDSW
SWITCH
ACK
BY
RB0
0
0
0
0
1
1
1
1
0
0
0
0
MASTER
COND
STOP
BY

Related parts for EVAL-ADG2128EB