background image

 

USB232 Converter User Guide 

   

1-5 

1.6 UART Manager 

The UART Manager enables/disables the UART including the TX and RX FIFOs.  

1.6.1 Transmitter 

The transmitter consists of a 128-byte TX FIFO and a Transmit Shift Register (TSR). Once a bulk-out 
packet has been received and the CRC has been validated, the data bytes in that packet are written into the 
TX FIFO of the specified UART channel. Data from the TX FIFO is transferred to the TSR when the TSR is 
idle or has completed sending the previous data byte. The TSR shifts the data out onto the TX output pin at 
the data rate defined by the CLOCK_DIVISOR and TX_CLOCK_MASK registers. The transmitter sends 
the start bit followed by the data bits (starting with the LSB), inserts the proper parity-bit if enabled, and 
adds the stop-bit(s). The transmitter can be configured for 7 or 8 data bits with parity or 9 data bits with no 
parity. 

  

Internal
48MHz
Oscillator

USB Device
Interface

128-byte
TX FIFO

384-byte
RX FIFO

MODEM I/O

Internal
Status and 
Control
Registers

Baud
Rate
Generator

UART

TX

RX

RTS
CTS
DTR
DSR
CD
RI

XR21V1410

 

Figure 2-UART Block Diagram

 

1.6.2 Receiver 

The receiver consists of a 384-byte RX FIFO and a Receive Shift Register (RSR). Data that is received in 
the RSR via the RX pin is transferred into the RX FIFO along with any error tags such as Framing, Parity, 
Break and Overrun errors. Data from the RX FIFO can be sent to the USB host by sending a bulk-in packet.  

1.6.3 Automatic RTS/CTS Hardware Flow Control 

Automatic RTS flow control is used to prevent data overrun errors in local RX FIFO by de-asserting the 
RTS signal to the remote UART. When there is room in the RX FIFO, the RTS pin will be re-asserted. 
Automatic CTS flow control is used to prevent data overrun to the remote RX FIFO. The CTS# input is 
monitored to suspend/restart the local transmitter

.

 

1.6.4 Automatic DTR/DSR Hardware Flow Control 

Auto DTR/DSR hardware flow control behaves the same as the Auto RTS/CTS hardware flow control 
described above except that it uses the DTR# and DSR# signals.  

Summary of Contents for USB232

Page 1: ...USB232 Converter User Guide Revision C January 6 2011 Document Part Number GC 800 339c ...

Page 2: ......

Page 3: ...nformation contained herein Grid Connect Inc products are not designed intended authorized or warranted for use as components in systems intended for surgical implant into the body or in other applications intended to support or sustain life or in any other application in which the failure of a Grid Connect Inc product could create a situation where personal injury death or severe property or envi...

Page 4: ...ii USB232 Converter User Guide Disclaimer and Revisions Date Rev Author Comments 02 05 10 A GR Preliminary Release 09 08 10 B GR Updates to drivers 01 06 10 C GR Updates to drivers ...

Page 5: ...ll operate substantially for a period of 60 DAYS after the date of shipment In no event will Grid Connect be responsible to the user in contract in tort including negligence strict liability or otherwise for any special indirect incidental or consequential damage or loss of equipment plant or power system cost of capital loss of profits or revenues cost of replacement power additional expenses in ...

Page 6: ...ware Flow Control 1 5 1 6 5 1 4 6Automatic XON XOFF Software Flow Control 1 6 1 7 Schematic 1 6 1 7 1 USB Soft Connect 1 6 1 7 2 Transient Suppressor 1 6 1 7 3 USB UART 1 7 1 7 4 Sleep Mode 1 7 1 7 5 RS232 Transceiver 1 8 1 7 6 Power Supply 1 9 1 7 7 RS232 Activity LEDs 1 9 1 8 USB Cable Options 1 10 1 9 Software Requirements 1 10 List of Figures Figure 1 USB 232 Block Diagram 1 1 Figure 2 UART Bl...

