X9119
Instruction and Register Description
Device Addressing: Identification Byte (ID and A)
Following a start condition, the master must output the
address of the slave it is accessing. The most significant four
bits of the slave address are the device type identifier. The
ID[3:0] bits is the device id for the X9119; this is fixed as
0101[B] (refer to Table 1).
The A2–A0 bits in the ID byte is the internal slave address.
The physical device address is defined by the state of the
A2–A0 input pins. The slave address is externally specified
by the user. The X9119 compares the serial data stream with
the address input state; a successful compare of both
address bits is required for the X9119 to successfully
continue the command sequence. Only the device which
TABLE 1. IDENTIFICATION BYTE FORMAT
DEVICE TYPE
IDENTIFIES
INTERNAL SLAVE
ADDRESS
READ OR
WRITE BIT
slave address matches the incoming device address sent by
the master executes the instruction. The A2–A0 inputs can
be actively driven by CMOS input signals or tied to V
CC
or
V
SS
. The R/W bit is the LSB and is be used to program the
device for read or write operations.
INSTRUCTION BYTE AND REGISTER SELECTION
The next byte sent to the X9119 contains the instruction and
register pointer information. The three most significant bits
are used provide the instruction opcode (IOP[2:0]). The RB
and RA bits point to one of the four registers. The format is
shown below in Table 2.
Table 3 provides a complete summary of the instruction set
opcodes.
ID3
0
(MSB)
ID2
1
ID1
0
ID0
1
A2
A1
A0
R/W
(LSB)
TABLE 2. INSTRUCTION BYTE FORMAT
INSTRUCTION
OPCODE
REGISTER
SELECTION
I2
(MSB)
I1
I0
0
RB
RA
0
0
(LSB)
REGISTER SELECTED
DR0
DR1
DR2
DR3
TABLE 3. INSTRUCTION SET
RB
0
0
1
1
RA
0
1
0
1
INSTRUCTION SET
INSTRUCTION
Read Wiper Counter
Register
Write Wiper Counter
Register
Read Data Register
Write Data Register
XFR Data Register to
Wiper Counter Register
XFR Wiper Counter Register
to Data Register
NOTE: 1/0 = data is one or zero.
R/W
1
0
1
0
1
I
2
1
1
1
1
1
I
1
0
0
0
1
1
I
0
0
1
1
0
0
0
0
0
0
0
0
RB
0
0
1/0
1/0
1/0
RA
0
0
1/0
1/0
1/0
0
0
0
0
0
0
0
0
0
0
0
0
OPERATION
Read the contents of the Wiper Counter
Register
Write new value to the Wiper Counter
Register
Read the contents of the Data Register pointed to
RB-RA.
Write new value to the Data Register
pointed to RB-RA.
Transfer the contents of the Data Register
pointed to by RB-RA.to the Wiper Counter
Register
Transfer the contents of the Wiper Counter
Register to the Data Register pointed to by
RB-RA.
0
1
1
1
0
1/0
1/0
0
0
6
FN8162.4
July 9, 2008