© 2015 Exar Corporation
XR22804
31 / 47 exar.com/XR22804
Rev 1B
RX_CONTROL (0x066) - Read/Write
FLOW_THRESHOLD (0x067) - Read/Write
CUSTOM_DRIVER (0x081) - Read/Write
Bit Default Description
15:2 0
Reserved
These bits are reserved and should be written as ‘0’.
10
Max_Pkt_Size
0: Maximum bulk-in packet size is 512 / 64 bytes in hi-speed / full-speed mode respectively (normal operation)
1: Maximum bulk-in packet size is 508 / 60 bytes in hi-speed / full-speed mode respectively (workaround for
known Windows OS CDC-ACM driver issue)
00
Low_Latency
0: Disable low latency mode
1: Enable low latency mode
Bit Default Description
15:11 0x0
Reserved
These bits are reserved and should be written as ‘0’.
10:0 0x2E0
Thresh
If enabled, flow control (either hardware or software), will be asserted when the RX FIFO fill level exceeds the
threshold value.
Bit Default Description
15:1 0x0000
Reserved
These bits are reserved and should be written as ‘0’.
00
Active
A custom driver should immediately enable this bit prior to using any CDC-ACM commands from the USB host,
to ensure that the XR22804 does not enter CDC mode and default to the values listed in Ta bl e 3.
© 2015 Exar Corporation
XR22804
32 / 47 exar.com/XR22804
Rev 1B
HID Reports
The I
2
C and EDGE functions in the XR22804 are HID functions. I
2
C data may be read or written to / from the slave device
using the interrupt in and interrupt out endpoints via HID input and output reports. Additionally, XR22804 device register
access using the control endpoint for both I
2
C and EDGE functions is performed via HID feature reports. Reading uses indi-
rect addressing such that for register reads, the register address must first be written and the register value may then be
read. Both types of reports are described below.
Input and Output Reports
Input and output reports using the interrupt in and interrupt out endpoints follow the following format. For more information
on reading and writing on the I
2
C interface refer to AN220, Programming applications using the XR2280x I
2
C Interface.
I2C_SLAVE_OUT
Transfer Type: Interrupt Out
Transfer Size: 37 bytes
The I2C_SLAVE_OUT report writes and / or reads up to 32 bytes of data on the I
2
C interface. Note that all interrupt out
transfers will be automatically followed by an interrupt in transfer. For write only transfers, the interrupt in packet will contain
the status of the interrupt out transfer. For read only or write and read transfers, the interrupt in packet will contain the read
data, as well as the status of the interrupt out transfer. The format of the interrupt out packet is given below.
* Note: To support 10-bit addressing the standard 7-bit address must be set to 1111 0 xx B w he re x x a re th e m o st s i gn i fic a nt bi ts of th e 10-
bit address. All 4 of these 7-bit addresses are reserved and will not be used by any slaves with 7-bit only addresses. The least significant
bit of the address byte still specifies the direction. For writes, the first data byte which was previously unformatted is now reserved for the
least significant 8 bits of the 10-bit address. Additional data bytes remain unformatted. For reads, the write-then-read combined transfer
format is always used. During the write portion of the combined transfer the master must send at least one data byte which contains the
least significant 8 bits of the 10-bit address. After all of the write data is sent the master then sends a restart bit. This is followed with an
address byte which has the same 7-bit address 1111 0xx B a s i n t h e w ri te p or ti o n. H oweve r, t he d ir e c t i on bi t i s n ow 1 fo r re a d i ng. Th e s lave
then sends the read data as usual. The least significant 8 bits of the 10-bit address are not sent again after the restart bit.
Field Offset Size Value Description
Report ID 0 1 0x00
Write, read, or write and read I
2
C data
Flags 1 1 Bitmap Transfer options
D0: Prefix transfer with a start bit.
D1: Append a stop bit to the transfer.
D2: ACK last read to extend a read transfer (e.g. if more than 32 bytes
need to be read).
The default is to NAK the last read in the transfer. This bit has no effect
if RdSize is 0.
D3: Reserved
D7..D4: Sequence number. This can help the host to correlate an IN
response with a prior OUT command. This field is optional.
WrSize 2 1 Number Number of data bytes to write. Valid values are 0 to 32. The 7-bit slave
address should not be included in this total.
RdSize 3 1 Number Number of bytes to read. Valid values are 0 to 32.
SlaveAddr 4 1 Number
The 7-bit slave address
* to send. The XR22804 will automatically set
the I2 C read/write bit, so bit D0 of this field is ignored.
Data 5 32 Data Data to be written to the slave. HID uses a fixed report size for each
specific report ID so this field will always be 32 bytes long. However,
only the number of bytes specified in WrSize will be written. Other bytes
will be ignored.
© 2015 Exar Corporation
XR22804
33 / 47 exar.com/XR22804
Rev 1B
I2C_SLAVE_IN
Transfer Type: Interrupt In
Transfer Size: 37 bytes
Interrupt in packet status only, or status and read data from the I2C interface.
Feature Reports
Access to XR22804 registers via HID feature reports along with the register descriptions are given in the following sections.
WRITE_HID_REGISTER
Transfer Type: Control
Transfer Size: 5 bytes
The WRITE_HID_REGISTER report writes 2 bytes of data to the specified register address.
Field Offset Size Value Description
Report ID 0 1 0x00
I
2
C response packet
Flags 1 1 Bitmap Status of the requested transfer.
D0: Request Error. If 1, the OUT request had an error (e.g. invalid size)
and was not executed.
D1: A byte sent to a slave received an I2C NAK response. The transfer
was aborted.
D2: Arbitration was lost. The transfer was aborted.
D3: Timeout. Bus free condition was not observed within 256 ms or an
individual byte transfer extended longer than 10ms.
D7..D4: Sequence number. This number matches the value provided in
the corresponding OUT command packet.
WrSize 2 1 Number Number of bytes written, 0 to 32.
RdSize 3 1 Number Number of bytes read, 0 to 32.
Reserved 4 1 0x00 This field is reserved and should always return a value of 0x00.
Data 5 32 Data The read data that was received from the slave. HID uses a fixed report
size for each specific report ID, so this field will always be 32 bytes long.
However, only the number of bytes specified in RdSize are valid. Other
bytes should be ignored.
Field Offset Size Value Description
Report ID 0 1 0x3C Write HID register
Write Address LSB 1 1 Write address
Write Address MSB 2 1
Write Data LSB 3 1 Write data
Write Data MSB 4 1

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