7
FN8161.5
April 9, 2014
Submit Document Feedback
Instruction and Register Description
Device Addressing
WIPER COUNTER REGISTER (WCR)
The X9118 contains a Wiper Counter Register (see 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,
contents are lost when the X9118 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 (DR)
The potentiometer has four 10-bit non-volatile Data
Registers. These can be read or written directly by the host.
Data can 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 – Read the current wiper
position of the potentiometer.
Write Wiper Counter Register – Change current wiper
position of the 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 t
WRL
. A
transfer from the WCR (current wiper position), to a data
register is a write to nonvolatile memory and takes a minimum
of t
WR
to complete. The transfer can occur between the
potentiometer 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 X9118; 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 specified Wiper Counter
Register to the specified Data Register.
Refer to “Instruction Format” on page 8 for more details.
Other
POWER-UP AND POWER-DOWN REQUIREMENTS
At all times, the V+ voltage must be greater than or equal to
the voltage at R
H
or R
L
, and the voltage at R
H
or R
L
must be
greater than or equal to the voltage at V-. During power-up
and power-down, V
CC
, V+, and V- must reach their final
values within 1ms of each other.
TABLE 4. WIPER CONTROL REGISTER, WCR (10-BIT), WCR9 TO 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 TO BIT 0: USED TO STORE WIPER POSITIONS OR DATA (NON-VOLATILE, 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
X9118
8
FN8161.5
April 9, 2014
Submit Document Feedback
Instruction Format
Read Wiper Counter Register (WCR)
Write Wiper Counter Register (WCR)
Read Data Register (DR)
S
T
A
R
T
01 0 1
0A1A0R/W
A
C
K
I2
I1
I0
0RBRA0 A
C
K
SCL
SDA
S
T
O
P
0
00
ID3 ID2 ID1 ID0
DEVICE ID
INTERNAL
INSTRUCTION
OPCODE
ADDRESS
REGISTER
ADDRESS
FIGURE 3. TWO-BYTE INSTRUCTION SEQUENCE
S
T
A
R
T
A
C
K
A
C
K
SCL
SDA
A
C
K
S
T
O
P
A
C
K
ID3 ID2 ID1 ID0 0 A1
A0
R/W
I2
0
0
0
X
X0
0
XX X
W
C
R
9
W
C
R
8
W
C
R
7
W
C
R
6
W
C
R
5
W
C
R
4
W
C
R
3
W
C
R
2
W
C
R
1
W
C
R
0
I1
I0
0
RB RA
0101 0
XX
X
DEVICE ID
INTERNAL
ADDRESS
INSTRUCTION
OPCODE
REGISTER
ADDRESS
WIPER OR DATA
POSITION
FIGURE 4. FOUR-BYTE INSTRUCTION SEQUENCE (WRITE OR READ FOR WCR OR DATA REGISTERS)
S
T
A
R
T
DEVICE TYPE
IDENTIFIER
DEVICE
ADDRESSES
S
A
C
K
INSTRUCTION
OPCODE
REGISTER
ADDRESSES
S
A
C
K
WIPER POSITION
(SENT BY SLAVE ON SDA)
M
A
C
K
WIPER POSITION
(SENT BY SLAVE ON SDA
)
M
A
C
K
S
T
O
P
01010A 1A 0
R/W = 1
1 00 0 000 0 XXXXXX
W
C
R
9
W
C
R
8
W
C
R
7
W
C
R
6
W
C
R
5
W
C
R
4
W
C
R
3
W
C
R
2
W
C
R
1
W
C
R
0
S
T
A
R
T
DEVICE TYPE
IDENTIFIER
DEVICE
ADDRESSES
S
A
C
K
INSTRUCTION
OPCODE
REGISTER
ADDRESSES
S
A
C
K
WIPER POSITION
(SENT BY MASTER ON SDA)
S
A
C
K
WIPER
POSITION
(SENT BY MASTER ON SDA)
S
A
C
K
S
T
O
P
0 1010A 1A 0
R/W = 0
10100000 XXXXXX
W
C
R
9
W
C
R
8
W
C
R
7
W
C
R
6
W
C
R
5
W
C
R
4
W
C
R
3
W
C
R
2
W
C
R
1
W
C
R
0
S
T
A
R
T
DEVICE TYPE
IDENTIFIER
DEVICE
ADDRESSES
S
A
C
K
INSTRUCTION
OPCODE
REGISTER
ADDRESSES
S
A
C
K
WIPER POSITION
(SENT BY SLAVE ON SDA)
M
A
C
K
WIPER POSITION OR DATA
(SENT BY SLAVE ON SDA)
M
A
C
K
S
T
O
P
01010A 1A 0
R/W = 1
1 0 1 0 RB RA 0 0 X X X X X X
W
C
R
9
W
C
R
8
W
C
R
7
W
C
R
6
W
C
R
5
W
C
R
4
W
C
R
3
W
C
R
2
W
C
R
1
W
C
R
0
X9118
9
FN8161.5
April 9, 2014
Submit Document Feedback
Write Data Register (DR)
Transfer Wiper Counter Register (WCR) to Data Register (DR)
Transfer Data Register (DR) to Wiper Counter Register (WCR)
NOTES:
1. “A1 ~ A0”: stands for the device addresses sent by the master.
2. WCRx refers to wiper position data in the Wiper Counter Register.
S
T
A
R
T
DEVICE TYPE
IDENTIFIER
DEVICE
ADDRESSES
S
A
C
K
INSTRUCTION
OPCODE
REGISTER
ADDRESSES
S
A
C
K
WIPER POSITION OR DATA
(SENT BY MASTER ON SDA)
S
A
C
K
WIPER POSITION OR DATA
(SENT BY MASTER ON SDA)
S
A
C
K
S
T
O
P
HIGH-VOLTAGE
WRITE CYCLE
01010A 1A 0
R/W = 0
1 10 0 RBRA00 X XXXXX
W
C
R
9
W
C
R
8
W
C
R
7
W
C
R
6
W
C
R
5
W
C
R
4
W
C
R
3
W
C
R
2
W
C
R
1
W
C
R
0
S
T
A
R
T
DEVICE TYPE
IDENTIFIE
R
DEVICE
ADDRESSES
S
A
C
K
INSTRUCTION
OPCODE
REGISTER
ADDRESSES
S
A
C
K
S
T
O
P
HIGH-VOLTAGE
WRITE CYCLE
01010A 1A 0
R/W = 0
111 0RBRA00
S
T
A
R
T
DEVICE TYPE
IDENTIFIER
DEVICE
ADDRESSES
S
A
C
K
INSTRUCTION
OPCODE
REGISTER
ADDRESSES
S
A
C
K
S
T
O
P
01010A 1A 0
R/W = 1
1 1 0 0 RB RA 0 0
X9118

X9118TV14-2.7

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
IC XDCP SGL 1024TAP 100K 14TSSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet