|Information||Enhanced 2-Ch Full-Speed USB UART|
|Data Bus Interface||USB 2.0|
|Max Data Rate 5V (Mbps)||12|
|Max Data Rate 3.3V (Mbps)||12|
|Tx FIFO (Bytes)||512|
|Rx FIFO (Bytes)||512|
|Auto Flow Control||✔|
|Multidrop (9-bit) Mode||✔|
|Fractional Baud Rate Generator||✔|
|Power Down Mode||✔|
|Supply Voltage Range VCC (V)||3.0 to 3.6, 4.4 to 5.25|
|5V Tolerant Inputs||✔|
|Max UART/GPIO Input Voltage (V)||5.5|
|Max UART/GPIO Output Voltage (V)||1.8-3.6|
|Temperature Range (°C)||-40 to 85|
|Auto Half-Duplex Control||✔|
|# of Channels||2|
The XR21B1422 is an enhanced Universal Asynchronous Receiver and Transmitter (UART) bridge to USB interface. The USB interface is fully compliant to the USB 2.0 (Full-Speed) specification with 12 Mbps USB data transfer rate. The USB interface also supports USB suspend, resume and remote wakeup operations. The USB Vendor ID, Product ID, power mode, remote wakeup support, maximum power, and numerous other settings may be programmed in the on-chip OTP memory via the USB interface.
The XR21B1422 includes an internal oscillator and does not require an external crystal/oscillator. Any UART baud rate up to 12 Mbps may be generated with this internal clock and the fractional baud rate generator.
The UART pins for each port may also be configured as GPIO; direction, state, output driver type and input pull-up or pull-down resistors are programmed either through on chip OTP, or on the fly via memory mapped registers.
Large 512-byte TX and RX FIFOs prevent buffer overflow errors and optimize data throughput. Automatic half-duplex direction control and optional multi drop (9-bit) mode simplify both hardware and software in half-duplex RS-485 applications.
The XR21B1422 uses the native OS CDC-ACM driver or an MaxLinear supplied custom driver. MaxLinear provides WHQL/HCK-certified software drivers for Windows 2000, XP, Vista, 7, 8, 8.1 as well as software drivers for Windows CE, Linux and Mac OS X. Full source code is available.
The XR21B1422 operates from a single 5V or 3.3V power supply. When powered with 5V input, a regulated 3.3V output is supplied.
- ±15kV ESD on USBD+/USBD-
- USB 2.0 Compliant, Full-Speed (12Mbps)
- Unique pre-programmed USB serial number
- Internally generated 48MHz core clock
- Enhanced UART features
- Baud rates up to 12 Mbps
- Fractional Baud Rate Generator
- 512-byte TX and 512-byte RX FIFOs
- Auto Hardware / Software Flow Control
- Multidrop and Half-Duplex Modes
- Auto RS-485 Half-Duplex Control
- Selectable GPIO or Modem I/O
- Up to 10 GPIOs per channel
- 5V tolerant GPIO inputs
- Suspend state GPIO configuration
- Configurable clock output
- 40-pin QFN package
- Industrial -40°C to +85°C Temperature Range
- Download Software Drivers
- Building Automation
- Security Systems
- Factory and Process Control
- ATM Terminals
- USB to Serial Controllers
Documentation & Design Tools
|Data Sheets||XR21B1422 Enhanced 2-Ch Full-Speed USB UART||1D||January 2019||922.8 KB|
|Application Notes||AN202, USB UART Board Design Considerations for USB Compliance||June 2021||647.5 KB|
|Application Notes||AN-226, Windows Driver Customization for USB UARTs||R00||February 2020||2.5 MB|
|Application Notes||DAN-190, MaxLinear UARTs in RS-485 Applications||1.0.0||April 2008||147.3 KB|
|User Guides & Manuals||XR21B14xx_XR21V14xx USB UART Design Guide||01||May 2020||2.3 MB|
|User Guides & Manuals||XR21B1422_XR21B1424 Evaluation Board User’s Manual||1B||January 2020||1.2 MB|
|Software: GUIs & Utilities||Sample USB UART GUI (Serial Test App)||184.108.40.206||July 2021||1.4 MB|
|Software: GUIs & Utilities||Android Application||1C||November 2015||476.6 KB|
|Product Flyers||Full-Speed USB UART Family||1.0||February 2016||842.4 KB|
|Software: Drivers||Linux 3.6.x and Newer||1D||September 2021||29.9 KB|
|Software: Drivers||Windows XP, Vista, 7, 8, 8.1, 10||220.127.116.11||December 2019||145.7 KB|
|Software: Drivers||Linux 2.6.18 to 3.4.x||1A||January 2015||19.1 KB|
|Schematics & Design Files||XR21B1422/1424 Evaluation Board BRD, RSN Files||REV 20||June 2016||724.6 KB|
|Schematics & Design Files||Evaluation Board Schematic||1.0||February 2014||150 KB|
|Product Brochures||Interface Brochure||October 2019||1.3 MB|
Quality & RoHS
|Part Number||RoHS | Exempt||RoHS||Halogen Free||REACH||TSCA||MSL Rating / Peak Reflow||Package|
|XR21B1422IL40-F||N||Y||Y||Y||Y||L3 / 260ᵒC||QFN40 6x6 OPT2|
Click on the links above to download the Certificate of Non-Use of Hazardous Substances.
Parts & Purchasing
|Part Number||Pkg Code||Min Temp||Max Temp||Status||Suggested Replacement||Buy Now||Order Samples||PDN|
|XR21B1422IL40-F||QFN40 6x6 OPT2||-40||85||Active||Order|
|XR21B1422IL40TR-F||QFN40 6x6 OPT2||-40||85||OBS||XR21B1422IL40-F|
Active - the part is released for sale, standard product.
EOL (End of Life) - the part is no longer being manufactured, there may or may not be inventory still in stock.
CF (Contact Factory) - the part is still active but customers should check with the factory for availability. Longer lead-times may apply.
PRE (Pre-introduction) - the part has not been introduced or the part number is an early version available for sample only.
OBS (Obsolete) - the part is no longer being manufactured and may not be ordered.
NRND (Not Recommended for New Designs) - the part is not recommended for new designs.
FAQs & Support
Search our list of FAQs for answers to common technical questions.
For material content, environmental, quality and reliability questions review the Quality tab or visit our Quality page.
For ordering information and general customer service visit our Contact Us page.
Submit a Technical Support Question As a New Question
For some UARTs, Microsoft certified drivers are available for Windows Operating System and can be downloaded via Windows Update. These drivers and others, including for Linux and other Operating Systems can be found by visiting https://www.exar.com/design-tools/software-drivers Please note Software Driver Use Terms.
Click on the version link under Driver Version of the desired type of UART, part number and operating system. A zip file is downloaded which contains a ReadMe file with instructions.Links to datasheets and product family pages are in the software driver table for easy reference.
Find the product page of the part that you want to get an evaluation board for and click on Parts & Purchasing. Example:
Find the icons under Buy Now or Order Samples:
Click on the Buy Now icon and see who has stock and click on the Buy button:
Alternatively, you can click on the Order Samples
If the icons are missing, then contact Customer Support.
In this example, we looked for XRA1201. Click on part number header or on the link at the bottom of the result. This brings you to the product page. For example:
Click on Parts & Purchasing, highlighted with the blue arrow above. The screen changes to:
Notice the status column and the “Show obsolete parts” link. A legend tells you the definition of the different statuses. Click on the “Show obsolete parts” link to see EOL or OBS part numbers along with the Active part numbers, the legend still present:
Another method to find out if a part is OBS or EOL is to click on SUPPORT at the top:
And then Product Change Notifications:
Type the part into the search, and click on one of the part numbers from the drop down menu. Then you can look for the Product Discontinuation Notice, which generally is at the top of the list, for example:
If you see this, it tells you that this particular orderable part has been discontinued and when the last order date is, or was. If you click on the file, then you can view the notice we sent about this if you purchased the part in the recent past. It may also advise of a replacement part. When an orderable part first becomes discontinued, Product Discontinuation Notices are sent are sent to those who have purchased the parts in the recent past, if purchased directly, with a dated opportunity to place a last order.
When using the native CDC-ACM driver the USB UARTs defaults to HW RTS/CTS flow control. Please see the datasheet:
section on CDC-ACM driver and Table 2.
You can test to see if there is data by grounding the CTS input.
USB peripheral devices may operate in bus or self-powered modes. In bus powered mode, the peripheral device is powered by the USB host 5V VBUS power either directly, or for example through a voltage regulator that might provide a regulated 3.3V to the device from the 5V VBUS input. In self-powered mode, power to the peripheral device comes from another source other than the USB host VBUS. For example, power might come from an AC to DC converter.
MaxLinear USB to serial / UART(s), USB hubs and USB to Ethernet devices all comply fully to USB standards and are fully USB compliance tested. One USB compliance test ensures that self-powered peripheral devices do not have “back voltage” when disconnected from the USB host, on either the USB data signals (USBD+ / USBD-) or the VBUS power itself.
All MaxLinear USB UARTs, hubs and USB to Ethernet devices are USB full speed or high-speed devices. As such, they have an internal pull-up on the USBD+ signal to “advertise” their speed rating. The VBUS_SENSE pin on these devices must be connected to VBUS from the host, or upstream device if that is not the host, such that the device “senses” the disconnection from the host or upstream device. The default power mode advertised to the USB host for all USB UARTs and USB to Ethernet devices is bus powered mode. Self-powered mode can be programmed in either the internal OTP memory or external EEPROM for self-powered mode. For MaxLinear hubs, an external pin controls the power mode advertised to the USB host, except the XR22417 which must always be operated in self-powered USB mode.
1. Native drivers: Native drivers may be found in all major OS such as Windows, Linux, and Max OSX. Typically these drivers will be automatically loaded. In some cases, these are basic drivers and may have limitations on advanced device functionality, however. USB HID, Hub and CDC-ACM drivers are examples of native drivers. The CDC-ACM driver be used with our CDC-ACM class USB UARTs, but has limited functionality.
2. MaxLinear custom drivers: MaxLinear custom drivers may be used to support additional functionality in MaxLinear devices. For example, the MaxLinear custom driver for USB UARTs overcomes the limitations of the native CDC-ACM driver. See https://www.exar.com/design-tools/software-drivers for a list of and access to the drivers that we currently have. In some cases, the MaxLinear driver can also be customized, or source code can be provided after executing a Software License Agreement.
Yes: Go to the product page (XR22804 example below), click on the documentation tab on left, click on “Sample USB UART GUI” under Software:
The following lines of code must be modified in the xr_usb_serial_hal.c file in the xr_usb_serial_set_flow_mode function at the end of the function:
xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_flow_addr, flow);
xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_gpio_mode_addr, gpio_mode);
xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_flow_addr, 0x0);
xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_gpio_mode_addr, 0x3);
xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_flow_addr, 0x0);
xr_usb_serial_set_reg(xr_usb_serial, xr_usb_serial->reg_map.uart_gpio_mode_addr, 0xB);
All of MaxLinear / Exar's USB UARTs are CDC class / CDC-ACM compliant, except for XR21B1421 which is an HID class device. This means they can use a native CDC driver. All major OS have native CDC drivers, except Windows prior to Windows 10.
None of the MaxLinear / Exar USB UARTs require their custom driver, however they will have certain limitations when not using it. The native CDC driver is not capable of accessing the internal memory map of any device. As a result, when using the native CDC driver, the device “defaults” to a particular configuration. The main implications of this default configuration are that hardware RTS/CTS flow control is enabled and that other settings / advance settings are not configurable. Some devices, for example the XR21B1411 which has an internal OTP memory, can be programmed to change this default configuration, but the configuration cannot be changed “on the fly”.