English
Language : 

XR22804 Datasheet, PDF (38/47 Pages) Exar Corporation – Hi-Speed USB to 10/100 Ethernet Bridge with 4 UARTs
XR22804
HID Register Descriptions
Note that all register reset default values are ’0’ unless otherwise specified. All registers are 16 bits.
I2C_SCL_LOW (0x341) - Read/Write
Bit
15:0
Default
Description
0x0144
Value
Specifies the number of periods that SCL will be asserted low by the XR22804 I2C master. Note that in clock
stretching, the I2C slave may extend the SCL low period to delay the next transaction. For 100 kbps transfer
rate this value must be at least 252 (0x00FC) and the sum of high and low periods must be at least 600
(0x0258). For 400kbps transfer rate this value must be at least 78 (0x004E) and the sum of the high and low
periods must be at least 150 (0x0096). Measured in 60 MHz core clock periods, i.e. approximately 16.7 ns.
I2C_SCL_HIGH (0x342) - Read/Write
Bit
15:0
Default
Description
0x0114
Value
Specifies the number of periods that SCL will be asserted high by the XR22804 I2C master. Note that another
multi-master may assert SCL low before the XR22804 high period is completed. For 100 kbps transfer rate this
value must be at least 240 (0x00F0) and the sum of the high and low periods must be at least 600 (0x0258).
For 400 kbps transfer rate this value must be at least 36 (0x0024) and the sum of the high and low periods must
be at least 150 (0x0096). Measured in 60 MHz core clock periods, i.e. approximately 16.7 ns
EDGE_FUNC_SEL_0 (0x3C0) - Read/Write
Bit
15:0
Default
Description
0x0000
E[15:0]
0: IO is assigned to the UART / GPIO function. IO pin controlled using UART registers.
1: IO is assigned to the EDGE function. IO pin controlled using EDGE registers.
EDGE_DIR_0 (0x3C1) - Read/Write
Note that when setting direction of an EDGE IO to output, the EDGE_PULL_UP for that IO pin should also be disabled and
when setting an EDGE IO pin to input, the EDGE_PULL_UP for that IO pin should also be enabled.
Bit
15:0
Default
Description
0x0000
E[15:0]
0: IO pin assigned to EDGE function is configured as an input
1: IO pin assigned to EDGE function is configured as an output.
© 2015 Exar Corporation
38 / 47
exar.com/XR22804
Rev 1B