XRA1200/1200P
4
8-BIT I2C/SMBUS GPIO EXPANDER REV. 1.0.0
1.0 FUNCTIONAL DESCRIPTIONS
1.1 I
2
C-bus Interface
The I
2
C-bus interface is compliant with the Standard-mode and Fast-mode I
2
C-bus specifications. The I
2
C-bus
interface consists of two lines: serial data (SDA) and serial clock (SCL). In the Standard-mode, the serial clock
and serial data can go up to 100 kbps and in the Fast-mode, the serial clock and serial data can go up to 400
kbps.
The first byte sent by an I
2
C-bus master contains a start bit (SDA transition from HIGH to LOW when SCL is
HIGH), 7-bit slave address and whether it is a read or write transaction. The next byte is the sub-address that
contains the address of the register to access. The XRA120x responds to each write with an acknowledge
(SDA driven LOW by XRA1200/1200P for one clock cycle when SCL is HIGH). The last byte sent by an I
2
C-
bus master contains a stop bit (SDA transition from LOW to HIGH when SCL is HIGH). See
Figures 3 - 5
below. For complete details, see the I
2
C-bus specifications.
FIGURE 3. I C START AND STOP CONDITIONS
SDA
SCL
S
P
START condition
STOP condition
FIGURE 4. MASTER WRITES TO SLAVE
SWA A AP
SLAVE
ADDRESS
COMMAND
BYTE
DATA
BYTE
White block: host to XRA120x
Grey block: XRA120x to host
FIGURE 5. MASTER READS FROM SLAVE
SWA AR
SLAVE
ADDRESS
COMMAND
BYTE
White block: host to XRA120x
Grey block: XRA120x to host
AS
SLAVE
ADDRESS
nDATA ANAPLAST DATA
2
XRA1200/1200P
5
REV. 1.0.0 8-BIT I2C/SMBUS GPIO EXPANDER
1.1.1 I
2
C-bus Addressing
There could be many devices on the I
2
C-bus. To distinguish itself from the other devices on the I
2
C-bus, the
XRA1200/1200P has up to 32 I
2
C slave addresses using the A2-A0 address lines. Table 1 below shows the
different addresses that can be selected.
TABLE 1: I C ADDRESS MAP
C ADDRESS
GND SCL GND 0x20 (0010 000X)
GND SCL VCC 0x22 (0010 001X)
GND SDA GND 0x24 (0010 010X)
GND SDA VCC 0x26 (0010 011X)
VCC SCL GND 0x28 (0010 100X)
VCC SCL VCC 0x2A (0010 101X)
VCC SDA GND 0x2C (0010 110X)
VCC SDA VCC 0x2E (0010 111X)
GND SCL SCL 0x30 (0011 000X)
GND SCL SDA 0x32 (0011 001X)
GND SDA SCL 0x34 (0011 010X)
GND SDA SDA 0x36 (0011 011X)
VCC SCL SCL 0x38 (0011 100X)
VCC SCL SDA 0x3A (0011 101X)
VCC SDA SCL 0x3C (0011 110X)
VCC SDA SDA 0x3E (0011 111X)
GND GND GND 0x40 (0100 000X)
GND GND VCC 0x42 (0100 001X)
GND VCC GND 0x44 (0100 010X)
GND VCC VCC 0x46 (0100 011X)
VCC GND GND 0x48 (0100 100X)
VCC GND VCC 0x4A (0100 101X)
VCC VCC GND 0x4C (0100 110X)
VCC VCC VCC 0x4E (0100 111X)
GND GND SCL 0x50 (0101 000X)
GND GND SDA 0x52 (0101 001X)
GND VCC SCL 0x54 (0101 010X)
GND VCC SDA 0x56 (0101 011X)
VCC GND SCL 0x58 (0101 100X)
VCC GND SDA 0x5A (0101 101X)
VCC VCC SCL 0x5C (0101 110X)
VCC VCC SDA 0x5E (0101 111X)
2
A2 A1 A0
I
2
XRA1200/1200P
6
8-BIT I2C/SMBUS GPIO EXPANDER REV. 1.0.0
1.1.2 I
2
C Read and Write
A read or write transaction is determined by bit-0 of the slave address. If bit-0 is ’0’, then it is a write
transaction. If bit-0 is ’1’, then it is a read transaction.
1.1.3 I
2
C Command Byte
An I
2
C command byte is sent by the I
2
C master following the slave address. The command byte indicates the
address offset of the register that will be accessed.
Table 2 below lists the command bytes for each register.
TABLE 2: I C COMMAND BYTE (REGISTER ADDRESS)
COMMAND BYTE REGISTER NAME DESCRIPTION READ/WRITE DEFAULT VALUES
0x00 GSR - GPIO State Read-Only 0xXX
0x01 OCR - Output Control Read/Write 0xFF
0x02 PIR - Input Polarity Inversion Read/Write 0x00
0x03 GCR - GPIO Configuration Read/Write 0xFF
0x04 PUR - Input Internal Pull-up Resistor Enable/Disable Read/Write 0x00 (XRA1200)
0xFF (XRA1200P)
0x05 IER - Input Interrupt Enable Read/Write 0x00
0x06 TSCR - Output Three-State Control Read/Write 0x00
0x07 ISR - Input Interrupt Status Read 0x00
0x08 REIR - Input Rising Edge Interrupt Enable Read/Write 0x00
0x09 FEIR - Input Falling Edge Interrupt Enable Read/Write 0x00
0x0A IFR - Input Filter Enable/Disable Read/Write 0xFF
2

XRA1200PIL16-F

Mfr. #:
Manufacturer:
MaxLinear
Description:
Interface - I/O Expanders 8 Bit I2C SMBus GPIO Expander
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union