Part Number Hot Search : 
MV6461A 22500 DOG31 AN1406 1H220 P150B3W4 ADL5306 0331K
Product Description
Full Text Search
 

To Download XR22800IL32TR-F Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 2016 exar corporation xr22800 hi-speed usb to 10/100 ethernet bridge exar.com/xr22800 rev 1c 1 / 29 general description the xr22800 is a hi-speed usb 2.0 compound device with an embed- ded hub and 3 downstream usb functions: 10/100 ethernet mac and phy, multi-master capable i 2 c controller, and an enhanced dedicated gpio entity (edge) controller. the upstream usb interface has an integrated usb 2.0 phy and device controller that is compliant with both hi-speed (480mbps) and full-speed (12mbps) usb 2.0. the vendor id, product id, power mode, remote wakeup support and maximum power consumption are amongst the val- ues that can be programmed using the on-chip one-time programmable (otp) memory. the 10/100 ethernet mac and phy is compliant with ieee 802.3 and supports auto-negotiation, auto-mdix, checksum offload, auto-polarity correction in 10base-t and remote wakeup capabilities. the multi-master capable i 2 c controller and edge controller (8 gpios) can be accessed via the usb hid interface. the edge pins or i 2 c inter- face can be used for controlling and mo nitoring other peripherals. up to 2 edge pins can be configured as a pwm generator. features ? usb 2.0 compliant interface ? 10/100 ethernet mac and phy ? i 2 c multi-master ? enhanced dedicated gpio entity (edge) ? single +5.0v power supply input ? regulated +3.3v output power ? single 25mhz crystal ? 15kv hbm esd protection on usb data pins ? 8kv hbm esd protection on all other pins ? usb cdc-ecm and hid compliant ? custom software drivers applications ? usb to ethernet dongles ? pos terminals ? test instrumentation ? networking ? factory automation and process controls ? industrial applications ordering information C back page block diagram upstream usb phy usb 2.0 hub 10/100 ethernet mac ethernet phy i 2 c multimaster otp memory edge controller usb ethernet i 2 c edge 25 mhz xo
? 2016 exar corporation xr22800 2 / 29 exar.com/xr22800 rev 1c extended features ? usb 2.0 compliant interface ? integrated usb 2.0 phy ? supports 480 mbps usb hi-speed and 12 mbps usb full-speed data rate ? supports usb suspend, resume and remote wakeup operations ? compatible with usb cdc-ecm ? 10/100 ethernet mac and phy ? compliant with ieee 802.3 ? integrated 10/100 ethernet mac and phy ? 10base-t and 100base-tx support ? full-duplex and half-duplex support ? full-duplex and half-duplex flow control ? preamble generation and removal ? automatic 32-bit crc generation and checking ? automatic payload padding and pad removal ? diagnostic loop-back modes ? tcp/udp/ip/icmp checksum offload support ? flexible address filtering modes ? wakeup packet support ? support for 2 status leds ? i 2 c multi-master ? up to 400 kbps transfers ? multi-master capable ? enhanced dedicated gpio entity (edge) ? parallel gpio access ? two pwm generators ? custom ethernet software drivers ? windows 2000, xp, vista, win 7 and win 8 ? windows ce 5.0, 6.0, 7.0
? 2016 exar corporation xr22800 3 / 29 exar.com/xr22800 rev 1c absolute maximum ratings stresses beyond the limits listed below may cause perma- nent damage to the device. exposure to any absolute max- imum rating condition for extended periods may affect device reliability and lifetime. v cc supply voltage........ .............. .............. ........... ........... ...+5.75v input voltage (all pins except scl, sda, usbd+, usbdC)..............-0.3 to +4.0v input voltage (usbd+ and usbdC).......................-0.3v to +5.75v input voltage (scl and sda)......... ............... ........... -0.3v to +6.0v junction temperature............................................................125c operating conditions operating temperature range...............................-40c to +85c v cc supply voltage...............................................+4.4v to +5.25v electrical characteristics unless otherwise noted: t a = -40c to +85c, v cc = 4.4v to 5.25v symbol parameter conditions min typ max units power consumption i cc operating current no load on gpio pins or 3v3_out 185 250 ma i susp suspend mode current no load on gpio pins or 3v3_out 3 4.5 ma vbus_sense, low_pwr# and edge pins v il input low voltage -0.3 0.8 v v ih input high voltage 2.0 3.6 v v ol output low voltage i ol = 4ma 0.3 v v oh output high voltage i ol = -4ma 2.2 v i il input low leakage current 10 a i ih input high leakage current 10 a c in input pin capacitance 5pf usb i/o pins v ol output low voltage full-speed usb. external 15k to gnd on usbd+ and usbd- pins 00.3v v oh output high voltage full-speed usb. external 15k to gnd on usbd+ and usbd- pins 2.8 3.6 v v ol output low voltage hi-speed usb. external 45 to gnd on usbd+ and usbd- pins -300 300 mv v oh output high voltage hi-speed usb. external 45 to gnd on usbd+ and usbd- pins 360 440 mv v drvz driver output impedance 45 i osc output short circuit current 1.5v on usbd+ and usbd- pins 52 ma
? 2016 exar corporation xr22800 4 / 29 exar.com/xr22800 rev 1c ethernet i/o pins - 100base-tx transmit mode v pph peak differential output voltage high measured at line side of transformer, line replaced by differential resistance of 100 ohms. 950 1050 mv v ppl peak differential output voltage low -950 -1050 mv v sas signal amplitude symmetry 98 102 % t rf signal rise and fall time 3 5 ns d cd duty cycle distortion 00.5ns v os overshoot and undershoot 0 5 % - transmit jitter measured differentially 0 1.4 ns ethernet i/o pins - 10base-t transmit mode v pph peak differential output voltage high m easured at line side of transformer, line replaced by differential resistance of 100 ohms. 2.2 2.8 v 3.3v regulated power output v out output voltage max load current 50 ma 3.0 3.3 3.6 v symbol parameter conditions min typ max units
? 2016 exar corporation xr22800 5 / 29 exar.com/xr22800 rev 1c pin configuration to p v i ew pin assignments pin no. pin name type description 1 vbus_sense i vbus sense input. in self-powered mode, the vbus from the usb connector needs to be connected to this pin through a voltage divi der circuit (vbus = 5v, vbus_sense = 3.3v input) using large resistance values to minimize power. it should also be decoupled by a 0.1uf capacitor. this feature may be enabled via t he otp whenever the hub function is configured for self-powered mode. the vbus_sense input is used to disable the pull-up resistor on the usbd+ signal when vbus is not present. in bus-powered mode, this pin is ignored. 2 rext i connect externally using short trace to 226 ohm 1% resistor to ground 3 cap1 i connect externally to cap2 and 3v3_out using short trace 4 gnd pwr power supply common, ground 5 usbdC i/o usb port differential data negative. 6 usbd+ i/o usb port differential data positive. 7 vcc pwr 5.0v power supply input 8 eth_spd o ethernet 10/100 mbps speed indicator. asserted high for 100 mbps. 9 xtalout o crystal or buffered clock output. 10 xtalin i 25 mhz +/- 50 ppm crystal or external clock input. 11 3v3_out pwr 3.3 v output power. connect externally to cap1 and cap2 using short trace and decouple with minimum of 4.7uf capacitor 12 gnd pwr power supply common, ground 13 eth_txC o ethernet transmit data out negative 16 15 14 13 12 11 10 9 25 26 27 28 29 30 31 32 8 7 6 5 4 3 2 1 exar xr22800 vbus_sense rext cap1 gnd usbd- usbd+ vcc eth_spd e7 e6 gnd gnd cap2 eth_link e1 e0 e_pad 17 18 19 20 21 22 23 24 xtalout xtalin 3v3_out gnd eth_tx- eth_tx+ eth_rx+ eth_rx- sda scl e3 e2 gnd low_pwr# e4 e5
? 2016 exar corporation xr22800 6 / 29 exar.com/xr22800 rev 1c type: i = input, o = output, i/o = input/output, pwr = power, od = open-drain 14 eth_tx+ o ethernet transmit data out positive 15 eth_rx+ i ethernet receive data in positive 16 eth_rxC i ethernet receive data in negative 17 e0 i/o enhanced general purpose io 18 e1 i/o enhanced general purpose io 19 eth_link o ethernet 10/100 activity indicator. toggles with activity 20 cap2 i connect externally to cap1 and 3v3_out using short trace 21 gnd pwr power supply common, ground 22 gnd pwr power supply common, ground 23 e6 i/o enhanced general purpose io 24 e7 i/o enhanced general purpose io 25 e5 i/o enhanced general purpose io 26 e4 i/o enhanced general purpose io 27 low_pwr# o the low_pwr# pin will be asserted whenever it is not safe to draw the amount of current requested from vbus in the device maximum power field of the configuration descriptor. the low_pwr# pin is asserted when the xr22800 is in suspend mode or when it is not yet con- figured. the low_pwr# pin will be de-asserted whenever it is safe to draw the amount of current requested in the device maximum power field. note that the xr22800 device is a high power device. the default polarity of the low_ pwr# output pin is active low and is program- mable via the otp. 28 gnd pwr power supply common, ground 29 e2 i/o enhanced general purpose io. 30 e3 i/o enhanced general purpose io. 31 scl i/o od i 2 c master controller serial clock (open-drain) external pull-up resist or required on this pin. 32 sda i/o od i 2 c master controller data (open-drain). exter nal pull-up resistor required on this pin. pin no. pin name type description
? 2016 exar corporation xr22800 7 / 29 exar.com/xr22800 rev 1c functional block diagram usb 2.0 phy usb 2.0 hub 10/100 ethernet controller ethernet phy i 2 c multimaster usb descriptors edge controller 25 mhz xtal usbd+ usbd- 5.0v vcc gnd gnd gnd eth_tx+ eth_tx- eth_rx+ eth_rx- xtalin xtalout sda scl eth_link eth_spd e7 e6 e5 e4 e3 e2 e1 e0 low_pwr# otp vbus_sense
? 2016 exar corporation xr22800 8 / 29 exar.com/xr22800 rev 1c functional description usb interface the xr22800 is a usb compound device with an embedded hub and 3 downstream usb functions. the downstream func- tions of the xr22800 are 10/100 ethernet, an i 2 c function, and an enhanced dedicated gpio entity (edge) function. the upstream usb interface of the xr22800 is compliant with both usb 2.0 full and hi-speed specifications. all functions down- stream of the hub are hi-speed functions. the xr22800 will have a single vendor id and vendor string. each func tion in the xr22800 will have an individual product string and serial string. the default seri al number strings will be based upon the uniquely assigned ethernet mac address for each xr22800 device. the serial strings for multiple functions within the same de vice will differ only by a single charac- ter which will be assigned a value betw een 0 and 7. all string and id va lues can be overridden via otp. the xr22800 can be placed into a low power or suspended state by the usb host. by default the xr22800 hub is config- ured for bus powered mode with a maximum power of 250 ma. all other functions in the xr22800 are configured for self- powered mode. in bus powered mode, the ethernet phy must be powered down during suspended state to meet usb sus- pend power requirements. the ethernet phy may remain enabled to support ethernet remote wakeup during suspend if the device is self-powered and the usb otp is modified to report the hub function as self-powered in the usb descriptors. see ethernet remote wakeup section on page 10 . each function of the xr22800 su pports one configurat ion and utilizes the following usb endpoints: ? usb hub ? control endpoint ? interrupt-in endpoint ? ethernet function ? control endpoint ? interrupt-in endpoint ? bulk-in and bulk-out endpoints ? i 2 c function ? control endpoint ? interrupt-in and interrupt-out endpoints ? edge controller function ? control endpoint ? interrupt-in and interrupt-out endpoints usb vendor id exars usb vendor id is 0x04e2. this is the default vendor id that is used for the xr22800. companies may obtain their own vendor id, by becoming members of usb.org. the xr22800 otp can then be modified to report this vendor id in the usb descriptors. usb product id each function in the xr22800 has an individual usb product id. the default product ids for each of the functions are shown in table?1. these values can be modified by programming the otp. companies using their own vendor id may also select their own product ids. additionally , upon request exar will provide a select ion of different product ids for use with exars vendor id for companies that do not wish to become members of usb.org, but wish to use their own product id. table 1: default xr22800 product ids xr22800 function default product id hub 0x0800 ethernet 10/100 0x1300
? 2016 exar corporation xr22800 9 / 29 exar.com/xr22800 rev 1c usb suspend all usb peripheral devices must support the usb suspend mode. per usb standard, the xr22800 device will begin to enter the suspend state if it does not detect any activity, (including start of frame or sof packets) on its usb data lines for 3 ms. the peripheral device must then reduce power consumption from vbus power within the next 7 ms to the allowed limit of 2.5 ma per function for the suspended state. because the xr22800 is a compound device with 4 functions, the sus- pend state power limit is 10 ma for the device. note that in th is context, the "device" is all circuitry (including the xr22800 ) that draws power from the host vbus. usb strings usb specifies three character string descriptors that are provided to the usb host during enumeration in string descriptors: the manufacturer, product and serial strings. in a compound device such as the xr22800, each function provides these strings to the usb host. the default manufacturer string for th e xr22800 device is "exar corp.". the default product strings for the hub, ethernet function, i 2 c function and edge function are shown in ta bl e 2 . the serial number string is a unique alpha-numeric ascii string programmed into the device at the factory. the otp may be used to override these strings. however, to ensure unique serial numbers for each device, it is recom- mended that the factory pre-programmed serial number string be used and not be overwritten via otp. usb device drivers each of the functions in the xr22800 require a usb device driver for operation. both the i 2 c and edge functions conform to the hid device class and as such, ut ilize the embedded hid driver that is native to each operating system. the embed- ded hub also uses the native h ub driver. the ethernet function conforms to the cdc device class and as such can utilize an embedded cdc-ecm driver. however, at the time of this writ ing, none of the microsoft os provide support for cdc-ecm embedded drivers. both linux and mac os-x platforms do support cdc-ecm drivers. the cdc-ecm is a "standard" driver which implements functionality on a specific cl ass of devices. they operate without any ability to access device specific register sets. in some ca ses, this can limit the functiona lity and / or th roughput capabi l- ity of the xr22800. exar provides a custom ethernet device driver which has been optimized for the best possible data through-put in windows platforms. refer to 10/100 ethernet section on page 10 for more details. i 2 c 0x1100 edge 0x1200 table 2: default xr22800 product strings xr22800 function default product string hub exars xr22800 hub ethernet 10/100 exar usb ethernet i 2 cexar usb i 2 c edge exar usb edge table 1: default xr22800 product ids xr22800 function default product id
? 2016 exar corporation xr22800 10 / 29 exar.com/xr22800 rev 1c 10/100 ethernet the ethernet port is a 10/100 ethernet mac and phy compliant with ieee 802.3. the ethernet port supports speed / duplex auto-negotiation, auto-mdix, 10 mbps data auto-polarity, full and half duplex data rates at 10 and 100 mbps, gener- ates and validates the 32-bit fcs, and performs unicast and multicast filtering. the xr22800 also performs tcp, udp and icmp checksum offload over ipv4 and ipv6 as well as header checksum offload in ipv4. on chip ram provides all required packet buffering. in windows os, using the exar custom ethernet driver, the properties dialog, advanced properties can be used to set the pause frame flow control, speed and duplex, auto-negotiation, checksum offload, and ethernet remote wakeup settings. by default, the ethernet mac will honor incomi ng pause frames sent by a peer ethe rnet device, but will not generate pause frames. auto-mdix is always enabled. ethernet remote wakeup if the xr22800 hub is configured as a self-powered device and has ethernet remote wakeup enabled, the xr22800 will request the usb host to resume in response to a magic packet or a link state change on the ethernet port. when the usb host is suspended, the ethernet phy remains active and the xr22800 is able to both meet usb suspend mode power requirements as well as respond to magic packet and link state changes. the magic packet is an ethernet packet with specific content, i.e. 6 bytes of 0xff, followed by 16 repetitions of the target mac address (mac address of the xr22800 device). this content can occur anywhere in the incoming packet payload. the link state change will wake the usb host if the link is down when the usb host is suspended and then the link goes up, or if the link is up when the usb host is suspended and then the link goes down. edge - enhanced dedicated gpio entity the xr22800 has 8 edge io pins the edge controller allows fo r gpio signals to be individually set or cleared or to be grouped, such that the all pins in the group can be simultaneously accessed for reads or writes. note that on write accesses, output pins will change in 4-bit subgroups on core cl ock (60 mhz) boundaries. for example, if an 8 bit data group is defined and the data value is written from 0x00 to 0xff, 4 bits would change from 0 to 1 followed by the next 4 bits one clock cycle (~ 17 ns) later. edge ios can be configured as inputs or outputs. outputs can be configured as push-pull or open drain and can be tri- stated. inputs can be configured to generate interrupts to the usb host on either negative or postive edge transitions. another feature of the edge controller is that up to 2 gpio pins within the edge can be assigned to pulse width modu- lated (pwm) outputs. each of the pwm outputs can be used to generate an output clock or pulse of varying duty cycle. both low and high cycles can be configured in steps of 267 ns up to 1.092 ms. the output can be controlled to generate a single "one-shot" pulse or to free run. refer to the edge_pwm0_ctrl and edge_pwm1_ctrl registers on page 22 and page 23 for control of pwm outputs. i 2 c the xr22800 implements an i 2 c multi-master using the control endpoint of the full-speed usb function to transfer data to and from the i 2 c interface. the i 2 c master supports both standard (100 kbps) and fast (400 kbps) modes and supports mul- tiple master configurations to allow other devices to access slave devices on the i 2 c. the i 2 c function is an hid function and uses the native hid driver. it supports both 7 and 10 bit addressing modes. regulated 3.3v power output the xr22800 internal volt age regulator provides 3.3 vdc output power whic h can be utilized by other circuitry. refer to electrical characteristics on page 3 for maximum power capability. for bus powered devices, significant utilization of the 3v3 output power may require increasing the maximum power request above the 250 ma default value from the usb host by programming the otp.
? 2016 exar corporation xr22800 11 / 29 exar.com/xr22800 rev 1c otp the otp is an on-chip non-volatile memory, that is one-time programmable via the usb interface. bit locations within the memory may be programmed at various times allowing for customization of the xr22800. some bits are pre-programmed at the factory and caution must be taken not to program any locations except user defined addresses. contact the factory uarttechsupport@exar.com for information and assistance in programming the xr22800 otp.
? 2016 exar corporation xr22800 12 / 29 exar.com/xr22800 rev 1c usb control commands the following table shows all of the usb control commands that are supported by the xr22800. commands include stan- dard usb commands and usb vendor specific exar commands. table 3: supported usb control commands name request type request value index length description lsb msb lsb msb lsb msb usb standard requests dev get_status 0x80 0x0 0x0 0x0 0x0 0x0 0x2 0x0 device: remote wake-up + self-powered if get_status 0x81 0x0 0x0 0x0 0x0 0x0 0x2 0x0 interface: zero ep get_status 0x82 0x0 0x0 0x0 0x0, 0x4, 0x84 0x0 0x2 0x0 endpoint: halted dev clear_feature 0x00 0x1 0x1 0x0 0x0 0x0 0x0 0x0 device remote wake-up ep clear_feature 0x02 0x1 0x0 0x0 0x0, 0x4, 0x84 0x0 0x0 0x0 endpoint halt dev set_feature 0x00 0x3 0x1 0x0 0x0 0x0 0x0 0x0 device remote wake-up ep set_feature 0x02 0x3 0x0 0x0 0x0, 0x4, 0x84 0x0 0x0 0x0 endpoint halt set_address 0x00 0x5 addr 0x0 0x0 0x0 0x0 0x0 addr = 1 to 127 get_descriptor 0x80 0x6 0x0 0x1 0x0 0x0 len msb len msb device descriptor get_descriptor 0x80 0x6 0x0 0x2 langid langid len msb len msb configuration descriptor get_descriptor 0x80 0x6 0x0 0x3 0x0 0x0 len msb len msb string descriptor get_configuration 0x80 0x8 0x0 0x0 0x0 0x0 0x1 0x0 set_configuration 0x00 0x9 n 0x0 0x0 0x0 0x0 0x0 n = 0, 1 usb class specific requests 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
? 2016 exar corporation xr22800 13 / 29 exar.com/xr22800 rev 1c 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) table 3: supported usb control commands name request type request value index length description lsb msb lsb msb lsb msb
? 2016 exar corporation xr22800 14 / 29 exar.com/xr22800 rev 1c hid reports the i 2 c and edge functions in the xr22800 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, xr22800 device register access using the control endpoint for both i 2 c and edge functions is performed via hi d 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 trans fer. for write only transfers, the interrupt in packet will c ontain 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 x x b w h e re x x a re t h e m o s t s i g n i fi c a n t b i t s o f t h 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 leas t 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 combi ned transfer format is always used. during the write portion of the combined transfer the master must send at least one data byte which cont ains 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 i s followed with an address byte which has the same 7-bit address 1111 0 x x b a s i n t h e w ri te p o r t i o n . h o w eve r, t h e d i re c t i o n b i t i s n o w 1 fo r re a d i n g. t h e s l a ve then sends the read data as usual. the le ast 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 xr22800 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.
? 2016 exar corporation xr22800 15 / 29 exar.com/xr22800 rev 1c 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 xr22800 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
? 2016 exar corporation xr22800 16 / 29 exar.com/xr22800 rev 1c set_hid_read_address transfer type: control transfer size: 3 bytes the set_hid_read_address report sets the address for the read_hid_register report. read_hid_register transfer type: control transfer size: 3 bytes the read_hid_register report reads register data fr om the address set by the set_hid_read_address report. field offset size value description report id 0 1 0x4b set address for hid register read read address lsb 1 1 read address read address msb 2 1 field offset size value description report id 0 1 0x5a read hid register read data lsb 1 1 read data read data msb 2 1
? 2016 exar corporation xr22800 17 / 29 exar.com/xr22800 rev 1c hid register map table 4: xr22800 hid 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) i 2 c registers 0x341 i 2 c_scl_low msb [15:8] value (msb) i 2 c_scl_low lsb [7:0] value (lsb) 0x342 i 2 c_scl_high msb [15:8] value (msb) i 2 c_scl_high lsb [7:0] value (lsb) edge registers 0x3c1edge_dir e7e6e5e4e3e2e1e0 0x3c2 edge_set e7 e6 e5 e4 e3 e2 e1 e0 0x3c3 edge_clear e7 e6 e5 e4 e3 e2 e1 e0 0x3c4edge_state e7e6e5e4e3e2e1e0 0x3c5edge_tri_state e7e6e5e4e3e2e1e0 0x3c6 edge_open_drain e7 e6 e5 e4 e3 e2 e1 e0 0x3c7 edge_pull_up e7 e6 e5 e4 e3 e2 e1 e0 0x3c8 edge_pull_down e7 e6 e5 e4 e3 e2 e1 e0 0x3c9 edge_intr_mask e7 e6 e5 e4 e3 e2 e1 e0 0x3ca edge_intr_pos_ edge e7 e6 e5 e4 e3 e2 e1 e0 0x3d8 edge_pwm0_ctrl msb [15:8] 0000000cmd[2] edge_pwm0_ctrl lsb [7:0] cmd[1:0] en 0 0 pin 0x3d9 edge_pwm0_high msb [15:8] 0000 value[11:8] edge_pwm0_high lsb [7:0] value [7:0] 0x3da edge_pwm0_low msb [15:8] 0000 value[11:8] edge_pwm0_low lsb [7:0] value [7:0] 0x3db edge_pwm1_ctrl msb [15:8] 0000000cmd[2] edge_pwm1_ctrl lsb [7:0] cmd[1:0] en 0 0 pin
? 2016 exar corporation xr22800 18 / 29 exar.com/xr22800 rev 1c 0x3dc edge_pwm1_high msb [15:8] 0000 value[11:8] edge_pwm1_high lsb [7:0] value [7:0] 0x3dd edge_pwm1_low msb [15:8] 0000 value[11:8] edge_pwm1_low lsb [7:0] value [7:0] table 4: xr22800 hid 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)
? 2016 exar corporation xr22800 19 / 29 exar.com/xr22800 rev 1c hid register descriptions note that all register reset default values are 0 unless otherwise specified. all registers are 16 bits. i 2 c_scl_low (0x341) - read/write i 2 c_scl_high (0x342) - read/write edge_dir (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. edge_set (0x3c2) - write only edge_clear (0x3c3) - write only bit default description 15:0 0x0144 value specifies the number of periods that scl will be asserted low by the xr22800 i 2 c master. note that in clock stretching, the i 2 c 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. bit default description 15:0 0x0114 value specifies the number of periods that sc l will be asserted high by the xr22800 i 2 c master. note that another multi-master may assert scl low before the xr22800 high pe riod is completed. for 100 kbps transfer rate this value must be at least 240 (0x00f0) and the sum of t he 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 bit default description 15:8 0x00 reserved these bits are reserved and should be written as 0. 7:0 0x00 e[7:0] 0: io pin assigned to edge function is configured as an input 1: io pin assigned to edge f unction is configured as an output. bit default description 15:8 0x00 reserved these bits are reserved and should be written as 0. 7:0 0x00 e[7:0] 0: no effect 1: set io pin assigned to edge function and configured as an output to a logic 1
? 2016 exar corporation xr22800 20 / 29 exar.com/xr22800 rev 1c edge_state (0x3c4) - read/write edge_tri_state (0x3c5) - read/write edge_open_drain (0x3c6) - read/write edge_pull_up (0x3c7) - read/write bit default description 15:8 0x00 reserved these bits are reserved and should be written as 0. 7:0 0x00 e[7:0] 0: no effect 1: clear io pin assigned to edge function and configured as an output to a logic 0 bit default description 15:8 0xff reserved these bits are reserved and should be written as 1. 7:0 0x00 e[7:0] writing in this register sets or clears the edge io pin( s) configured as an output. writing to an edge pin con- figured as an input has no effect. reading this register returns the state of each io pin configured as an edge pin irrespective of whether it is conf igured as an input or output. note that output transitions across multiple io pins may be slightly staggered. refer to page 10 . 0: write clears the corresponding bit to a 0. read returns the current state. 1: write sets the corresponding bit to a 1. read returns the current state. bit default description 15:8 0x00 reserved these bits are reserved and should be written as 0. 7:0 0x00 e[7:0] 0: io pin assigned to edge function and configured as an output is actively driven 1: io pin assigned to edge function and configured as an output is tri-stated bit default description 15:8 0x00 reserved these bits are reserved and should be written as 0. 7:0 0x00 e[7:0] note that xr22800 open drain outputs have a weak internal pull-up. 0: io pin assigned to edge function and configured as an output is a push-pull output 1: io pin assigned to edge function and configured as an output is an open drain output
? 2016 exar corporation xr22800 21 / 29 exar.com/xr22800 rev 1c edge_pull_down (0x3c8) - read/write edge_intr_mask (0x3c9) - read/write bit default description 15:8 0xff reserved these bits are reserved and should be written as 1. 7:0 0xff e[7:0] 0: disable internal pull-up resistor on io pin assigned to edge function and configured as an input 1: enable internal pull-up resistor on io pin assigned to edge function and configured as an input bit default description 15:8 0x00 reserved these bits are reserved and should be written as 0. 7:0 0x00 e[7:0] 0: disable internal pull-down resistor on io pin a ssigned to edge function and configured as an input 1: enable internal pull-down resistor on io pin assigned to edge function and configured as an input bit default description 15:8 0x00 reserved these bits are reserved and should be written as 0. 7:0 0x00 e[7:0] writing a 1 in this register enables an input pin for the corresponding bit position edge io pin(s) configured as an input to generate an interrupt if either edge_i ntr_pos_edge and / or edge _intr_neg_edge regis- ters has also been enabled. an edge pin configured as an output has no effect. 0: io pin will not generate an interrupt 1: io pin assigned to edge function and configured as an input will generate an interrupt
? 2016 exar corporation xr22800 22 / 29 exar.com/xr22800 rev 1c edge_intr_pos_edge (0x3ca) - read/write edge_intr_neg_edge (0x3cb) - read/write edge_pwm0_ctrl (0x3d8) - read/write bit default description 15:8 0xff reserved these bits are reserved and should be written as 1. 7:0 0xff e[7:0] writing a 1 in this register enables an interrupt to be generated on the rising edge of the corresponding bit posi- tion edge io pin(s) configured as an input if the edge _intr_mask register is enabled for that pin. if the edge_intr_neg_edge register is also enabled, inte rrupts will be generated on both edges. writing to an edge pin configured as an output has no effect. 0: io pin will not generate an interrupt on rising edge 1: io pin assigned to edge function and configured as an input will generate an interrupt on rising edge if cor- responding edge_intr_mask bit is set bit default description 15:8 0xff reserved these bits are reserved and should be written as 1. 7:0 0xff e[7:0] writing a 1 in this register enables an interrupt to be generated on the falling edge of the corresponding bit position edge io pin(s) configured as an input if the edge _intr_mask register is enabled for that pin. if the edge_intr_pos_edge register is also enabled, interr upts will be generated on both edges. writing to an edge pin configured as an output has no effect. 0: io pin will not generate an interrupt on falling edge 1: io pin assigned to edge function and configured as an input will generate an interrupt on falling edge if cor- responding edge_intr_mask bit is set bit default description 15:9 0x00 reserved these bits are reserved and should be written as 0. 8:6 0x0 cmd 000: idle. output pin remains at same state 001: undefined, do not use 010: undefined, do not use 011: undefined, do not use 100: assert logic 0 101: one-shot -if previous state was assert 0, one-shot pulse will be high, if previous state was assert 1, one- shot pulse will be low 110: free run output 111: assert logic 0 50 enable 0: pwm0 output is not enabled 1: pwm0 output is enabled on pin specified in pin field using mode specified in cmd field
? 2016 exar corporation xr22800 23 / 29 exar.com/xr22800 rev 1c edge_pwm0_high (0x3d9) - read/write edge_pwm0_low (0x3da) - read/write edge_pwm1_ctrl (0x3db) - read/write 4:3 0x0 reserved these bits are reserved and should be written as 0. 2:0 0x0 pin specifies which pin (e7 - e0) will be assigned to pwm0 output. bit default description 15:12 0x0 reserved these bits are reserved and should be written as 0. 11:0 0x001 value this register specifies the high period for pwm0 in increments of 266.667ns. high period must be in the range of 1 to 4095 (266.667 ns to 1.092 ms) bit default description 15:12 0x0 reserved these bits are reserved and should be written as 0. 11 : 0 0 01 value this register specifies the low period for pwm0 in incr ements of 266.667ns. low period must be in the range of 1 to 4095 (266.667 ns to 1.092 ms) bit default description 15:9 0x00 reserved these bits are reserved and should be written as 0. 8:6 0x0 cmd 000: idle. output pin remains at same state 001: undefined, do not use 010: undefined, do not use 011: undefined, do not use 100: assert logic 0 101: one-shot -if previous state was assert 0, one-shot pulse will be high, if previous state was assert 1, one- shot pulse will be low 110: free run output 111: assert logic 0 50 enable 0: pwm1 output is not enabled 1: pwm1 output is enabled on pin specified in pin field using mode specified in cmd field 4:3 0x0 reserved these bits are reserved and should be written as 0. bit default description
? 2016 exar corporation xr22800 24 / 29 exar.com/xr22800 rev 1c edge_pwm1_high (0x3dc) - read/write edge_pwm1_low (0x3dd) - read/write 2:0 0x0 pin specifies which pin (e7 - e0) will be assigned to pwm1 output. bit default description 15:12 0x0 reserved these bits are reserved and should be written as 0. 11:0 0x001 value this register specifies the high period for pwm1 in increments of 266.667ns. high period must be in the range of 1 to 4095 (266.667 ns to 1.092 ms) bit default description 15:12 0x0 reserved these bits are reserved and should be written as 0. 11:0 0x001 value this register specifies the low period for pwm1 in incr ements of 266.667ns. low period must be in the range of 1 to 4095 (266.667 ns to 1.092 ms) bit default description
? 2016 exar corporation xr22800 25 / 29 exar.com/xr22800 rev 1c mechanical dimensions 32-pin qfn
? 2016 exar corporation xr22800 26 / 29 exar.com/xr22800 rev 1c
? 2016 exar corporation xr22800 27 / 29 exar.com/xr22800 rev 1c
? 2016 exar corporation xr22800 28 / 29 exar.com/xr22800 rev 1c
? 2016 exar corporation xr22800 29 / 29 exar.com/xr22800 rev 1c notice exar corporation reserves the right to make changes to the produc ts contained in this publication in order to improve design, p erformance or reliability. exar corporation assumes no responsibility for the use of any circuits described herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. charts and schedules contained herein are only for illustration purposes and may vary depending upon a users specific application. while the information in this publication has been carefully checked; no re sponsibility, however, is assumed for inaccuracies. exar corporation does not recommend the use of any of its product s in life support applications where the failure or malfunctio n of the product can reasonably be expected to cause failure of the life support system or to significantly af fect its safety or effectiveness. products are not authorized fo r use in such applications unless exar corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has been minimized; (b) the user as sumes all such risks; (c) potential liability of exar cor- poration is adequately protected under the circumstances. reproduction, in part or whole, without the prior written consent of exar corporation is prohibited. for further assistance: technical support: techsupport.exar.com technical documentation: www.exar.com/techdoc exar corporation headquarters and sales offices 48720 kato road tel.: +1 (510) 668-7000 fremont, ca 95438 - usa fax: +1 (510) 668-7001 ordering information revision history part number package green operating temperature range packaging quantity marking xr22800il32-f 32-pin qfn yes -40c to +85c 490 / tray xr22800 XR22800IL32TR-F 32-pin qfn yes -40c to +85c 3000 / reel xr22800 revision date description 1a july 2014 initial release 1b april 2015 clarified pin definitions for vbus_sense, eth_spd and eth_link pins. added usb cdc-ecm class spe- cific requests to usb commands table. added descrip tions of feature and input and output reports for hid functions. added hid register access feature reports. [ ecn ? 1518 \ 01 ? apr ? 28 ? 2015] 1c april 2016 updated package diagrams. [ ecn ? 1616 \ 05 ? apr ? 15 ? 2016]


▲Up To Search▲   

 
Price & Availability of XR22800IL32TR-F

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X