9FN8183.6
December 16, 2009
Pin Descriptions
RH AND RL
The high (RH) and low (RL) terminals of the X9317 are
equivalent to the fixed te rminals of a mechanical
potentiometer . The terminology of RL and RH references the
relative position of the terminal in relation to wiper movement
direction selected by the U/D input and not the voltage
potential on the terminal.
RW
Rw is the wiper terminal and is equivalent to the movable
terminal of a mechanical potentiometer. The position of the
wiper within the array is determined by the control inputs.
The wiper terminal series resistance is typically 200Ω.
UP/DOWN (U/D)
The U/D input controls the direction of the wiper movement
and whether the counter is incremented or decremented.
INCREMENT (INC)
The INC input is negative-edge triggered. Toggling INC will
move the wiper and either increment or decrement the
counter in the direction indicated by the logic level on the
U/D input.
CHIP SELECT (CS)
The device is selected when the CS input is LOW. The
current counter value is stored in nonvolatile memory when
CS is returned HIGH while th e INC input is also HIGH. After
the store operation is complete, the X9317 will be placed in
the low power standby mode until the device is selected
once again.
Pin Configuration
Principles of Operation
There are three sections of the X9317: the control section,
the nonvolatile memory, and the resistor array. The control
section operates just like an up/down counter. The output of
this counter is decoded to turn on a single electronic switch
connecting a point on the resistor array to the wiper output.
The contents of the counter can be stored in nonvolatile
memory and retained for future use. The resistor array is
comprised of 99 individual resistors connecte d in series.
Electronic switches at either end of the array and between
each resistor pro vi de an electrical connection to the wiper
pin, RW.
The wiper acts like its mechanical equivalent and does not
move beyond the first or last position. That is, the counter
does not wrap around when clocked to either extreme.
The electronic switches on the device operate in a “ma ke
before break” mode when the wiper changes tap positions. If
the wiper is moved several positions, multiple taps are
connected to the wiper for tIW (INC to VW change). The
RTOTAL value for the device can temporarily be reduced by
a significant amount if the wiper is moved several positions.
When the device is powered-down, the last wiper posi tio n
stored will be maintained in the nonvolatile memory. When
power is restored, the contents of the memory are recalled
and the wiper is set to the value last sto r ed.
Instructions and Programming
The INC, U/D and CS inp uts control the movement of the
wiper along the resistor array. With CS set LOW, the device
is selected and enabled to respond to the U/D and INC
inputs. HIGH to LOW transitions on INC will increment or
decrement (depending on the state of the U/D input) a 7-bi t
counter. The output of this counter is decoded to se lect one
of one hundred wiper positions along the resistive array.
The value of the counter is stored in no nvolatile memory
whenever CS transitions HIGH while the INC input is also
HIGH.
RH
VCC
INC
U/D
1
2
3
4
8
7
6
5
X9317
DIP/SOIC/MSOP
VSS
CS
RL
RW
INC
RL
CS
VCC
1
2
3
4
8
7
6
5
X9317
TSSOP
U/D
RW
VSS
RH
Pin Names
SYMBOL DESCRIPTION
RHHigh terminal
RWWiper terminal
RLLow terminal
VSS Ground
VCC Supply voltage
U/D Up/Down control input
INC Increment control input
CS Chip select control input
X9317