8FN8162.3
November 18, 2005
Table 4. Wiper Control Register, WCR (10-bit), WCR9– WCR0: Used to store the current wiper position (Volatile, V)
Table 5. Data Register, DR (10-bi t) , Bit 9–Bit 0: Used to store wiper positions or data (Non- Volatile, NV)
Four of the six instructions are four bytes in length.
These instructions are:
–Read Wiper Counter Register – read the current
wiper position of the selected potentiometer,
–Write Wiper Counter Register – change current
wiper position of the selected potentiometer,
–Read Data Register – read the contents of the
selected Data Register;
–Write Data Register – write a new value to the
selected Data Register.
The basic sequence of the four byte instructions is
illustrated in Figure 3. These four-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 (see Figure 4) require a two-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 Coun te r 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 for more details.
POWER UP AND DOWN REQUIREMENTS
There are no restrictions on the power-up condition of
Vcc and the voltages applied to th e po tentiom eter 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 1milisecond after VCC
reaches its final value.
Figure 3. Two-Byte Instruction Sequence
WCR9 WCR8 WCR7 WCR6 WCR5 WCR4 WCR3 WCR2 WCR1 WCR0
VVVVVVVVVV
(MSB) (LSB)
Bit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
NV NV NV NV NV NV NV NV NV NV
MSB LSB
S
T
A
R
T
01 01
A2 A1 A0 R/W A
C
K
I2 I1
I0 0 RBRA0 A
C
K
SCL
SDA
S
T
O
P
000
ID3 ID2 ID1 ID0
Device ID Internal Instruction
Opcode
Address Register
Address
X9119