Page 7: ...le with COMM ports go through a USB layer internally and suffer from the same problems The Exar USB UART hardware and software is by far the best solution to date The Exar evaluation board has been tested by a major motion control distributor and found to be compatible with almost all existing and legacy products as well as other vendor OEM products The USB232 converter design uses the Exar evalua...

Page 8: ...ic Software Xon Xoff Flow Control Sleep Mode for reduced power Powered directly from USB LEDs for Power TX and RX ESD protection diodes on RS232 lines Software drivers Windows 2000 XP Vista and Mac Optional EEPROM for vendor data 1 2 Design Reference The Exar USB UART 1 Channel Evaluation Board was used as the reference design for the USB232 converter design Exar XR21V1410IL16 QFN16 USB UART V1410...

Page 9: ...allation Windows XP Vista Follow these steps to install the Windows XP Vista driver 1 Connect the USB cable between the host computer and the USB232 target device 2 Windows will open a Found New Hardware Wizard window 3 Select NO not at this time to have Windows connect to Windows Update to search for software Click Next to continue 4 The wizard will assist in installing software for XR21V1410 USB...

Page 10: ...able Options on page 1 10 The USB interface of the V1410 is compliant with the USB 2 0 Full Speed Specifications The USB configuration model presented by the V1410 to the device driver is compatible to the Abstract Control Model of the USB Communication Device Class CDC ACM The V1410 uses the following set of parameters 1 Control Endpoint Endpoint 0 as outlined in the USB specifications 1 Configur...

Page 11: ...ice Interface 128 byte TX FIFO 384 byte RX FIFO MODEM I O Internal Status and Control Registers Baud Rate Generator UART TX RX RTS CTS DTR DSR CD RI XR21V1410 Figure 2 UART Block Diagram 1 6 2 Receiver The receiver consists of a 384 byte RX FIFO and a Receive Shift Register RSR Data that is received in the RSR via the RX pin is transferred into the RX FIFO along with any error tags such as Framing...

Page 12: ...s the gate charge voltage is increased the channel opens to allow USB 5VDC on J1 pin 1 to be applied to other circuits USB data is supplied on J1 pins 2 and 3 Figure 3 Soft Start 1 7 2 Transient Suppressor A USB Port Transient Suppressor U2 circuit has been added to the USB data lines The SN75240 is a dual transient voltage suppressor designed to provide electrical noise transient protection to Un...

Page 13: ...ired With the fractional baud rate generator any baud rate can accurately be generated using the internal 48MHz clock The large 128 byte FIFO and 384 byte RX FIFO of the V1410 helps to optimize the overall data throughput for various applications Software drivers for Windows 2000 XP and Vista are supported for the XR21V1410 See the EXAR website for additional drivers Figure 5 USB UART 1 7 4 Sleep ...

Page 14: ...erial data rates of 250kbps minimum under full load and while maintaining slew rates of less than 30V µs SP3245E is capable of high speed communication of up to 1Mbps ESD protection structures are incorporated on all pins to protect against electrostatic discharges encountered during handling and assembly The driver output and receiver inputs of the SP3244E 3245E have extra protection against stat...

Page 15: ... The LM1117 is a more robust switching regulator than the one used in the reference design D5 is an LED power indicator Figure 7 Power Supply 1 7 7 RS232 Activity LEDs An LED has been added for the RXD and TXD data lines LEDs are mounted so that the top sticks out of the case to provide a wide viewing angle Figure 8 RXD LED Figure 9 TXD LED ...

Page 16: ... allow the user to plug in different lengths of USB cables Contact Grid Connect sales to custom order the USB232 adapter Figure 10 USB 232 with B Connector 1 9 Software Requirements COMM Port drivers are supplied by EXAR The software CD contains this user manual and all current drivers Go to the EXAR web site for additional driver information You can reach EXAR tech support at uarttechsupport exar...

Page 17: ...USB232 Converter User Guide 1 1 ...

Reviews: