4
FN8161.5
April 9, 2014
Submit Document Feedback
Resistor Array Description
The X9118 is comprised of a resistor array. The array
contains 1023, in effect, discrete resistive segments that are
connected in series (see Figure 1). The physical ends of
each array are equivalent to the fixed terminals of a
mechanical potentiometer (R
H
and R
L
inputs).
At both ends of each array and between each resistor
segment is a CMOS switch (transmission gate) connected to
the wiper (R
W
) output. Within each individual array only one
switch may be turned on at a time. These switches are
controlled by the wiper counter register (WCR). The 10 bits
of the WCR (WCR[9:0]) are decoded to select, and enable,
one of 1024 switches.
The WCR may be written directly. The Data Registers and
the WCR can be read and written by the host system.
Serial Interface Description
SERIAL INTERFACE – 2-WIRE
The X9118 supports a bi-directional bus oriented protocol.
The protocol defines any device that sends data onto the
bus as a transmitter and the receiving device as the receiver.
The device controlling the transfer is a master and the
device being controlled is the slave. The master will always
initiate data transfers and provide the clock for both transmit
and receive operations. Therefore, the X9118 will be
considered a slave device in all applications.
CLOCK AND DATA CONVENTIONS
Data states on the SDA line can change only during SCL
LOW periods. The SDA state changes during SCL HIGH are
reserved for indicating start and stop conditions,
see Figure 3.
START CONDITION
All commands to the X9118 are preceded by the start
condition, which is a HIGH-to-LOW transition of SDA while
SCL is HIGH. The X9118 continuously monitors the SDA
and SCL lines for the start condition and will not respond to
any command until this condition is met, see Figure 3.
STOP CONDITION
All communications must be terminated by a stop condition,
which is a LOW-to-HIGH transition of SDA while SCL is
HIGH, see Figure 3.
ACKNOWLEDGE
Acknowledge is a software convention used to provide a
positive handshake between the master and slave devices
on the bus to indicate the successful receipt of data. The
transmitting device, either the master or the slave, will
release the SDA bus after transmitting 8 bits. The master
generates a ninth clock cycle and during this period the
receiver pulls the SDA line LOW to acknowledge that it
successfully received the eight bits of data.
The X9118 will respond with an acknowledge after
recognition of a start condition and its slave address and
once again after successful receipt of the command byte. If
the command is followed by a data byte, the X9118 will
respond with a final acknowledge, see Figure 2.
SERIAL DATA PATH
FROM INTERFACE
REGISTER 0
SERIAL
BUS
INPUT
PARALLEL
BUS
INPUT
COUNTER
REGISTER
R
L
10 10
C
O
U
N
T
E
R
D
E
C
O
D
E
If WCR = 000[HEX] then R
W
= R
L
If WCR = 3FF[HEX] then R
W
= R
H
WIPER
(WCR)
(DR0)
CIRCUITRY
REGISTER 1
(DR1)
REGISTER 2
(DR2)
REGISTER 3
(DR3)
FIGURE 1. DETAILED POTENTIOMETER BLOCK DIAGRAM
R
W
R
H
X9118
5
FN8161.5
April 9, 2014
Submit Document Feedback
ACKNOWLEDGE POLLING
The disabling of the inputs during the internal nonvolatile write
operation, can be used to take advantage of the typical 5ms
EEPROM write cycle time. Once the stop condition is issued to
indicate the end of the nonvolatile write command the X9118
initiates the internal write cycle. The ACK polling, Flow 1, can
be initiated immediately. This involves issuing the start
condition followed by the device slave address. If the X9118 is
still busy with the write operation no ACK will be returned. If the
X9118 has completed the write operation an ACK will be
returned and the master can then proceed with the next
operation.
Flow 1. ACK Polling Sequence
INSTRUCTION AND REGISTER DESCRIPTION
Device Addressing: Identification Byte (ID and A)
Following a start condition, the master must output the
address of the slave it is accessing. The most significant
4 bits of the slave address are the device type identifier. The
ID[3:0] bits is the device ID for the X9118; this is fixed as
0101[B] (refer to Table 1 on page 6).
The A[1:0] bits in the ID byte are the internal slave address.
The physical device address is defined by the state of the
A1-A0 input pins. The slave address is externally specified
by the user. The X9118 compares the serial data stream with
the address input state; a successful compare of both
address bits is required for the X9118 to successfully
continue the command sequence. Only the device which
slave address matches the incoming device address sent by
the master executes the instruction. The A1 to A0 inputs can
be actively driven by CMOS input signals or tied to V
CC
or
V
SS
. The R/W bit is the LSB and used to set the device for
read or write operations.
INSTRUCTION BYTE AND REGISTER SELECTION
The next byte sent to the X9118 contains the instruction and
register pointer information. The three most significant bits
are used to provide the instruction opcode (I[2:0]). The RB
and RA bits point to one of the four registers. The format is
shown in Table 2.
Table 3 provides a complete summary of the instruction set
opcodes.
1
89
START
ACKNOWLEDGE
SCL FROM
MASTER
DATA OUTPUT
FROM TRANSMITTER
DATA OUTPUT
FROM RECEIVER
FIGURE 2. ACKNOWLEDGE RESPONSE FROM RECEIVER
NONVOLATILE WRITE
COMMAND COMPLETED
ENTERACK POLLING
ISSUE
START
ISSUE SLAVE
ADDRESS
ACK
RETURNED?
FURTHER
OPERATION?
ISSUE
INSTRUCTION
ISSUE STOP
NO
YES
YES
PROCEED
ISSUE STOP
NO
PROCEED
X9118
6
FN8161.5
April 9, 2014
Submit Document Feedback
TABLE 1. IDENTIFICATION BYTE FORMAT
TABLE 2. INSTRUCTION BYTE FORMAT
REGISTER SELECTED RB RA
DR0 0 0
DR1 0 1
DR2 1 0
DR3 1 1
ID3 ID2 ID1 ID0 0 A1 A0 R/W
01010A1A0R/W
(MSB) (LSB)
DEVICE TYPE
IDENTIFIES
SET TO 0
FOR PROPER
INTERNAL SLAVE
ADDRESS
READ OR
WRITE BIT
OPERATION
I2 I1 I0 0 RB RA 0 0
(MSB) (LSB)
INSTRUCTION
OPCODE
SET TO 0
FOR PROPER
OPERATION
REGISTER
SELECTION
SET TO 0 FOR
PROPER OPERATION
TABLE 3. INSTRUCTION SET
INSTRUCTION R/W
INSTRUCTION SET
OPERATIONI
2
I
1
I
0
0RBRA 0 0
Read Wiper Counter Register 1 1 0 0 0 0 0 0 0 Read the contents of the Wiper Counter Register
Write Wiper Counter Register 0 1 0 1 0 0 0 0 0 Write new value to the Wiper Counter Register
Read Data Register 1 1 0 1 0 1/0 1/0 0 0 Read the contents of the Data Register pointed to
RB-RA.
Write Data Register 0 1 1 0 0 1/0 1/0 0 0 Write new value to the Data Register pointed to
RB-RA.
XFR Data Register to Wiper
Counter Register
1 1 1 0 0 1/0 1/0 0 0 Transfer the contents of the Data Register pointed to
by RB-RA to the Wiper Counter Register
XFR Wiper Counter Register
to Data Register
0 1 1 1 0 1/0 1/0 0 0 Transfer the contents of the Wiper Counter Register
to the Data Register pointed to by RB-RA.
NOTE:
3. 1/ = data is one or zero.
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