X9119
7FN8162.5
July 5, 2016
Submit Document Feedback
Instruction and Register
Description
Device Addressing
WIPER COUNTER REGISTER (WCR)
The X9119 contains a wiper counter register (refer to Table 4) for
the XDCP potentiometer. The WCR is equivalent to a serial-in,
parallel-out register/counter with its outputs decoded to select
one of 1024 switches along its resistor array. The contents of the
WCR can be altered in one of three ways:
1. It may be written directly by the host via the write wiper
counter register instruction (serial load).
2. It may be written indirectly by transferring the contents of one
of four associated data registers via the XFR data register.
3. It is loaded with the contents of its data register zero (R0)
upon power-up.
The wiper counter register is a volatile register; that is, its
contents are lost when the X9119 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. Power-up guidelines are recommended to ensure
proper loadings of the DR0 value into the WCR.
DATA REGISTERS (DR0 TO DR3)
The potentiometer has four 10-bit nonvolatile 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
wiper counter register. All operations changing data in one of the
data registers is a nonvolatile operation and will take a
maximum of 10ms.
If the application does not require storage of multiple settings for
the potentiometer, the Data Registers can be used as regular
memory locations for system parameters or user preference
data.
Bit 9 to Bit 0 are used to store one of the 1024 wiper position (0
~1023).
Four of the six instructions are four bytes in length. These
instructions are:
•Read Wiper Counter Register – Reads the current wiper
position of the selected potentiometer.
•Write Wiper Counter Register – Changes current wiper position
of the selected potentiometer.
•Read Data Register – Reads the contents of the selected Data
Register.
•Write Data Register – Writes a new value to the selected Data
Register.
The basic sequence of the four byte instructions is illustrated in
Figure 6 on page 8. These 4-byte instructions exchange data
between the WCR and one of the data registers. A transfer from
a data register to a WCR is essentially a write to a static RAM,
with the static RAM controlling the wiper position. The response
of the wiper to this action will be delayed by tWRL. A transfer
from the WCR (current wiper position), to a data register is a
write-to-nonvolatile memory and takes a minimum of tWR to
complete. The transfer can occur between one of the four
potentiometers and one of its associated registers.
Two instructions (Figure 7 on page 8) require a 2-byte sequence
to complete. These instructions transfer data between the host
and the X9119; either between the host and one of the data
registers or directly between the host and the wiper counter
register. These instructions are:
•XFR Data Register to Wiper Counter Register – This transfers
the contents of one specified data register to the wiper counter
register.
•XFR Wiper Counter Register to Data Register – This transfers
the contents of the wiper counter register to the specified data
register.
See “Instruction Format” on page 8 for more details.
POWER-UP AND POWER-DOWN REQUIREMENTS
There are no restrictions on the power-up condition of VCC and
the voltages applied to the potentiometer pins provided that the
VCC is always more positive than or equal to the voltages at RH,
RL, and RW, i.e., VCC ≥ RH, RL, RW. There are no restrictions on
the power-down condition. However, the datasheet parameters
for the DCP do not apply until 1ms after VCC reaches its final
value.
TABLE 4. WIPER CONTROL REGISTER, WCR (10-BIT), WCR9–WCR0: USED TO STORE THE CURRENT WIPER POSITION (VOLATILE, V)
WCR9 WCR8 WCR7 WCR6 WCR5 WCR4 WCR3 WCR2 WCR1 WCR0
VVVVVVVVVV
(MSB) (LSB)
TABLE 5. DATA REGISTER, DR (10-BIT), BIT 9–BIT 0: USED TO STORE WIPER POSITIONS OR DATA (NONVOLATILE, NV)
BIT 9 BIT 8 BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
NV NV NV NV NV NV NV NV NV NV
MSB LSB