Nonvolatile Write
Command Completed
Enter ACK Polling
Issue
START
Issue Slave
Address
ACK
Returned?
Further
Operation?
Issue
Instruction
Proceed
Issue STOP
NO
YES
YES
Proceed
Issue STOP
NO
4
FN8163.2
August 30, 2006
The next four bits of the slave address are the device
address. The physical device address is defined by
the state of the A0-A3 inputs. The X9221A compares
the serial data stream with the address input state; a
successful compare of all four address bits is required
for the X9221A to respond with an acknowledge.
Acknowledge Polling
The disabling of the inputs, during the internal nonvol-
atile 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 non-
volatile write command the X9221A initiates the inter-
nal write cycle. ACK polling can be initiated
immediately. This involves issuing the start condition
followed by the device slave address. If the X9221A is
still busy with the write operation no ACK will be
returned. If the X9221A has completed the write oper-
ation an ACK will be returned and the master can then
proceed with the next operation.
Flow 1. ACK Polling Sequence
Instruction Structure
The next byte sent to the X9221A contains the instruc-
tion and register pointer information. The four most
significant bits are the instruction. The next four bits
point to one of two pots and when applicable they
point to one of four associated registers. The format is
shown below in Figure 2.
Figure 2. Instruction Byte Format
t
I1I2I3 I0 0 P0 R1 R0
Potentiometer
Select
Register
Select
Instructions
The four high order bits define the instruction. The
sixth bit (P0) selects which one of the two potentiome-
ters is to be affected by the instruction. The last two
bits (R1 and R0) select one of the four registers that is
to be acted upon when a register oriented instruction
is issued.
Four of the nine instructions end with the transmission
of the instruction byte. The basic sequence is illus-
trated in Figure 3. These two-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. The response of
the wiper to this action will be delayed t
STPWV
. A
transfer from WCR’s 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 either potentiometer and their associated
registers or it may occur between both of the potenti-
ometers and one of their associated registers.
Four instructions require a three-byte sequence to
complete. These instructions transfer data between
the host and the X9221A; either between the host and
one of the data registers or directly between the host
and the WCR. These instructions are: Read WCR,
read the current wiper position of the selected pot;
Write WCR, change current wiper position of the
selected pot; Read Data Register, read the contents of
the selected nonvolatile register; Write Data Register,
write a new value to the selected data register. The
sequence of operations is shown in Figure 4.
The Increment/Decrement command is different from
the other commands. Once the command is issued
and the X9221A has responded with an acknowledge,
the master can clock the selected wiper up and/or
down in one segment steps; thereby, providing a fine
X9221A
S
T
A
R
T
0101A3A2A1A0
A
I3 I2 I1 I0 0 P0 R1 R0
SCL
SDA
S
T
O
P
C
K
A
C
K
S
T
A
R
T
0 1 0 1 A3 A2 A1 A0
A
I3 I2 I1 I0 0 P0 R1 R0
SCL
SDA
S
T
O
P
0 0 D5 D4 D3 D2 D1 D0
C
K
A
C
K
A
C
K
5
FN8163.2
August 30, 2006
tuning capability to the host. For each SCL clock pulse
(t
HIGH
) while SDA is HIGH, the selected wiper will
move one resistor segment towards the V
H
/R
H
termi-
nal. Similarly, for each SCL clock pulse while SDA is
LOW, the selected wiper will move one resistor seg-
ment towards the V
L
/R
L
terminal. A detailed illustra-
tion of the sequence and timing for this operation are
shown in Figures 5 and 6 respectively.
Figure 3. Two-Byte Command Sequence
Figure 4. Three-Byte Command Sequence
Figure 5. Increment/Decrement Command Sequined
e
S
T
A
R
T
0 1 0 1 A3 A2 A1 A0 I3 I2 I1 I0 0 P0 R1 R0
SCL
SDA
S
T
O
P
XX
I
N
C
1
I
N
C
2
I
N
C
n
D
E
C
1
D
E
C
n
A
C
K
A
C
K
X9221A
SCL
SDA
V
W
/R
W
INC/DEC
CMD
Issued
Voltage Out
t
CLWV
6
FN8163.2
August 30, 2006
Figure 6. Increment/Decrement Timing Limits
Table 1. Instruction Set
Note: (7) N/A = Not applicable or don’t care; that is, a data register is not involved in the operation and need not be addressed (typical)
Instruction
Instruction Format
OperationI
3
I
2
I
1
I
0
0P
0
R
1
R
0
Read WCR 1 0 0 1 0 1/0 N/A
(7)
N/A Read the contents of the Wiper Counter Register
pointed to by P
0
Write WCR 1 0 1 0 0 1/0 N/A N/A Write new value to the Wiper Counter Register
pointed to by P
0
Read Data Register 1 0 1 1 0 1/0 1/0 1/0 Read the contents of the Register pointed to by
P
0
and R
1
–R
0
Write Data Register 1 1 0 0 0 1/0 1/0 1/0 Write new value to the Register pointed to by P
0
and R
1
–R
0
XFR Data Register to
WCR
1 1 0 1 0 1/0 1/0 1/0 Transfer the contents of the Register pointed to
by P
0
and R
1
–R
0
to its associated WCR
XFR WCR to Data
Register
1 1 1 0 0 1/0 1/0 1/0 Transfer the contents of the WCR pointed to by
P
0
to the Register pointed to by R
1
–R
0
Global XFR Data
Register to WCR
0 0 0 1 N/A N/A 1/0 1/0 Transfer the contents of the Data Registers
pointed to by R
1
–R
0
of both pots to their
respective WCR
Global XFR WCR
to Data Register
1 0 0 0 N/A N/A 1/0 1/0 Transfer the contents of all WCRs to their
respective data Registers pointed to by R
1
–R
0
of both pots
Increment/Decrement
Wiper
0 0 1 0 0 1/0 N/A N/A Enable Increment/decrement of the WCR point-
ed to by P
0
X9221A

X9221AWSIZT1

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Digital Potentiometer ICs 10K DL EEPOT TMPOT CMOS IND
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union