ChipFind - документация

Электронный компонент: X9252WV24-2.7

Скачать:  PDF   ZIP
REV 1.4.1 7/29/03
1 of 21
www.xicor.com
Quad Digitally-Controlled (XDCP
TM
) Potentiometer
X9252
FEATURES
Quad solid state potentiometer
256 wiper tap points0.4% resolution
2-wire serial interface for Write, Read, and
transfer operations of the potentiometer
Up/down interface for individual potentiometers
Wiper resistance: 40
typical
Non-volatile storage of wiper positions
Power On Recall. Loads saved wiper position on
Power-Up.
Standby current < 20A Max
Maximum wiper current: 3mA
V
CC
: 2.7V to 5.5V operation
2.8k
,
10k
, 50k
,
100k
version of total pot
resistance
Endurance: 100, 000 data changes per bit per
register
100 yr. data retention
24-Lead TSSOP
DESCRIPTION
The X9252 integrates 4 digitally controlled potentio-
meters (XDCP) on a monolithic CMOS integrated
circuit.
The digitally controlled potentiometers are imple-
mented using 255 resistive elements in a series array.
Between each pair of elements are tap points con-
nected to wiper terminals through switches. The posi-
tion of each wiper on the array is controlled by the user
through the Up/Down (U/D) or 2-wire bus interface.
The wiper of each potentiometer has an associated
volatile Wiper Counter Register (WCR) and four non-
volatile Data Registers (DRs) that can be directly writ-
ten to and read by the user. The contents of the WCR
controls the position of the wiper on the resistor array
though the switches. At power-up, the device recalls
the contents of the default data registers DR00, DR10,
DR20, DR30, to the corresponding WCR.
Each DCP can be used as a three-terminal potentio-
meter or as a two terminal variable resistor in a wide
variety of applications including the programming of
bias voltages, the implementation of ladder networks,
and three resistor programmable networks.
Low Power + Quad 256-tap +
2-Wire bus + Up/Down interface
New Feature
Dual Interface
FUNCTIONAL DIAGRAM
POWER UP,
INTERFACE
CONTROL
AND
V
CC
V
SS
2-Wire
R
H0
R
L0
DCP0
R
W0
A1
SDA
SCL
CS
U/D
A2
DS0
DS1
WP
WCR0
DR00
DR01
DR02
DR03
R
H1
R
L1
DCP1
R
W1
WCR1
DR10
DR11
DR12
DR13
R
H2
R
L2
DCP2
R
W2
WCR2
DR20
DR21
DR22
DR23
R
H3
R
L3
DCP3
R
W3
WCR3
DR30
DR31
DR32
DR33
A0
Interface
Up-Down
Interface
STATUS
2 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
PIN CONFIGURATION
ORDERING INFO
Ordering Number
RTOTAL
Package
Operating Temperature Range
X9252YV24-2.7
2.8k
24-lead TSSOP
0C to 70C
X9252YV24I-2.7
2.8k
24-lead TSSOP
-40C to +85C
X9252WV24-2.7
10k
24-lead TSSOP
0C to 70C
X9252WV24I-2.7
10k
24-lead TSSOP
-40C to +85C
X9252UV24-2.7
50k
24-lead TSSOP
0C to 70C
X9252UV24I-2.7
50k
24-lead TSSOP
-40C to +85C
X9252TV24-2.7
100k
24-lead TSSOP
0C to 70C
X9252TV24I-2.7
100k
24-lead TSSOP
-40C to +85C
TSSOP
R
H2
R
H3
R
W2
1
2
3
4
5
6
7
14
20
19
18
17
16
15
X9252
DS0
DS1
A0
R
W3
U/D
R
L3
SCL
R
L2
V
SS
R
L1
R
W0
CS
R
H0
R
L0
R
W1
R
H1
V
CC
8
9
10
13
WP
A2
11
12
SDA
A1
24
23
22
21
3 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
PIN ASSIGNMENTS
TSSOP pin
Symbol
Brief Description
1
DS0
DCP select for Up/Down interface.
2
A0
Device Address for 2-wire bus.
3
RW3
Wiper terminal of DCP3.
4
RH3
High terminal of DCP3.
5
RL3
Low terminal of DCP3.
6
U/D
Increment/Decrement for Up/Down interface.
7
VCC
System Supply Voltage
8
RL0
Low terminal of DCP0.
9
RH0
High terminal of DCP0.
10
RW0
Wiper terminal of DCP0.
11
A2
Device Address for 2-wire bus.
12
WP
Hardware Write Protect
13
SDA
Serial Data Input/Output for 2-wire bus.
14
A1
Device Address for 2-wire bus.
15
RL1
Low terminal of DCP1.
16
RH1
High terminal of DCP1.
17
RW1
Wiper terminal DCP1.
18
VSS
System ground
19
CS
Chip select for Up/Down interface.
20
RW2
Wiper terminal of DCP2.
21
RH2
High terminal of DCP2.
22
RL2
Low terminal of DCP2.
23
SCL
Serial Clock for 2-wire bus.
24
DS1
DCP select for Up/Down interface.
4 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
ABSOLUTE MAXIMUM RATINGS
Junction Temperature under bias ......65
C to +135
C
Storage temperature .........................65
C to +150
C
Voltage at any digital interface pin
with respect to V
SS
.................................. 1V to +7V
V
CC
............................................................ 1V to +7V
Voltage at any DCP pin with
respect to V
SS
..........................................-1V to V
CC
Lead temperature (soldering, 10 seconds).........300
C
I
W
(10 seconds) ................................................. 6mA
COMMENT
Stresses above those listed under "Absolute Maximum
Ratings" may cause permanent damage to the device.
This is a stress rating only; the functional operation of
the device (at these or any other conditions above
those listed in the operational sections of this specifica-
tion) is not implied. Exposure to absolute maximum rat-
ing conditions for extended periods may affect device
reliability.
RECOMMENDED OPERATING CONDITIONS
Temp
Min.
Max.
Commercial
0
C
+70
C
Industrial
40
C
+85
C
Device
Supply Voltage (V
CC
)
(4)
Limits
X9252
2.7V to 5.5V
ANALOG CHARACTERISTICS
(Over recommended operating conditions unless otherwise stated.)
Symbol
Parameter
Limits
Test Conditions
Min.
Typ.
(4)
Max.
Unit
R
TOTAL
End to end resistance
2.8, 10,
50, 100
k
Y, W, U, T versions respectively
End to end resistance tolerance
-20
+20
%
Power rating
50
mW
25C, each DCP
R
TOTAL
Matching
DCP to DCP resistance
matching
0.75
2.0
%
I
W
(5)
Wiper current
-3.0
+3.0
mA
See test circuit
R
W
Wiper resistance
50
150
Wiper current =
V
TERM
Voltage on any DCP pin
Vss
Vcc
V
Noise
(5)
-120
dBV
Ref: 1kHz
Resolution
0.4
%
Absolute linearity
(1)
1
+1
MI
(3)
V(R
H0
)=V(R
H1
)=V(R
H2
)=V(R
H3
)=V
CC
V(R
L0
)=V(R
L1
)=V(R
L2
)=V(R
L3
)=V
SS
Relative linearity
(2)
0.3
+0.3
MI
(3)
Temperature coefficient of
resistance
(5)
300
ppm/
C
Ratiometric Temperature
(5)
Coefficient
20
+20
ppm/C
C
H
/C
L
/C
W
Potentiometer Capacitance
(5)
10/10/25
pF
See equivalent circuit
I
OL
Leakage on DCP pins
0.1
10
A
Voltage at pin from V
SS
to V
CC
V
CC
R
TOTAL
5 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
D.C. OPERATING CHARACTERISTICS
(Over the recommended operating conditions unless otherwise specified.)
ENDURANCE AND DATA RETENTION
CAPACITANCE
POWER-UP TIMING
A.C. TEST CONDITIONS
Symbol
Parameter
Limits
Test Conditions
Min.
Max.
Units
I
CC1
V
CC
supply current
(Volatile write/read)
3
mA
f
SCL
= 400kHz;SDA = Open; (for 2-Wire,
Active, Read and Volatile Write States
only)
I
CC2
V
CC
supply current
(active)
3
mA
f
SCL
= 200kHz; (for U/D interface,
increment, decrement)
I
CC3
V
CC
supply current
(nonvolatile write)
5
mA
f
SCL
= 400kHz; SDA = Open;
(for 2-Wire, Active, Nonvolatile Write State
only)
I
SB
V
CC
current (standby)
20
A
V
CC
= +5.5V; V
IN
= V
SS
or V
CC
; SDA =
V
CC
; (for 2-Wire, Standby State only)
I
L
Leakage current, bus
interface pins
-10
10
A
Voltage at pin from V
SS
to V
CC
V
IH
Input HIGH voltage
V
CC
x 0.7
V
CC
+ 1
V
V
IL
Input LOW voltage
1
V
CC
x 0.3
V
V
OL
SDA pin output LOW
voltage
0.4
V
I
OL
= 3mA
Parameter
Min.
Units
Minimum endurance
100,000
Data changes per bit
Data retention
100
Years
Symbol
Test
Max.
Units
Test Conditions
C
IN/OUT
(5)
Input / Output capacitance (SDA)
8
pF
V
OUT
= 0V
C
IN
(5)
Input capacitance (
SCL, WP, DS0, DS1, CS, U/D,
A2, A1 and A0
)
6
pF
V
IN
= 0V
Symbol
Parameter Max.
Units
t
D
(5)(9)
Power Up Delay from V
CC
power up (V
CC
above 2.7V) to wiper position recall com-
pleted, and communication interfaces ready
for operation.
2
ms
I
nput Pulse Levels
V
CC
x 0.1 to V
CC
x 0.9
Input rise and fall times
10ns
Input and output timing threshold level
V
CC
x 0.5
External load at pin SDA
2.3k
to V
CC
and 100 pF to V
SS
6 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
2-WIRE INTERFACE TIMING(S)
SDA vs. SCL Timing
WP, A0, A1, and A2 Pin Timing
Symbol
Parameter
Min.
Max.
Units
f
SCL
Clock Frequency
400
kHz
t
HIGH
Clock High Time
600
ns
t
LOW
Clock Low Time
1300
ns
t
SU:STA
Start Condition Setup Time
600
ns
t
HD:STA
Start Condition Hold Time
600
ns
t
SU:STO
Stop Condition Setup Time
600
ns
t
SU:DAT
SDA Data Input Setup Time
100
ns
t
HD:DAT
SDA Data Input Hold Time
30
ns
t
R
(5)
SCL and SDA Rise Time
300
ns
t
F
(5)
SCL and SDA Fall Time
300
ns
t
AA
(5)
SCL Low to SDA Data Output Valid Time
0.9
s
t
DH
SDA Data Output Hold Time
0
ns
t
IN
(5)
Pulse Width Suppression Time at SCL and SDA inputs
50
ns
t
BUF
(5)
Bus Free Time (Prior to Any Transmission)
1200
ns
t
SU:WPA
(5)
A0, A1, A2 and WP Setup Time
600
ns
t
HD:WPA
(5)
A0, A1, A2 and WP Hold Time
600
ns
t
SU:STO
t
DH
t
HIGH
t
SU:STA
t
HD:STA
t
HD:DAT
t
SU:DAT
SCL
SDA
(Input Timing)
SDA
(Output Timing)
t
F
t
LOW
t
BUF
t
AA
t
R
t
HD:WP
SCL
SDA IN
WP, A0, A1, or A2
t
SU:WP
Clk 1
START
STOP
7 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
INCREMENT/DECREMENT TIMING
Increment/Decrement Timing
Symbol
Parameter
Limits
Units
Min.
Typ.
(4)
Max.
t
CI
CS to SCL Setup
600
ns
t
ID
(5)
SCL HIGH to U/D, DS0 or DS1 change
600
ns
t
DI
(5)
U/D, DS0 or DS1 to SCL setup
600
ns
t
IL
SCL LOW period
2.5
s
t
IH
SCL HIGH period
2.5
s
t
IC
SCL inactive to CS inactive (Nonvolatile Store
Setup Time)
1
s
t
CPHS
CS deselect time (STORE)
10
ms
t
CPHNS
(5)
CS deselect time (NO STORE)
1
s
t
IW
(5)
SCL to R
W
change
100
500
s
t
CYC
SCL cycle time
5
s
t
R
, t
F
(5)
SCL input rise and fall time
500
s
CS
SCL
U/D
R
W
t
CI
t
IL
t
IH
t
CYC
t
ID
t
DI
t
IW
MI
(3)
t
IC
t
CPHS
t
F
t
R
10%
90%
90%
t
CPHNS
DS0, DS1
8 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
HIGH-VOLTAGE WRITE CYCLE TIMING
XDCP TIMING
Notes: (1) Absolute linearity is utilized to determine actual wiper voltage versus expected voltage = [V(R
W(n)(actual)
)V(R
W(n)(expected)
)]/MI
V(R
W(n)(expected)
) = n(V(R
H
)-V(R
L
))/255 + V(R
L
), with n from 0 to 255.
(2) Relative linearity is a measure of the error in step size between taps = [V(R
W(n+1)
)(V(R
W(n)
) + MI)]/MI , with n from 0 to 254
(3) 1 Ml = Minimum Increment = [V(R
H
)V(R
L
)]/255.
(4) Typical values are for T
A
= 25C and nominal supply voltage.
(5) This parameter is not 100% tested.
(6) Ratiometric temperature coefficient = (V(R
W
)
T1(n)
V(R
W
)
T2(n)
)/[V(R
W
)
T1(n)
(T1T2)] x 10
6
, with T1 & T2 being 2 temperatures, and
n from 0 to 255.
(7) Measured with wiper at tap position 255, R
L
grounded, using test circuit.
(8) t
WC
is the minimum cycle time to be allowed for any nonvolatile write by the user, unless Acknowledge Polling is used. It is the time
from a valid STOP condition at the end of a write sequence of a 2-wire interface write operation, or from the rising edge of CS of a
valid "Store" operation of the Up/Down interface, to the end of the self-timed internal nonvolatile write cycle.
(9) The recommended power up sequence is to apply V
CC
/V
SS
first, then the potentiometer voltages. During power up, the data sheet
parameters for the DCP do not fully apply until t
D
after V
CC
reaches its final value. In order to prevent unwanted tap position
changes, or an inadvertant store, bring the CS pin high before or concurrently with the V
CC
pin on power up.
Symbol
Parameter
Typ.
Max.
Units
t
WC
(8)(5)
Non-volatile write cycle time
5
10
ms
Symbol
Parameter
Min.
Max.
Units
t
WRL
(5)
SCL rising edge to wiper code changed, wiper response time after
instruction issued (all load instructions)
5
20
s
Test Circuit
Equivalent Circuit
Force
Current
Test Point
R
W
C
H
C
L
R
W
R
TOTAL
C
W
R
H
R
L
9 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
PIN DESCRIPTIONS
Bus Interface Pins
S
ERIAL
D
ATA
I
NPUT
/O
UTPUT
(SDA)
The SDA is a bidirectional serial data input/output pin for
the 2-wire interface. It receives device address, operation
code, wiper register address and data from a 2-wire
external master device at the rising edge of the serial
clock SCL, and it shifts out data after each falling edge of
the serial clock SCL.
SDA requires an external pull-up resistor, since it's an
open drain output.
S
ERIAL
C
LOCK
(SCL)
This input is the serial clock of the 2-wire and Up/Down
interface.
D
EVICE
A
DDRESS
(A2A0)
The Address inputs are used to set the least significant
3 bits of the 8-bit 2-wire interface slave address. A
match in the slave address serial data stream must be
made with the Address input pins in order to initiate
communication with the X9252. A maximum of 8
devices may occupy the 2-wire serial bus.
C
HIP
S
ELECT
(CS)
When the CS pin is low, increment or decrement
operations are possible using the SCL and U/D pins.
The 2-wire interface is disabled at this time. When CS
is high, the 2-wire interface is enabled.
U
P
OR
D
OWN
C
ONTROL
(U/D)
The U/D input pin is held HIGH during increment oper-
ations and held LOW during decrement operations.
DCP S
ELECT
(DS1-DS0)
The DS1-DS0 select one of the four DCPs for an Up/
Down interface operation.
H
ARDWARE
W
RITE
P
ROTECT
I
NPUT
(WP)
When the WP pin is set low, "write" operations to non
volatile DCP Data Registers are disabled. This
includes both 2-wire interface non-volatile "Write", and
Up/Down interface "Store" operations.
DCP Pins
R
H0
, R
L0
, R
H1
, R
L1
, R
H2
, R
L2
, R
H3
,
AND
R
L3
These pins are equivalent to the terminal connections
on mechanical potentiometers. Since there are 4
DCPs, there is one set of R
H
and R
L
for each DCP.
R
W0
, R
W1
, R
W2
,
AND
R
W3
The wiper pins are equivalent to the wiper terminal of
mechanical potentiometers. Since there are four
DCPs, there are 4 R
W
pins.
X9252
10 of 21
REV 1.4.1 7/29/03
www.xicor.com
PRINCIPLES OF OPERATION
The X9252 is an integrated circuit incorporating four
resistor arrays, their associated registers and counters,
and the serial interface logic providing direct communi-
cation between the host and the digitally controlled
potentiometers. This section provides detail description
of the following:
Resistor Array
Up/Down Interface
2-wire Interface
Resistor Array Description
The X9252 is comprised of four resistor arrays. Each
array contains 255 discrete resistive segments that are
connected in series. The physical ends of each array
are equivalent to the fixed terminals of a mechanical
potentiometer (R
Hi
and R
Li
inputs). (See Figure 1.)
At both ends of each array and between each resistor
segment is a switch connected to the wiper (R
Wi
) pin.
Within each individual array only one switch may be
turned on at a time.
These switches are controlled by a Wiper Counter
Register (WCR). The 8-bits of the WCR (WCR[7:0])
are decoded to select and enable one of 256 switches
(see Table 1). Note that each wiper has a dedicated
WCR. When all bits of a WCR are zeroes, the switch
closest to the corresponding R
L
pin is selected. When
all bits of a WCR are ones, the switch closest to the
corresponding R
H
pin is selected.
The WCR is volatile and may be written directly. There
are four non-volatile Data Registers(DR) associated
with each WCR. Each DR can be loaded into WCR. All
DRs and WCRs can be read or written.
Power Up and Down Requirements
During power up, CS must be high, to avoid inadvert-
ant "store" operations. At power up, the contents of
Data Registers DR00, DR10, DR20, and DR30, are
loaded into the corresponding wiper counter register.
Figure 1. Detailed Block Diagram of one DCP
One
WCR[7:0]
R
Hi
R
Wi
R
Li
= FF hex
255
254
253
252
of
256
Decoder
Volatile
8-bit
Wiper
Counter
Register
WCRi
Four
Non-Volatile
Data
Registers
DRi0, DRi1,
DRi2, and
DRi3
i = 0, 1, 2, and 3
Interface Control and
WCR[7:0]
= 00 hex
2
1
0
Volatile Status Register (SR)
(Shared by the Four DCPs)
WP
SCL
SDA
A2, A1, A0
CS
U/D
DS1, DS0
11 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
UP/DOWN INTERFACE OPERATION
The SCL, U/D, CS, DS0 and DS1 inputs 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 SCL inputs. HIGH to LOW
transitions on SCL will increment or decrement
(depending on the state of the U/D input) a wiper
counter register selected by DS0 and DS1. The output
of this counter is decoded to select one of 256 wiper
positions along the resistor array.
The value of the counter is stored in nonvolatile Data
Registers DRi0 whenever CS transitions HIGH while
the SCL and WP inputs are HIGH. "i" indicates the
DCP number selected with pins DS1 and DS0. During
a "Store" operation bits DRSel1 and DRSel0 in the
Status Register must be both "0", which is their power
up default value. Other combinations are reserved and
must not be used.
The system may select the X9252, move the wiper,
and deselect the device without having to store the lat-
est wiper position in nonvolatile memory. After the
wiper movement is performed as described above and
once the new position is reached, the system must
keep SCL LOW while taking CS HIGH. The new wiper
postion will be maintained until changed by the system
or until a power-down/up cycle recalled the previousely
stored data.
This procedure allows the system to always power-up
to a preset value stored in nonvolatile memory; then
during system operation minor adjustments could be
made. The adjustments might be based on user prefer-
ence, system parameter changes due to temperaure
drift, etc.
The state of U/D may be changed while CS remains
LOW. This allows the host system to enable the device
and then move the wiper up and down until the proper
trim is attained. The 2-wire interface is disabled while
CS remains LOW.
Table 1. DCP Selection for Up/Down Control
MODE SELECTION FOR UP/DOWN CONTROL
DS1
DS0
Selected DCP
0
0
DCP0
0
1
DCP1
1
0
DCP2
1
1
DCP3
CS
SCL
U/D
Mode
L
H
Wiper Up
L
L
Wiper Down
H
X
Store Wiper Position to non-
volatile memory if WP pin is
high. No store, return to stand-
by, if WP pin is low.
H
X
X
Standby
L
X
No Store, Return to Standby
L
H
Wiper Up (not recommended)
L
L
Wiper Down
(not recommended)
X9252
12 of 21
REV 1.4.1 7/29/03
www.xicor.com
2-WIRE SERIAL INTERFACE
Protocol Overview
The device supports a bidirectional 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 called the master and the device being
controlled is called the slave. The master always
initiates data transfers, and provides the clock for both
transmit and receive operations. The X9252 operates
as a slave in all applications.
All 2-wire interface operations must begin with a
START, followed by a Slave Address byte. The Slave
Address selects the X9252, and specifies if a Read or
Write operation is to be performed.
All Communication over the 2-wire interface is
conducted by sending the MSB of each byte of data
first.
Serial Clock and Data
Data states on the SDA line can change only while
SCL is LOW. SDA state changes while SCL is HIGH
are reserved for indicating START and STOP
conditions. See Figure 2. On power up of the X9252,
the SDA pin is in the input mode.
Serial Start Condition
All commands are preceded by the START condition,
which is a HIGH to LOW transition of SDA while SCL is
HIGH. The device continuously monitors the SDA and
SCL lines for the START condition and does not
respond to any command until this condition has been
met. See Figure 2.
Serial Stop Condition
All communications must be terminated by a STOP
condition, which is a LOW to HIGH transition of SDA
while SCL is HIGH. The STOP condition is also used to
place the device into the Standby power mode after a
read sequence. A STOP condition can only be issued
after the transmitting device has released the bus. See
Figure 2.
Figure 2. Valid Data Changes, Start, and Stop Conditions
SDA
SCL
START
DATA
DATA
STOP
STABLE
CHANGE
DATA
STABLE
13 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
Serial Acknowledge
An ACK (Acknowledge), is a software convention used
to indicate a successful data transfer. The transmitting
device, either master or slave, releases the bus after
transmitting eight bits. During the ninth clock cycle, the
receiver pulls the SDA line LOW to acknowledge the
reception of the eight bits of data. See Figure 3.
The device responds with an ACK after recognition of a
START condition followed by a valid Slave Address
byte. A valid Slave Address byte must contain the
Device Type Identifier 0101, and the Device Address
bits matching the logic state of pins A2, A1, and A0.
See Figure 4.
If a write operation is selected, the device responds
with an ACK after the receipt of each subsequent
eight-bit word.
In the read mode, the device transmits eight bits of
data, releases the SDA line, and then monitors the line
for an ACK. The device continues transmitting data if
an ACK is detected. The device terminates further data
transmissions if an ACK is not detected. The master
must then issue a STOP condition to place the device
into a known state.
Figure 3. Acknowledge Response From Receiver
SDA Output from
Transmitter
SDA Output from
Receiver
8
1
9
START
ACK
SCL from
Master
X9252
14 of 21
REV 1.4.1 7/29/03
www.xicor.com
Slave Address Byte
Following a START condition, the master must output a
Slave Address Byte (Refer to figure 4.). This byte
includes three parts:
The four MSBs (SA7-SA4) are the Device Type
Identifier, which must always be set to 0101 in order
to select the X9252.
The next three bits (SA3-SA1) are the Device
Address bits (AS2-AS0). To access any part of the
X9252's memory, the value of bits AS2, AS1, and
AS0 must correspond to the logic levels at pins A2,
A1, and A0 respectively.
The LSB (SA0) is the R/W bit. This bit defines the
operation to be performed on the device being
addressed. When the R/W bit is "1", then a Read
operation is selected. A "0" selects a Write operation
.
Figure 4. Slave Address (SA) Format
Nonvolatile Write Acknowledge Polling
After a nonvolatile write command sequence is
correctly issued (including the final STOP condition),
the X9252 initiates an internal high voltage write cycle.
This cycle typically requires 5 ms. During this time, any
Read or Write command is ignored by the X9252.
Write Acknowledge Polling is used to determine
whether a high voltage write cycle is completed.
During acknowledge polling, the master first issues a
START condition followed by a Slave Address Byte.
The Slave Address Byte contains the X9252's Device
Type Identifier and Device Address. The LSB of the
Slave Address (R/W) can be set to either 1 or 0 in this
case. If the device is busy within the high voltage cycle,
then no ACK is returned. If the high voltage cycle is
completed, an ACK is returned and the master can
then proceed with a new Read or Write operation.
(Refer to figure 5.)
Figure 5. Acknowledge Polling Sequence
2-WIRE SERIAL INTERFACE OPERATION
X9252 Digital Potentiometer Register Organization
Refer to the Functional Diagram on page 1. There are
four Digitally Controlled Potentiometers, referred to as
DCPi, i=0,1,2,3. Each potentiometer has one volatile
Wiper Control Register(WCR) with the corresponding
number, WCRi, i=0,1,2,3. Each potentiometer also has
four nonvolatile registers to store wiper position or
general data, these are numbered DRi0, DRi1, DRi2
and DRi3, i=0,1,2,3.
SA6
SA7
SA5
SA3
SA2
SA1
SA0
Device Type
Identifier
Read or
SA4
Slave Address
Bit(s)
Description
SA7SA4
Device Type Identifier
SA3SA1
Device Address
SA0
Read or Write Operation Select
R/W
0
1
0
1
Address
Device
AS0
AS1
AS2
Write
ACK returned?
Issue Slave Address
Byte (Read or Write)
Byte load completed by issuing
STOP. Enter ACK Polling
Issue STOP
Issue START
NO
YES
NO
Continue normal Read or Write
command sequence
PROCEED
YES
complete. Continue command
sequence.
High Voltage
Issue STOP
15 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
The registers are organized in five pages of four, with
one page consisting of the WCRi (i=0-3), a second
page containing the DRi0 (i=0-3), a third page contain-
ing the DRi1, and so forth. These pages can be written
to four bytes at at time. In this manner all four potenti-
ometer WCRs can be updated in a single serial write
(see "Page Write Operation" on page 17), as well as all
four registers of a given page in the DR array.
The unique feature of the X9252 device is that writing
or reading to a Data Register of a given DCP automati-
cally updates/moves the WCR of that DCP with the
content of the DR. In this manner data can be moved
from a particular DCP register to that DCP's WCR just
by performing a 2-wire read operation. Simulta-
neously, that data byte can be utilized by the host.
Status Register Organization
The Status Register (SR) is used in read and write
operations to select the appropriate DCP register.
Before any DCP register can be accessed, the SR
must be set to the correct value. It is accessed by
setting the Address Byte to 07h (Write Slave Address,
followed by Byte Address 07h). The SR is volatile and
defaults to 00h on power up. It is an 8-bit register
containing three control bits in the 3 LSBs as follows:
Bits DRSel0 and DRSel1 determine which Data Regis-
ter of a DCP is selected in a given operation. NVEn-
able is used to select the volatile WCR if "0", and one
of the nonvolatile DCP registers if "1". Table 2 shows
this register organization. "Store" operations using the
Up/Down interface require that bits DRSel1 and
DRSel0 are set to "0".
Table 2. Status Register Contents for WCR and DR
Selection for 2-Wire Interface
Note:
X means either 0 or 1, i = 0,1,2, or 3
DCP Addressing for 2-wire Interface
Once the register number has been selected by a 2-
wire instruction, then the DCP number is determined
by the Address Byte of the following instruction. Note
again that this enables a complete page write of the
DRs of all four potentiometers at once. The register
addresses accessible in the X9252 include:
Table 3. Addressing for 2-wire Interface Address
Byte
All other address bits in the Address Byte must be set
to "0" during 2-wire write operations and their value
should be ignored when read.
7
6
5
4
3
2
1
0
Reserved
DRSel1 DRSel0
NVEnable
Register Selected
DRSel1
DRSel0
NVEnable
WCRi
X
X
0
DRi0
0
0
1
DRi1
0
1
1
DRi2
1
0
1
DRi3
1
1
1
Address (hex)
Contents
0
DCP 0
1
DCP 1
2
DCP 2
3
DCP 3
4
Not Used
5
Not Used
6
Not Used
7
Status Register
X9252
16 of 21
REV 1.4.1 7/29/03
www.xicor.com
Byte Write Operation
For any Byte Write operation, the X9252 requires the
Slave Address byte, an Address Byte, and a Data Byte
(See Figure 6). After each of them, the X9252
responds with an ACK. The master then terminates the
transfer by generating a STOP condition. At this time, if
the write operation is to a volatile register (WCR, or
SR), the X9252 is ready for the next read or write
operation. If the write operation is to a nonvolatile
register (DR), and the WP pin is high, the X9252
begins the internal write cycle to the nonvolatile
memory. During the internal nonvolatile write cycle, the
X9252 does not respond to any requests from the
master. The SDA output is at high impedance.
The SR bits and WP pin determine the register being
accessed through the 2-wire interface. See Table 1 on
page 11.
As noted before, that any write operation to a Data
Register (DR), also writes to the WCR of the corre-
sponding DCP.
For example, to write 3Ahex to the Data Register 1 of
DCP2 the following sequence is required:
During the sequence of this example, WP pin must be
high, and A0, A1, and A2 pins must be low. When com-
pleted, the DR21 register will be set to 3Ah, and also
the WCR2.
Figure 6. Byte Write Sequence
START
Slave Address
0101 0000
ACK
Address Byte
0000 0111
ACK
Data Byte
0000 0011
ACK
STOP
START
Slave Address
0101 0000
ACK
Address Byte
0000 0010
ACK
Data Byte
0011 1010
ACK
STOP
(Hardware Address = 000,
and a Write command)
(Indicates Status Register
address)
(Data Register 1 and
NVEnable selected)
(Hardware address = 000,
(Access DCP2)
(Write Data Byte 3Ah)
Write command)
S
t
a
r
t
S
t
o
p
Slave
Address
Address
Byte
Data
Byte
A
C
K
Signals from
the Master
Signals from
the Slave
A
C
K
0
0
0
1
1
A
C
K
Write
Signal at SDA
17 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
Page Write Operation
As stated previously, the memory is organized as a
single Status Register (SR), and four pages of four
registers each. Each page contains one Data Register
for each DCP. The order of the bytes within a page is
DR0i, followed by DR1i, followed by DR2i, and then
DR3i, with i being the Data Register number (0, 1, 2, or
3). Normally a page write operation will be used to
efficiently update all four data registers and WCR in a
single write command, starting at DCP0 and finishing
with DCP3.
In order to perform a Page Write operation to the mem-
ory array, the NVEnable bit in the SR must first be set
to "1".
A Page Write operation is initiated in the same manner
as the byte write operation; but instead of terminating
the write cycle after the first data byte is transferred,
the master can transmit up to 4 bytes (See Figure 7).
After the receipt of each byte, the X9252 responds with
an ACK, and the internal DCP address counter is
incremented by one. The page address remains
constant. When the counter reaches the end of the
page (DR3i, 03hex), it "rolls over" and goes back to the
first byte of the same page (DR0i, 00hex).
For example, if the master writes 3 bytes to a page
starting at location DR22, the first 2 bytes are written to
locations DR22 and DR32, while the last byte is written
to locations DR02. Afterwards, the DCP counter would
point to location DR12. If the master supplies more
than 4 bytes of data, then new data overwrites the
previous data, one byte at a time.
The master terminates the loading of Data Bytes by
issuing a STOP condition, which initiates the
nonvolatile write cycle. As with the Byte Write
operation, all inputs are disabled until completion of the
internal write cycle. If the WP pin is high, the
nonvolatile write cycle doesn't start and the bytes are
discarded.
Notice that the Data Bytes are also written to the WCR
of the corresponding DCPs, therefore in the above
example, WCR2, WCR3, and WCR0 are also written.
Figure 7. Page Write Operation
2 < n < 4
Signals from
the Master
Signals from
the Slave
Signal at SDA
S
t
a
r
t
Slave
Address
Address
Byte
A
C
K
A
C
K
0
0
0
1
1
Data Byte (1)
S
t
o
p
A
C
K
A
C
K
Data Byte (n)
Write
X9252
18 of 21
REV 1.4.1 7/29/03
www.xicor.com
Move/Read Operation
The Move/Read operation simultaneously reads the
contents of a Data Register (DR) and moves the
contents into the corresponding DCP's WCR. If the
DRs of more than one DCP are read, then the WCRs
of all those DCPs are updated with the content of their
corresponding DR. Move/Read operation consists of a
one byte, or three byte instruction followed by one or
more Data Bytes (See Figure 8). To read an arbitrary
byte, the master initiates the operation issuing the
following sequence: a START, the Slave Address byte
with the R/W bit set to "0", an Address Byte, a second
START, and a second Slave Address byte with the R/W
bit set to "1". After each of the three bytes, the X9252
responds with an ACK. Then the X9252 transmits Data
Bytes as long as the master responds with an ACK
during the SCL cycle following the eigth bit of each
byte. The master terminates the Move/Read operation
(issuing a STOP condition) following the last bit of the
last Data Byte.
The first byte being read is determined by the current
DCP address and by the Status Register bits,
according to Table 2 on page 15. If more than one byte
is read, the DCP address is incremented by one after
each byte, in the same way as during a Page Write
operation. After reaching DCP3, the DCP address
"rolls over" to DCP0.
On power up, the Address pointer is set to the Data
Register 0 of DCP0.
Figure 8. Move/Read Sequence
Signals
from the
Master
Signals from
the Slave
Signal at
SDA
S
t
a
r
t
Slave
Address
with
R/W=0
Address
Byte
A
C
K
A
C
K
0
0
0
1
1
S
t
o
p
A
C
K
0
1
0
1
1
Slave
Address
with
R/W=1
A
C
K
S
t
a
r
t
Last Read
Data Byte
First Read
Data Byte
A
C
K
One or more Data Bytes
Current Address Read
Setting the Current Address
Random Address Read
19 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
APPLICATIONS INFORMATION
Basic Configurations of Electronic Potentiometers
Application Circuits
V
R
RW
+V
R
I
Three terminal Potentiometer;
Variable voltage divider
Two terminal Variable Resistor;
Variable current
Noninverting Amplifier
Voltage Regulator
Offset Voltage Adjustment
Comparator with Hysterisis
+
V
S
V
O
R
2
R
1
V
O
= (1+R
2
/R
1
)V
S
R
1
R
2
I
adj
V
O
(REG) = 1.25V (1+R
2
/R
1
)+I
adj
R
2
V
O
(REG)
V
IN
317
+
V
S
V
O
R
2
R
1
V
UL
= {R
1
/(R
1
+R
2
)} V
O
(max)
RL
L
= {R
1
/(R
1
+R
2
)} V
O
(min)
100K
10K
10K
10K
+5V
TL072
+
V
S
V
O
R
2
R
1
}
}
+5V
20 of 21
REV 1.4.1 7/29/03
www.xicor.com
X9252
Application Circuits (continued)
Attenuator
Filter
Inverting Amplifier
Equivalent L-R Circuit
+
V
S
V
O
R
3
R
1
V
O
= G V
S
-1/2
G +1/2
G
O
= 1 + R
2
/R
1
fc = 1/(2
RC)
+
V
S
V
O
R
2
R
1
Z
IN
= R
2
+ s R
2
(R
1
+ R
3
) C
1
= R
2
+ s Leq
(R
1
+ R
3
) >> R
2
+
V
S
Function Generator
R
2
R
4
R
1
= R
2
= R
3
= R
4
= 10k
+
V
S
R
2
R
1
R
C
}
}
V
O
= G V
S
G = - R
2
/R
1
R
2
C
1
R
1
R
3
Z
IN
+
R
2
+
R
1
}
}
R
A
R
B
frequency
R
1
, R
2
, C
amplitude
R
A
, R
B
C
V
O
Characteristics subject to change without notice.
21 of 21
LIMITED WARRANTY
Devices sold by Xicor, Inc. are covered by the warranty and patent indemnification provisions appearing in its Terms of Sale only. Xicor, Inc. makes no warranty,
express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement.
Xicor, Inc. makes no warranty of merchantability or fitness for any purpose. Xicor, Inc. reserves the right to discontinue production and change specifications and prices
at any time and without notice.
Xicor, Inc. assumes no responsibility for the use of any circuitry other than circuitry embodied in a Xicor, Inc. product. No other circuits, patents, or licenses are implied.
TRADEMARK DISCLAIMER:
Xicor and the Xicor logo are registered trademarks of Xicor, Inc. AutoStore, Direct Write, Block Lock, SerialFlash, MPS, BiasLock and XDCP are also trademarks of
Xicor, Inc. All others belong to their respective owners.
U.S. PATENTS
Xicor products are covered by one or more of the following U.S. Patents: 4,326,134; 4,393,481; 4,404,475; 4,450,402; 4,486,769; 4,488,060; 4,520,461; 4,533,846;
4,599,706; 4,617,652; 4,668,932; 4,752,912; 4,829,482; 4,874,967; 4,883,976; 4,980,859; 5,012,132; 5,003,197; 5,023,694; 5,084,667; 5,153,880; 5,153,691;
5,161,137; 5,219,774; 5,270,927; 5,324,676; 5,434,396; 5,544,103; 5,587,573; 5,835,409; 5,977,585. Foreign patents and additional patents pending.
LIFE RELATED POLICY
In situations where semiconductor component failure may endanger life, system designers using this product should design the system with appropriate error detection
and correction, redundancy and back-up features to prevent such an occurrence.
Xicor's products are not authorized for use in critical components in life support devices or systems.
1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to
perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user.
2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life
support device or system, or to affect its safety or effectiveness.
Xicor, Inc. 2003 Patents Pending
REV 1.4.1 7/29/03
www.xicor.com
X9252
PACKAGING INFORMATION
NOTE: ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS)
24-Lead Plastic, TSSOP, Package Code V24
.169 (4.3)
.177 (4.5)
.252 (6.4) BSC
.026 (.65) BSC
.303 (7.70)
.311 (7.90)
.002 (.06)
.005 (.15)
.047 (1.20)
.0075 (.19)
.0118 (.30)
See Detail "A"
.031 (.80)
.041 (1.05)
.010 (.25)
.020 (.50)
.030 (.75)
Gage Plane
Seating Plane
Detail A (20X)
(4.16) (7.72)
(1.78)
(0.42)
(0.65)
ALL MEASUREMENTS ARE TYPICAL
08