XR21B1421
Enhanced 1-Ch Full-Speed
USB HID to UART Bridge
FEATURES
General Description
• ±±15k ꢀES ꢁo UEBS+/UEBS-
• UEB 2.0 Cꢁmpliaot, Full-Epeed (±2Mbps)
• Uoique pre-prꢁgrammed UEB serial oumber
• Ioteroally geoerated 48MHz cꢁre clꢁc5
• ꢀohaoced UART features
The XR21B1421 is an enhanced Universal Asynchronous Receiver and
Transmitter (UART) bridge to HID class 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 no-chip OTP memory via the
USB interface using either HID reports or Exar-supplied OTP program-
ming tools.
• Baud rates up tꢁ ±2 Mbps
• Fractiꢁoal Baud Rate Geoeratꢁr
• 1±2-byte TX aod 1±2-byte RX FIFOs
• Autꢁ Hardware / Eꢁftware Flꢁw Cꢁotrꢁl
• Multidrꢁp aod Half-Suplex Mꢁdes
• Autꢁ RE-481 Half-Suplex Cꢁotrꢁl
• Eelectable GPIO ꢁr Mꢁdem I/O
• Up tꢁ ±0 GPIOs
• 1k tꢁleraot GPIO ioputs
• Euspeod state GPIO cꢁofiguratiꢁo
• Cꢁofigurable clꢁc5 ꢁutput
The XR21B1421 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 pro-
grammed either through on chip OTP, or on the fly via memory mapped
registers.
• 24-pio ꢁr 28-pio QFN pac5age
• Iodustrial -40°C tꢁ +81°C Temperature Raoge
Large 512-byte TX and RX FIFOs prevent buffer overflow errors and opti-
mize 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.
APPLICATIONS
• Pꢁrtable Medical Siagoꢁstics
• Blꢁꢁd Glucꢁse Meters
• Health aod Fitoess Welloess Mꢁoitꢁrs
• Uoioterruptible Pꢁwer Eupplies
• ꢀoergy Maoagemeot Cꢁosꢁles
The XR21B1421 uses the native OS HID driver using HID reports. The
HID reports perform a variety of functions, including device configuration,
transmitting and receiving UART data, and programming of the on-chip
OTP. Exar provides a .dll as an easy to use programming interface to the
HID reports.
The XR21B1421 operates from a single 5V or 3.3V power supply and is
available in a 24 or 28 pin QFN package. When powered with 5V input,
the XR21B1421 supplies a regulated 3.3V output. The 24 pin package
Ordering Information – page 50
has a separate V supply voltage input for the Modem / GPIO pins. The
IO
28 pin package has V internally tied to 3.3V.
IO
Block Diagram
Internal
Oscillator
(48MHz)
TX
RX
Fractional
BRG
512-byte
TX FIFO
512-byte
RX FIFO
USB
USB Slave Interface
Internal
Status and
Control
GPIOs/
Modem IO
Registers
USB
Descriptors
OTP
UART
LDO
3V3
1 / 50
exar.com/XR21B1421
Rev 1B
© 2014 Exar Corporation