© 2015 Exar Corporation
XR22804
19 / 47 exar.com/XR22804
Rev 1B
Note 1: SET_ETH_PACKET_FILTERS Bitmap definition:
D15..D5: reserved
D4: MULTICAST If 1, packets with multicast addresses set by SetEthernetMulticastFilter are forwarded to the host. 0 = Disabled.
D3: BROADCAST If 1, broadcast packets are forwarded to the host. 0 = Disabled.
D2: DIRECTED If 1, unicast packets with a matching address are forwarded to the host. 0 = Disabled.
D1: ALL_MULTICAST If 1, all multicast packets are forwarded to the host. 0 = Disabled.
D0: PROMISCUOUS If 1, all packets are forwarded to the host, regardless of address. 0 = Disbled.
Note 2: SET_ETH_PACKET_FILTERS Selector definition:
0x01 = XMIT_OK
0x02 = RCV_OK
0x03 = XMIT_ERROR
0x04 = RCV_ERROR
0x05 = RCV_NO_BUFFER
0x0d = DIRECTED_FRAME_RCV
0x0f = MULTICAST_FRAME_RCV
0x11 = BROADCAST_FRAME_RCV
0x12 = RCV_CRC_ERROR
0x13 = XMIT_QUEUE_LENGTH
0x14 = RCV_ERR_ALIGNMENT
0x19 = RCV_OVERRUN
CDC_ECM_IF_
SET_ETH_MCAST_FIL-
TERS
0x21 0x40 Num-
ber
(N) of
filters
LSB
Num-
ber
(N) of
filters
MSB
0x0 0x0 N*6
LSB
N*6
MSB
CDC_ECM_IF_
SET_ETH_PACKET_-
FILTERS
0x21 0x43 *Bit-
map
LSB
*Bit-
map
MSB
0x0 0x0 0x0 0x0 See Bitmap definition in
note 1 below
CDC_ECM_IF_
GET_ETH_STATISTIC
0xA1 0x44 Selec
tor
0x0 0x0 0x0 0x4 0x0 See Selector definition in
note 2 below
USB Vendor Specific Requests
XR_GET_CHIP_ID 0xC0 0xFF 0x0 0x0 0x0 0x0 0x6 0x0
Get Exar VID (2 bytes),
PID (2 bytes) and bcdDe-
vice (2 bytes)
XR_SET_REG
See Ta bl e 5
0x40 0x05
write-
data
LSB
write-
data
MSB
write
addr
LSB
write
addr
MSB
0x0 0x0
Vendor specific register
access.
XR_GET_REG
See Ta bl e 5
0xC0 0x05 0x0 0x0
read
addr
LSB
read
addr
MSB
0x2 0x0
Vendor specific register
access.
Table 4: Supported USB Control Commands
Name
Request
Type
Request
Value Index Length
Description
LSB MSB LSB MSB LSB MSB
© 2015 Exar Corporation
XR22804
20 / 47 exar.com/XR22804
Rev 1B
UART Registers
UART registers are accessible via the USB interface using the XR_SET_REG and XR_GET_REG USB commands. Note
that all addresses not listed in this table are reserved or undefined. Upper byte (bits 15:8) not shown in table are also
reserved and should remain 0x00. Writing to any register other than those defined in Table5 may result in undefined behav-
ior of the device. The addresses for each of UARTs in the XR22804 are the same. Because each UART is assigned a
unique USB address during enumeration by the USB host, a GUI connected to a specific COM port will be directed via the
driver to the appropriate UART channel.
UART Register Map
Table 5: XR22804 Register Map
Address Register Name
Bit 7
(15)
Bit 6
(14)
Bit 5
(13)
Bit 4
(12)
Bit 3
(11)
Bit 2
(10)
Bit 1
(9)
Bit 0
(8)
0x040 UART_ENABLE 0 0 0 0 0 0 RX TX
0x045 FORMAT STOP PARITY DATA_BITS
0x046 FLOW_CONTROL 0 0 0 0
AUTO_
RS485
MODE
0x047 XON_CHAR CHAR
0x048 XOFF_CHAR CHAR
0x049 ERROR_STATUS
BREAK
_AC-
TIVE
OVER-
RUN
PARITY FRAME BREAK 0 0 0
0x04A
TX_BREAK (MSB) VALUE [MSB]
TX_BREAK (LSB) VALUE [LSB]
0x04B RS485_DELAY 0 0 0 0 VALUE
0x04C GPIO_MODE 0 0 0 0
RS485_
POL
MODE
0x04D GPIO_DIRECTION 0 0 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
0x04E GPIO_SET 0 0 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
0x04F GPIO_CLEAR 0 0 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
0x050 GPIO_STATUS 0 0 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
0x051 GPIO_INT_MASK 0 0 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
0x052 CUSTOMIZED_INT 0 0 0 0 0 0 0 EN
0x054 PIN_PULLUP_EN TX RX GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
0x055 PIN_PULLDOWN_EN TX RX GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
0x056 LOOPBACK 0 0 0 0 0
DTR_
DSR
RTS_
CTS
TX_RX
0x057 IR_MODE 0 0 0 0 0
TX_
PULSE
RX_
INVER
T
EN
0x05F REMOTE_WAKEUP 0 0 0 0 RX_EN RI_EN 0 0
© 2015 Exar Corporation
XR22804
21 / 47 exar.com/XR22804
Rev 1B
UART Register Descriptions
Note that all register reset default values are ’0’ unless otherwise specified. All registers are 16 bits.
UART_ENABLE (0x040) - Read/Write
FORMAT (0x045) - Read/Write
Note that the CDC_SET_LINE_CODING command may be used to set the UART data format in addition to this registers.
0x060 TX_FIFO_RESET 0 0 0 0 0 0 0 RST
0x061
TX_FIFO_FILL (MSB) 0 0 0 0 FILL[10:8]
TX_FIFO_FILL (LSB) FILL[7:0]
0x062 TX_WIDE_MODE 0 0 0 0 0 0 0 EN
0x063 RX_FIFO_RESET 0 0 0 0 0 0 0 RST
0x064
RX_FIFO_FILL (MSB) 0 0 0 0 0 FILL[10:8]
RX_FIFO_FILL (LSB) FILL[7:0]
0x065 RX_WIDE_MODE 0 0 0 0 0 0 0 EN
0x066 RX_CONTROL 0 0 0 0 0 0
MAX_
PKT_-
SIZE
LOW_
LATEN
CY
0x067
FLOW_THRESHOLD (MSB) 0 0 0 0 0 THRESH [10:8]
FLOW_THRESHOLD (LSB) THRESH [7:0]
Miscellaneous Registers
0x081 CUSTOM_DRIVER 0 0 0 0 0 0 0 ACTIVE
Bit Default Description
15:2 0x0000
Reserved
These bits are reserved and should be written as ‘0’.
10
RX
0: Disable UART RX
1: Enable UART RX
00
TX
0: Disable UART TX
1: Enable UART TX
Bit Default Description
15:8 0x00
Reserved
These bits are reserved and should be written as ‘0’.
Table 5: XR22804 Register Map
Address Register Name
Bit 7
(15)
Bit 6
(14)
Bit 5
(13)
Bit 4
(12)
Bit 3
(11)
Bit 2
(10)
Bit 1
(9)
Bit 0
(8)

XR22804IL56-F

Mfr. #:
Manufacturer:
MaxLinear
Description:
I/O Controller Interface IC Hi-Speed USB 10/100 Eth Brdg w 4CH 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