CAT5409WI25 ONSEMI [ON Semiconductor], CAT5409WI25 Datasheet - Page 9

no-image

CAT5409WI25

Manufacturer Part Number
CAT5409WI25
Description
Manufacturer
ONSEMI [ON Semiconductor]
Datasheet
WIPER CONTROL AND DATA REGISTERS
Wiper Control Register (WCR)
The CAT5409 contains four 6-bit Wiper Control
Registers, one for each potentiometer. The Wiper
Control Register output is decoded to select one of 64
switches along its resistor array. The contents of the
WCR can be altered in four ways: it may be written by
the host via Write Wiper Control Register instruction; it
may be written by transferring the contents of one of
four associated Data Registers via the XFR Data
Register instruction, it can be modified one step at a
time by the Increment/decrement instruction (see
Instruction section for more details). Finally, it is
loaded with the content of its data register zero (DR0)
upon power-up.
The Wiper Control Register is a volatile register that
loses its contents when the CAT5409 is powered-
down. Although the register is automatically loaded
with the value in DR0 upon power-up, this may be
different from the value present at power-down.
Data Registers (DR)
Each potentiometer has four 6-bit non-volatile Data
Registers. These can be read or written directly by the
host. Data can also be transferred between any of the
four Data Registers and the associated Wiper Control
Register. Any data changes in one of the Data
Table 3. Instruction Set
© 2009 SCILLC. All rights reserved.
Characteristics subject to change without notice
Instruction
Read Wiper Control
Register
Write Wiper Control
Register
Read Data Register
Write Data Register
XFR Data Register to
Wiper Control Register
XFR Wiper Control
Register to Data
Register
Gang XFR Data
Registers to Wiper
Control Registers
Gang XFR Wiper
Control Registers to
Data Register
Increment/Decrement
Wiper Control Register
1
1
1
1
1
1
0
1
0
I3
0
0
0
1
1
1
0
0
0
I2
I1
0
1
1
0
0
1
0
0
1
1
0
1
0
1
0
1
0
0
I0
0
0
1/0
1/0
1/0
1/0
1/0
1/0
0
R1
Instruction Set
0
0
1/0
1/0
1/0
1/0
1/0
1/0
0
R0
WCR1/ P1
9
1/0
1/0
1/0
1/0
1/0
1/0
1/0
0
0
Registers is a non-volatile operation and will take a
maximum of 5ms.
If the application does not require storage of multiple
settings for the potentiometer, the Data Registers can
be used as standard memory locations for system
parameters or user preference data.
INSTRUCTIONS
Four of the nine instructions are three bytes in length.
These instructions are:
— Read Wiper Control Register – read the current
— Write Wiper Control Register – change current
— Read Data Register – read the contents of the
— Write Data Register – write a new value to the
The basic sequence of the three byte instructions is
illustrated in Figure 8. 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 de-
layed by t
wiper position of the selected potentiometer in the
WCR
wiper position in the WCR of the selected
potentiometer
selected Data Register
selected Data Register
WCR0/ P0
WRL
1/0
1/0
1/0
1/0
1/0
1/0
1/0
0
0
. A transfer from the WCR (current wiper
Operation
Read the contents of the Wiper Control
Register pointed to by P1-P0
Write new value to the Wiper Control
Register pointed to by P1-P0
Read the contents of the Data Register
pointed to by P1-P0 and R1-R0
Write new value to the Data Register
pointed to by P1-P0 and R1-R0
Transfer the contents of the Data Register
pointed to by P1-P0 and R1-R0 to its
associated Wiper Control Register
Transfer the contents of the Wiper Control
Register pointed to by P1-P0 to the Data
Register pointed to by R1-R0
Transfer the contents of the Data Registers
pointed to by R1-R0 of all four pots to their
respective Wiper Control Registers
Transfer the contents of both Wiper Control
Registers to their respective data Registers
pointed to by R1-R0 of all four pots
Enable Increment/decrement of the Control
Latch pointed to by P1-P0
Note: 1/0 = data is one or zero
Doc. No. MD-2010 Rev. M
CAT5409

Related parts for CAT5409WI25