10
FN8208.2
September 7, 2010
Next, an Instruction Byte is issued on SDA. Bits P1
and P0 of the Instruction Byte determine which
WCR is to be written, while the WT bit determines
if the Write is to be volatile or nonvolatile. If the
Instruction Byte format is valid, another
ACKNOWLEDGE is then returned by the X9522.
Following the Instruction Byte, a Data Byte is
issued to the X9522 over SDA. The Data Byte con-
tents is latched into the WCR of the DCP on the
first rising edge of the clock signal, after the LSB
of the Data Byte (D0) has been issued on SDA (See
Figure 25).
The Data Byte determines the “wiper position”
(which FET switch of the DCP resistive array is
switched ON) of the DCP. The maximum value for
the Data Byte depends upon which DCP is being
addressed (see Table below).
Using a Data Byte larger than the values specified
above results in the “wiper terminal” being set to
the highest tap position. The “wiper position”
does NOT roll-over to the lowest tap position.
For DCP0 (64 Tap) and DCP2 (256 Tap), the Data
Byte maps one to one to the “wiper position” of
the DCP “wiper terminal”. Therefore, the Data Byte
00001111 (15
10
) corresponds to setting the “wiper
terminal” to tap position 15. Similarly, the Data
Byte 00011100 (28
10
) corresponds to setting the
“wiper terminal” to tap position 28. The mapping
of the Data Byte to “wiper position” data for DCP1
(100 Tap), is shown in “APPENDIX 1”. An example
of a simple C language function which “trans-
lates” between the tap position (decimal) and the
Data Byte (binary) for DCP1, is given in “APPEN-
DIX 2” .
It should be noted that all writes to any DCP of the
X9522 are random in nature. Therefore, the Data
Byte of consecutive write operations to any DCP
can differ by an arbitrary number of bits. Also, set-
ting the bits P1=1, P0=1 is a reserved sequence,
and will result in no ACKNOWLEDGE after send-
ing an Instruction Byte on SDA.
The factory default setting of all “wiper position”
settings is with 00h stored in the NVM of the DCPs.
This corresponds to having the “wiper teminal”
R
WX
(x = 0,1,2) at the “lowest” tap position, There-
fore, the resistance between
R
WX
and R
LX
is a min-
imum (essentially only the Wiper Resistance,
R
W
).
DCP Read Operation
A read of DCPx (x = 0,1,2) can be performed using
the three byte random read command sequence
shown in Figure 10.
The master issues the START condition and the
Slave Address Byte 10101110 which specifies that
a “dummy” write” is to be conducted. This
“dummy” write operation sets which DCP is to be
read (in the preceding Read operation). An
ACKNOWLEDGE is returned by the X9522 after the
Slave Address if received correctly. Next, an
Instruction Byte is issued on SDA. Bits P1-P0 of
the Instruction Byte determine which DCP “wiper
position” is to be read. In this case, the state of the
WT bit is “don’t care”. If the Instruction Byte for-
mat is valid, then another ACKNOWLEDGE is
returned by the X9522.
P1- P0 DCPx # Taps Max. Data Byte
00 x = 0 64 3Fh
0 1 x = 1 100 Refer to Appendix 1
1 0 x = 2 256 FFh
1 1 Reserved
X9522
11
FN8208.2
September 7, 2010
Following this ACKNOWLEDGE, the master imme-
diately issues another START condition and a
valid Slave address byte with the R/W
bit set to 1.
Then the X9522 issues an ACKNOWLEDGE fol-
lowed by Data Byte, and finally, the master issues
a STOP condition. The Data Byte read in this oper-
ation, corresponds to the “wiper position” (value
of the WCR) of the DCP pointed to by bits P1 and
P0.
It should be noted that when reading out the data
byte for DCP0 (64 Tap), the upper two most signifi-
cant bits are “unknown” bits. For DCP1 (100 Tap),
the upper most significant bit is an “unknown”. For
DCP2 (256 Tap) however, all bits of the data byte
are relevant (See Figure 10).
CONTROL AND STATUS REGISTER
The Control and Status (CONSTAT) Register pro-
vides the user with a mechanism for changing
and reading the status of various parameters of
the X9522 (See Figure 11).
The CONSTAT register is a combination of both
volatile and nonvolatile bits. The nonvolatile bits
of the CONSTAT register retain their stored values
even when Vcc / V1 is powered down, then pow-
ered back up. The volatile bits however, will
always power-up to a known logic state “0” (irre-
spective of their value at power-down).
A detailed description of the function of each of
the CONSTAT register bits follows:
WEL: Write Enable Latch (Volatile)
The WEL bit controls the Write Enable status of
the entire X9522 device. This bit must first be
enabled before ANY write operation (to DCPs, or
the CONSTAT register). If the WEL bit is not first
enabled, then ANY proceeding (volatile or nonvol-
atile) write operation to DCPs, or the CONSTAT
register, is aborted and no ACKNOWLEDGE is
issued after a Data Byte.
Slave
Address
Instruction
Byte
A
C
K
A
C
K
S
t
a
r
t
S
t
o
p
Slave
Address
Data Byte
A
C
K
S
t
a
r
t
SDA Bus
Signals from
the Slave
Signals from
the Master
Figure 10. DCP Read Sequence
“Dummy” write
READ Operation
101 11100
00 000
W
T
P
1
P
0
101 11110
WRITE Operation
-
--
MSB
LSB
DCPx
x = 0
x = 1
x = 2
“-” = DON’T CARE
0
WEL
0
CS5
CS6CS7 CS4
CS3
CS2 CS1 CS0
V3OS
V2OS
DWLK
0
RWEL
Figure 11. CONSTAT Register Format
NV
NOTE: Bits belled NV are nonvolatile (See “CONTROL AND STATUS REGISTER”).
Bit(s) Description
CS7 Always set to “0” (RESERVED)
V2OS V2 Output Status flag
V3OS V3 Output Status flag
CS4 Always set to “0” (RESERVED)
DWLK Sets the DCP Write Lock
RWEL Register Write Enable Latch bit
WEL Write Enable Latch bit
CS0 Always set to “0” (RESERVED)
X9522
12
FN8208.2
September 7, 2010
The WEL bit is a volatile latch that powers up in
the disabled, LOW (0) state. The WEL bit is
enabled / set by writing 00000010 to the CONSTAT
register. Once enabled, the WEL bit remains set to
“1” until either it is reset to “0” (by writing
00000000 to the CONSTAT register) or until the
X9522 powers down, and then up again.
Writes to the WEL bit do not cause an internal high
voltage write cycle. Therefore, the device is ready
for another operation immediately after a STOP
condition is executed in the CONSTAT Write com-
mand sequence (See Figure 12).
RWEL: Register Write Enable Latch (Volatile)
The RWEL bit controls the (CONSTAT) Register
Write Enable status of the X9522. Therefore, in
order to write to any of the bits of the CONSTAT
Register (except WEL), the RWEL bit must first be
set to “1”. The RWEL bit is a volatile bit that pow-
ers up in the disabled, LOW (“0”) state.
It must be noted that the RWEL bit can only be set,
once the WEL bit has first been enabled (See
"CONSTAT Register Write Operation").
The RWEL bit will reset itself to the default “0”
state, in one of two cases:
—After a successful write operation to any bits of
the CONSTAT register has been completed (See
Figure 12).
—When the X9522 is powered down.
DWLK: DCP Write Lock bit - (Nonvolatile)
The DCP Write Lock bit (DWLK) is used to inhibit a
DCP write operation (changing the “wiper posi-
tion”).
When the DCP Write Lock bit of the CONSTAT reg-
ister is set to “1”, then the “wiper position” of the
DCPs cannot be changed - i.e. DCP write opera-
tions cannot be conducted:
The factory default setting for this bit is DWLK = 0.
IMPORTANT NOTE: If the Write Protect (WP) pin of
the X9522 is active (HIGH), then nonvolatile write
operations to the DCPs are inhibited, irrespective
of the DCP Write Lock bit setting (See "WP: Write
Protection Pin").
V2OS, V3OS: Voltage Monitor Status Bits (Volatile)
Bits V2OS and V3OS of the CONSTAT register are
latched, volatile flag bits which indicate the status
of the Voltage Monitor reset output pins V2RO and
V3RO.
At power-up the VxOS (x=2,3) bits default to the
value “0”. These bits can be set to a “1” by writing
the appropriate value to the CONSTAT register. To
provide consistency between the VxRO and VxOS
however, the status of the VxOS bits can only be
set to a “1” when the corresponding VxRO output
is HIGH.
Once the VxOS bits have been set to “1”, they will
be reset to “0” if:
—The device is powered down, then back up,
—The corresponding VxRO output becomes LOW.
DWLK DCP Write Operation Permissible
0 YES (Default)
1NO
S
T
A
R
T
1 010010R/WA
C
K
11111
1
11 A
C
K
SCL
SDA
S
T
O
P
A
C
K
CS7 CS6
CS5 CS4 CS3
CS2 CS1
CS0
SLAVE ADDRESS BYTE
ADDRESS BYTE
CONSTAT REGISTER DATA IN
Figure 12. CONSTAT Register Write Command Sequence
X9522

X9522V20I-B

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
IC TRIPL DCP LASER CNTRL 20TSSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet