CAT5419
http://onsemi.com
10
Table 12. INSTRUCTION SET (Note: 1/0 = data is one or zero)
Instruction
Instruction Set
Operation
I3 I2 I1 I0 R1 R0 0 WCR0/ P0
Read Wiper Control
Register
1 0 0 1 0 0 0 1/0 Read the contents of the Wiper Control
Register pointed to by P0
Write Wiper Control
Register
1 0 1 0 0 0 0 1/0 Write new value to the Wiper Control
Register pointed to by P0
Read Data Register 1 0 1 1 1/0 1/0 0 1/0 Read the contents of the Data Register
pointed to by P0 and R1−R0
Write Data Register 1 1 0 0 1/0 1/0 0 1/0 Write new value to the Data Register
pointed to by P0 and R1−R0
XFR Data Register to
Wiper Control Register
1 1 0 1 1/0 1/0 0 1/0 Transfer the contents of the Data
Register pointed to by P0 and R1−R0 to
its associated Wiper Control Register
XFR Wiper Control
Register to Data Register
1 1 1 0 1/0 1/0 0 1/0 Transfer the contents of the Wiper
Control Register pointed to by P0 to the
Data Register pointed to by R1−R0
Gang XFR Data Registers
to Wiper Control Registers
0 0 0 1 1/0 1/0 0 0 Transfer the contents of the Data
Registers pointed to by R1−R0 of both
pots to their respective Wiper Control
Registers
Gang XFR Wiper Control
Registers to Data Register
1 0 0 0 1/0 1/0 0 0 Transfer the contents of both Wiper
Control Registers to their respective data
Registers pointed to by R1−R0 of both
four pots
Increment/Decrement
Wiper Control Register
0 0 1 0 0 0 0 1/0 Enable Increment/decrement of the
Control Latch pointed to by P0
The basic sequence of the three byte instructions is
illustrated in Figure 11. These three-byte instructions
exchange data between the WCR and one of the Data
Registers. The WCR controls the position of the wiper. The
response of the wiper to this action will be delayed by t
WRL
.
A transfer from the WCR (current wiper position), to a Data
Register is a write to non-volatile memory and takes a
maximum of t
WR
to complete. The transfer can occur
between one of the potentiometers and one of its associated
registers; or the transfer can occur between all
potentiometers and one associated register.
Four instructions require a two-byte sequence to
complete, as illustrated in Figure 10. These instructions
transfer data between the host/processor and the CAT5419;
either between the host and one of the data registers or
directly between the host and the Wiper Control Register.
These instructions are:
XFR Data Register to Wiper Control Register
This transfers the contents of one specified Data
Register to the associated Wiper Control Register.
XFR Wiper Control Register to Data Register
This transfers the contents of the specified Wiper
Control Register to the specified associated Data
Register.
Global XFR Data Register to Wiper Control
Register
This transfers the contents of all specified Data Registers
to the associated Wiper Control Registers.
Global XFR Wiper Counter Register to Data
Register
This transfers the contents of all Wiper Control Registers
to the specified associated Data Registers.
Increment/Decrement Command
The final command is Increment/Decrement (Figure 6
and 12). The Increment/Decrement command is different
from the other commands. Once the command is issued and
the CAT5419 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 R
H
terminal. Similarly, for each SCL clock
pulse while SDA is LOW, the selected wiper will move one
resistor segment towards the R
L
terminal.
See Instructions format for more detail.