10
FN8167.3
July 24, 2014
Submit Document Feedback
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.
Slave Address Byte
Following a START condition, the master must output a Slave
Address Byte (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.
SDA
SCL
START DATA DATA STOP
STABLE CHANGE
DATA
STABLE
FIGURE 2. VALID DATA CHANGES, START, AND STOP CONDITIONS
SDA OUTPUT FROM
TRANSMITTER
SDA OUTPUT FROM
RECEIVER
81 9
START ACK
SCL FROM MASTER
FIGURE 3. ACKNOWLEDGE RESPONSE FROM RECEIVER
SA6SA7
SA5
SA3 SA2
SA1
SA0
Device Type
Identifier
Read or
SA4
SLAVE ADDRESS
BIT(S) DESCRIPTION
SA7-SA4 Device Type Identifier
SA3-SA1 Device Address
SA0 Read or Write Operation Select
R/W0101
Address
Device
AS0AS1AS2
Write
FIGURE 4. SLAVE ADDRESS (SA) FORMAT
X9252
11
FN8167.3
July 24, 2014
Submit Document Feedback
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 5ms. 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
(see Figure 5).
2-Wire Serial Interface Operation
X9252 Digital Potentiometer Register Organization
Refer to the Functional Diagram” on page 2. 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.
The registers are organized in five pages of four, with one
page consisting of the WCRi (i = 0 to 3), a second page
containing the DRi0 (i = 0 to 3), a third page containing the
DRi1, and so forth. These pages can be written to four bytes
at time. In this manner all four potentiometer WCRs can be
updated in a single serial write (see
Page Write Operation
on page 14), 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 automatically
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. Simultaneously, 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 (see Table 3
). Do this by Writing the Slave Address
followed by a Byte Address of 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 DRSel1 and DRSel0 determine which Data Register of a
DCP is selected for a given operation. NVEnable 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”.
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
FIGURE 5. ACKNOWLEDGE POLLING SEQUENCE
76543 2 1 0
Reserved DRSel1 DRSel0 NVEnable
X9252
12
FN8167.3
July 24, 2014
Submit Document Feedback
To read or write the contents of a single Data Register or Wiper Register:
13. Load the status register (using a write command) to select the row (see Figure 6
)
Writing a 1, 3, 5, or 7 to the Status Register specifies that the subsequent read or write command will access a Data Register. This status register
operation also initiates a transfer of the contents of the selected data register to its associated WCR for all DCPs. So, for example, writing ‘03h’
to the status register causes the value in DR01 to move to WCR0, DR11 to move to WCR1, DR21 to move to WCR2, and DR31 to move to
WCR3.
Writing a 0 to bit ‘0’ of the status register specifies that the subsequent read or write command will access a wiper counter register. Each WCR
can be written to individually, without affecting the contents of any other.
14. Access the desired DR or WCR using a new write or read command (see Figure 7
for write and Figure 9 for read.)
Specify the desired column (DCP number) by sending the DCP address as part of this read or write command.
TABLE 2. REGISTER NUMBERING
STATUS REG (Note 13
) (Addr: 07H) REGISTERED SELECTED (Note 14)
RESERVED
BITS 7-3
DRSel1
BIT-2
DRSel0
BIT-1
NVEnable
BIT-0
DCP0 DCP1 DCP2 DCP3
(ADDR: 00h) (ADDR: 01h) (ADDR: 02h) (ADDR: 03h)
Reserved X X 0 WCR0 WCR1 WCR2 WCR3
0 0 1 DR00 DR10 DR20 DR30
0 1 1 DR01 DR11 DR21 DR31
1 0 1 DR02 DR12 DR22 DR32
1 1 1 DR03 DR13 DR23 DR33
S
T
A
R
T
S
T
O
P
SLAVE
ADDRESS
STATUS REGISTER
ADDRESS
A
C
K
A
C
K
SIGNAL AT SDA
SIGNALS FROM
THE SLAVE
SIGNALS FROM
THE MASTER
0
A
C
K
If Bit-0 of data byte = 1,
DR contents move to WCR
during this ACK period
0101
0 0 0 0 0 1 1 1 0 0 0 0 0 x x 1
DR SELECT
DATA
FIGURE 6. STATUS REGISTER WRITE (USES STANDARD BYTE WRITE SEQUENCE TO SET UP ACCESS TO A DATA REGISTER)
X9252

X9252YV24IZ-2.7

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Digital Potentiometer ICs 256-TAP2 8KOHM 2 7-5 5V DCP-24 INDUSTRIAL
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union