© 2014 Exar Corporation
XR22801
22 / 40 exar.com/XR22801
Rev 1A
RS485_DELAY (0x04B) - Read/Write
GPIO_MODE (0x04C) - Read/Write
GPIO_DIRECTION (0x04D) - Read/Write
Note that when setting direction of a UART GPIO to output, the PIN_PULLUP_EN for that IO pin should also be disabled
and when setting a UART GPIO pin to input, the PIN_PULLUP_EN for that IO pin should also be enabled.
GPIO_SET (0x04E) - Write Only
Bit Default Description
15:4 0x000
Reserved
These bits are reserved and should be written as ‘0’.
3:0 000
Value
This value is the number of bit times the XR22801 waits before de-asserting the E5/RTS#/RS485/G5 pin when
it is configured for automatic RS-485 half-duplex control.
Bit Default Description
15:4 0x000
Reserved
These bits are reserved and should be written as ‘0’.
30
RS485 Polarity
0: Active low auto. RS-485 half-duplex enable
1: Active high auto. RS-485 half-duplex enable
2:0 0x0
GPIO Mode
000: Mode 0 - All GPIO are used for general purpose I/O.
001: Mode 1 - E5/RTS#/RS485/G5 and E4/CTS#/G4 used for Auto RTS/CTS HW Flow Control
010: Mode 2 - E3/DTR#/G3 and E2/DSR#/G2 used for Auto DTR/DSR HW Flow Control
011: Mode 3 - E5/RTS#/RS485/G5 pin used for auto RS-485 half-duplex enable during Transmit
100: Mode 4 - E5/RTS#/RS485/G5 pin used for auto RS-485 half-duplex enable after address match.
101 to 111: Reserved values, do not use.
Bit Default Description
15:6 0x000
Reserved
These bits are reserved and should be written as ‘0’.
5:0 0x00
GPIO[N] Direction
0: GPIO[N] is an input
1: GPIO[N] is an output
Bit Default Description
15:6 0x000
Reserved
These bits are reserved and should be written as ‘0’.
© 2014 Exar Corporation
XR22801
23 / 40 exar.com/XR22801
Rev 1A
GPIO_CLEAR (0x04F) - Write Only
GPIO_STATUS (0x050) - Read Only
GPIO_INT_MASK (0x051) - Read/Write
5:0 0x00
GPIO[N] Set
0: No effect
1: Set GPIO[N] if configured as an output to a logic ‘1’
Bit Default Description
15:6 0x000
Reserved
These bits are reserved and should be written as ‘0’.
5:0 0x00
GPIO[N] Clear
0: No effect
1: Clear GPIO[N] if configured as an output to a logic ‘0’
Bit Default Description
15:6 0x000
Reserved
These bits are reserved and should be written as ‘0’.
5:0 0x00
GPIO[N] Status
Reading returns the current state of GPIO[N].
Bit Default Description
15:6 0x000
Reserved
These bits are reserved and should be written as ‘0’.
5:0 0x00
GPIO[N] Mask
Dictates whether a change in GPIO pin state causes the device to generate a USB interrupt packet. In either
case, the GPIO status register will still report the pin's state when read, and if an interrupt packet is formed due
to other interrupt trigger, the interrupt packet will contain the current state of the pin.
0: A change in the pin's state causes the device to generate an interrupt packet.
1: A change in the pin's state does not cause the device to generate an interrupt packet.
Bit Default Description
© 2014 Exar Corporation
XR22801
24 / 40 exar.com/XR22801
Rev 1A
CUSTOMIZED_INT (0x052) - Read/Write
Bit Default Description
15:1 0x0000
Reserved
These bits are reserved and should be written as ‘0’.
00
Enable
Enables the customized interrupt packet format to report all GPIO status in the interrupt packet.
0: Use standard interrupt packet. See Table 6 and Table 7.
1: Use customized interrupt packet. See Table 8.
Table 6: Interrupt Packet Format
Offset Field
Size
(Bytes)
Value Description
0 bmRequestType 1 8’b10100001 D7 = Device-to-host direction
D6:5 = Class Type
D4-0: = Interface Recipient
1 bNotification 1 8’h20 Defined encoding for SERIAL_STATE
2 wValue 2 16’h0000
4 wIndex 2 16’h0000 D15-8 = Reserved (0)
D7-0 = Interface number, 8’h00 for
the CDC Command Interface
6 wLength 2 16’h0002 2 bytes of transferred data
8 Data 2 Standard int_status
(See
Tabl e 7 ) For
customized int_status
Size = 4 bytes (See
Ta ble 8 )
D15-7 = Reserved (0)
D6 = bOverRun
D5 = bParity
D4 = bFraming
D3 = bRingSignal (RI)
D2 = bBreak
D1 = bTxCarrier (DSR)
D0 = bRxCarrier (CD)
Table 7: Data Field of Standard Interrupt Packet
Bits Field Description
D15..D7 Reserved (future use)
D6 bOverRun Received data has been discarded due to overrun in the device.
D5 bParity A parity error has occured.
D4 bFraming A framing error has occured.
D3 bRingSignal State of ring signal detection of the device.
D2 bBreak State of break detection mechanism of the device.
D1 bTxCarrier State of transmission carrier. This signal corresponds to V.24 signal
106 and RS-232 signal DSR.
D0 bRxCarrier State of receiver carrier detection mechanism of device. This signal
corresponds to V.24 signal 109 and RS-232 signal DCD.

XR22801IL32-F

Mfr. #:
Manufacturer:
MaxLinear
Description:
I/O Controller Interface IC Hi-Speed USB 10/100 Eth Brdg w 1CH UART
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet