7
FN8197.1
April 26, 2006
Figure 3. Two-Byte Instruction Sequence
The Increment/Decrement command is different from
the other commands. Once the command is issued
and the X9428 has responded with an acknowledge,
the master can clock the selected wiper up and/or
down in one segment steps; thereby, providing a fine
tuning capability to the host. For each SCL clock pulse
(t
HIGH
) while SDA is HIGH, the selected wiper will
move one resistor segment towards the V
H
/R
H
terminal. Similarly, for each SCL clock pulse while
SDA is LOW, the selected wiper will move one resistor
segment towards the V
L
/R
L
terminal. A detailed
illustration of the sequence and timing for this
operation are shown in Figures 5 and 6 respectively.
Table 1. Instruction Set
Note: (7) 1/0 = data is one or zero
S
T
A
R
T
0101A3A20A0A
C
K
I3 I2 I1 I0 R1 R0 0 0 A
C
K
SCL
SDA
S
T
O
P
Instruction
Instruction Set
OperationI
3
I
2
I
1
I
0
R
1
R
0
X
1
X
0
Read Wiper Counter
Register
1 0 0 1 0 0 0 0 Read the contents of the Wiper Counter Register
Write Wiper Counter
Register
1 0 1 0 0 0 0 0 Write new value to the Wiper Counter Register
Read Data Register 1 0 1 1 1/0 1/0 0 0 Read the contents of the Data Register pointed to by
R
1
- R
0
Write Data Register 1 1 0 0 1/0 1/0 0 0 Write new value to the Data Register pointed to by
R
1
- R
0
XFR Data Register to
Wiper Counter Register
1 1 0 1 1/0 1/0 0 0 Transfer the contents of the Data Register pointed to
by R
1
- R
0
to its Wiper Counter Register
XFR Wiper Counter
Register to Data Register
1 1 1 0 1/0 1/0 0 0 Transfer the contents of the Wiper Counter Register
to the Data Register pointed to by R
1
- R
0
Increment/Decrement
Wiper Counter Register
0 0 1 0 0 0 0 1/0 Enable Increment/decrement of the Wiper Counter
Register
X9428