USB UART ( USB - Serial) I.. The is the nd generation of FTI s popular USB UART I.. This device not only adds extra functionality to its FT8U3AM predecessor and reduces external component count, but also maintains a high degree of pin compatibility with the original, making it easy to upgrade or cost reduce existing designs as well as increasing the potential for using the device in new application areas..0 Features HARWARE FEATURES Single hip USB Asynchronous Serial ata IRTUAL OM PORT (P) RIERS for Transfer - Windows 98 and Windows 98 SE Full Handshaking & Modem Interface Signals - Windows 000 / ME / XP UART I/F Supports / 8 Bit ata, / Stop Bits - Windows E and Odd/Even/Mark/Space/o Parity - MA OS-8 and OS-9 ata rate 300 => 3M Baud (TTL) - MA OS-X ata rate 300 => M Baud (RS3) - Linux.0 and greater ata rate 300 => 3M Baud (RS/RS85) XX (USB irect rivers + LL S/W Interface) 38 Byte Receive Buffer / 8 Byte Transmit Buffer - Windows 98 and Windows 98 SE for high data throughput - Windows 000 / ME / XP Adjustable RX buffer timeout APPLIATIO AREAS Fully Assisted Hardware or X-On / X-Off - USB RS3 onverters Handshaking - USB RS / RS85 onverters In-built support for event characters and line break - Upgrading RS3 Legacy Peripherals to USB condition - ellular and ordless Phone USB data transfer Auto Transmit Buffer control for RS85 cables and interfaces Support for USB Suspend / Resume through - Interfacing MU based designs to USB SLEEP# and RI# pins - USB Audio and Low Bandwidth ideo data transfer Support for high power USB Bus powered devices - PA USB data transfer through PWRE# pin - USB Smart ard Readers Integrated level converter on UART and control - Set Top Box (S.T.B.) P - USB interface signals for interfacing to 5 and 3.3 logic - USB Hardware Modems Integrated 3.3 regulator for USB IO - USB Wireless Modems Integrated Power-On-Reset circuit - USB Instrumentation Integrated 6MHz 8Mhz clock multiplier PLL - USB Bar ode Readers USB Bulk or Isochronous data transfer modes.35 to 5.5 single supply operation UHI / OHI / EHI host controller compatible USB. and USB.0 compatible USB I, PI, Serial umber and Product escription strings in external EEPROM EEPROM programmable on-board via USB ompact 3-L LQFP package S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
.0 Enhancements USB UART ( USB - Serial) I.. This section summarises the enhancements of the nd generation device compared to its FT8U3AM predecessor. For further details, consult the device pin-out description and functional descriptions. Integrated Power-On-Reset (POR) ircuit The device now incorporates an internal POR function. The existing RESET# pin is maintained in order to allow external logic to reset the device where required, however for many applications this pin can now simply be hard wired to. In addition, a new reset output pin (RSTOUT#) is provided in order to allow the new POR circuit to provide a stable reset to external MU and other devices. RSTOUT# was the TEST pin on the previous generation of devices. Integrated RLK ircuit In the previous devices, an external R circuit was required to ensure that the oscillator and clock multiplier PLL frequency was stable prior to enabling the clock internal to the device. This circuit is now embedded on-chip the pin assigned to this function is now designated as the TEST pin and should be tied to for normal operation. This gating is now done on-chip - USBE has now been replaced with the new PWRE# signal which can be used to directly drive a transistor or P-hannel MOSFET in applications where power switching of external circuitry is required. A new EEPROM based option makes the device pull gently down its UART interface lines when the power is shut off (PWRE# is High). In this mode, any residual voltage on external circuitry is bled to when power is removed thus ensuring that external circuitry controlled by PWRE# resets reliably when power is restored. Lower Suspend urrent Integration of RLK within the device and internal design improvements reduce the suspend current of the to under 00uA (excluding the.5k pull-up on USBP) in USB suspend mode. This allows greater margin for peripherals to meet the USB Suspend current limit of 500uA. Integrated Level onverter on UART interface and control signals The previous devices would drive the UART and control signals at 5 MOS logic levels. The new device has a separate -IO pin allowing the device to directly interface to 3.3 and other logic families without the need for external level converter I.. s Improved Power Management control for USB Bus Powered, high current devices The previous devices had a USBE pin, which became active when the device was enumerated by USB. To provide power control, this signal had to be externally gated with SLEEP# and RESET#. Support for USB Isochronous Transfers Whilst USB Bulk transfer is usually the best choice for data transfer, the scheduling time of the data is not guaranteed. For applications where scheduling latency takes priority over data integrity such as transferring audio and low bandwidth video data, the new device now offers an option of USB Isochronous transfer via an option bit in the EEPROM. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
USB UART ( USB - Serial) I.. Programmable Receive Buffer Timeout In the previous device, the receive buffer timeout used to flush remaining data from the receive buffer was fixed at 6ms timeout. This timeout is now programmable over USB in ms increments from ms to 55ms, thus allowing the device to be better optimised for protocols requiring faster response times from short data packets. TXE Timing fix TXE timing has now been fixed to remove the external delay that was previously required for RS85 applications at high baud rates. TXE now works correctly during a transmit send-break condition. Relaxed ecoupling The nd generation devices now incorporate a level of on-chip decoupling. Though this does not eliminate the need for external decoupling capacitors, it significantly improves the ease of PB design requirements to meet F, E and other EMI related specifications. Improved PreScaler ranularity The previous version of the Prescaler supported division by (n + 0), (n + 0.5), (n + 0.5) and (n + 0.5) where n is an integer between and 6,38 ( ). To this we have added (n + 0.35), (n + 0.65), (n + 0.5) and (n+ 0.85) which can be used to improve the accuracy of some baud rates and generate new baud rates which were previously impossible (especially with higher baud rates). Bit Bang Mode The nd generation device has a new option referred to as Bit Bang mode. In Bit Bang mode, the eight UART interface control lines can be switched between UART interface mode and an 8-bit Parallel IO port. ata packets can be sent to the device and they will be sequentially sent to the interface at a rate controlled by the prescaler setting. As well as allowing the device to be used stand-alone as a general purpose IO controller for example controlling lights, relays and switches, some other interesting possibilities exist. For instance, it may be possible to connect the device to an SRAM configurable FPA as supplied by vendors such as Altera and Xilinx. The FPA device would normally be un-configured (i.e. have no defined function) at power-up. Application software on the P could use Bit Bang Mode to download configuration data to the FPA which would define its hardware function, then after the FPA device is configured the can switch back into UART interface mode to allow the programmed FPA device to communicate with the P over USB. This approach allows a customer to create a generic USB peripheral who s hardware function can be defined under control of the application software. The FPA based hardware can be easily upgraded or totally changed simply by changing the FPA configuration data file. Application notes, software and development modules for this application area will be available from FTI and other 3 rd parties. PreScaler ivide By Fix The previous device had a problem when the integer part of the divisor was set to. In the nd generation device setting the prescaler value to gives a baud rate of million baud and setting it to zero gives a baud rate of 3 million baud. oninteger division is not supported with divisor values of 0 and. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 3 of 5
USB UART ( USB - Serial) I.. Less External Support omponents As well as eliminating the RLK R network, and for most applications the need for an external reset circuit, we have also eliminated the requirement for a 00K pull-up on EES to select 6MHz operation. When the is being used without the configuration EEPROM, EES, EESK and EEATA can now be left n/c. For circuits requiring a long reset time (where the device is reset externally using a reset generator I.., or reset is controlled by the IO port of a MU, FPA or ASI device) an external transistor circuit is no longer required as the.5k pull-up resistor on USBP can be wired to the RSTOUT# pin instead of to 3.3. ote : RSTOUT# drives out at 3.3 level, not at 5 level. This is the preferred configuration for new designs. Multiple evice Support without EEPROM When no EEPROM (or a blank or invalid EEPROM) is attached to the device, the no longer gives a serial number as part of its USB descriptor. This allows multiple devices to be simultaneously connected to the same P. However, we still highly recommend that EEPROM is used, as without serial numbers a device can only be identified by which hub port in the USB tree it is connected to which can change if the end user re-plugs the device into a different port. Extended EEPROM Support The previous generation of devices only supported EEPROM of type 936 (6 x 6 bit). The new devices will also work with EEPROM type 9356 (8 x 6 bit) and 9366 (56 x 6 bit). The extra space is not used by the device, however it is available for use by other external MU / logic whilst the is being held in reset. USB.0 (full speed option) A new EEPROM based option allows the to return a USB.0 device descriptor as opposed to USB.. ote : The device would be a USB.0 Full Speed device (Mb/s) as opposed to a USB.0 High Speed device (80Mb/s). S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
USB UART ( USB - Serial) I.. 3.0 Block iagram (Simplified) PWRTL SLEEP# PWRE# 8MHz Baud Rate enerator 33OUT USBP USBM 3.3 olt LO Regulator USB Transceiver Serial Interface Engine ( SIE ) ual Port TX Buffer 8 bytes USB Protocol Engine UART FIFO ontroller UART TX RX RTS# TS# TR# SR# # RI# TXE TXLE# RXLE# USB PLL ual Port RX Buffer 38 Bytes XTOUT XTI 6MHZ Oscillator x8 lock Multiplier 8MHz MHz RESET# 33OUT RESET EERATOR EEPROM Interface EES EESK EEATA RSTOUT# TEST 3. Functional Block escriptions 3.3 LO Regulator The 3.3 LO Regulator generates the 3.3 volt reference voltage for driving the USB transceiver cell output buffers. It requires an external decoupling capacitor to be attached to the 33OUT regulator output pin. It also provides 3.3 power to the RSTOUT# pin. The main function of this block is to power the USB Transceiver and the Reset enerator ells rather than to power external logic. However, external circuitry requiring 3.3 nominal at a current of not greater than 5mA could also draw its power from the 33OUT pin if required. and two single ended receivers provide USB data in, SEO and USB Reset condition detection. USB PLL The USB PLL cell locks on to the incoming RZI USB data and provides separate recovered clock and data signals to the SIE block. 6MHz Oscillator The 6MHz Oscillator cell generates a 6MHz reference clock input to the x8 lock multiplier from an external 6MHz crystal or ceramic resonator. USB Transceiver The USB Transceiver ell provides the USB. / USB.0 full-speed physical interface to the USB cable. The output drivers provide 3.3 volt level slew rate control signalling, whilst a differential receiver S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 5 of 5
USB UART ( USB - Serial) I.. x8 lock Multiplier The x8 lock Multiplier takes the 6MHz input from the Oscillator cell and generates a MHz reference clock for the SIE, USB Protocol Engine and UART FIFO controller blocks. It also generates a 8MHz reference clock for the USB PPL and the Baud Rate enerator blocks. Serial Interface Engine (SIE) The Serial Interface Engine (SIE) block performs the Parallel to Serial and Serial to Parallel conversion of the USB data. In accordance to the USB.0 specification, it performs bit stuffing / unstuffing and R5 / R6 generation / checking on the USB data stream. USB Protocol Engine The USB Protocol Engine manages the data stream from the device USB control endpoint. It handles the low level USB protocol (hapter 9) requests generated by the USB host controller and the commands for controlling the functional parameters of the UART. ual Port TX Buffer (8 bytes) ata from the USB data out endpoint is stored in the ual Port TX buffer and removed from the buffer to the UART transmit register under control of the UART FIFO controller. ual Port RX Buffer (38 bytes) ata from the UART receive register is stored in the ual Port RX buffer prior to being removed by the SIE on a USB request for data from the device data in endpoint. UART FIFO ontroller The UART FIFO controller handles the transfer of data between the ual Port RX and TX buffers and the UART transmit and receive registers. of the data on the RS3 (RS and RS85) interface. ontrol signals supported by the UART include RTS, TS, SR, TR, and RI. The UART provides a transmitter enable control signal (TXE) to assist with interfacing to RS85 transceivers. The UART supports RTS/ TS, SR/TR and X-On/X-Off handshaking options. Handshaking, where required, is handled in hardware to ensure fast response times. The UART also supports the RS3 BREAK setting and detection conditions. Baud Rate enerator The Baud Rate enerator provides a x6 clock input to the UART from the 8MHz reference clock and consists of a bit prescaler and 3 register bits which provide fine tuning of the baud rate (used to divide by a number plus a fraction). This determines the Baud Rate of the UART which is programmable from 83 baud to 3 million baud. RESET enerator The Reset enerator ell provides a reliable power-on reset to the device internal circuitry on power up. An additional RESET# input and RSTOUT# output are provided to allow other devices to reset the or the to reset other devices respectively. uring reset, RSTOUT# is driven low, otherwise it drives out at the 3.3 provided by the onboard regulator. RSTOUT# can be used to control the.5k pull-up on USBP directly where delayed USB enumeration is required. It can also be used to reset other devices. RSTOUT# will stay highimpedance for approximately 5ms after has risen above 3.5 A the device oscillator is running A RESET# is high. RESET# should be tied to unless it is a requirement to reset the device from external logic or an external reset generator i.c. UART The UART performs asynchronous / 8 bit Parallel to Serial and Serial to Parallel conversion S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 6 of 5
USB UART ( USB - Serial) I.. EEPROM Interface Though the will work without the optional EEPROM, an external 936 (9356 or 9366) EEPROM can be used to customise the USB I, PI, Serial umber, Product escription Strings and Power escriptor value of the for OEM applications. Other parameters controlled by the EEPROM include Remote Wake Up, Isochronous Transfer Mode, Soft Pull own on Power-Off and USB.0 descriptor modes. The EEPROM should be a 6 bit wide configuration such as a Microhip 93L6B or equivalent capable of a Mb/s clock rate at =.35 to 5.5. The EEPROM is programmableon board over USB using a utility available from FTI s web site (http://www.ftdichip.com). This allows a blank part to be soldered onto the PB and programmed as part of the manufacturing and test process. If no EEPROM is connected (or the EEPROM is blank), the will use its built-in default I, PI Product escription and Power escriptor alue. In this case, the device will not have a serial number as part of the USB descriptor..0 evice Pin-Out 3 6 3 30 EESK EEATA RESET# RSTOUT# 33OUT USBP USBM 8 EES 3 TEST SLEEP# A RXLE# A TXLE# XTOUT IO XTI PWRTL PWRE# TX 5 FTI XXYY 9 6 TXE RX RTS# TS# TR# SR# # RI# 6 8 5 8 3 3 33OUT USBM USBP RSTOUT# RESET# XTI XTOUT EES EESK EEATA TEST A A 9 9 I O TX RX RTS# TS# TR# SR# # RI# TXE TXLE# RXLE# PWRTL PWRE# SLEEP# 5 3 0 9 8 6 5 0 Figure Pin-Out (LQFP-3 Package ) Figure Pin-Out (Schematic Symbol ) S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
USB UART ( USB - Serial) I... Signal escriptions Table - - PIOUT ESRIPTIO UART ITERFAE ROUP Pin# Signal Type escription 5 TX OUT Transmit Asynchronous ata Output RX I Receive Asynchronous ata Input 3 RTS# OUT Request To Send ontrol Output / Handshake signal TS# I lear To Send ontrol Input / Handshake signal TR# OUT ata Terminal Ready ontrol Output / Handshake signal 0 SR# I ata Set Ready ontrol Input / Handshake signal 9 # I ata arrier etect ontrol Input 8 RI# I Ring Indicator ontrol Input. When the Remote Wakeup option is enabled in the EEPROM, taking RI# low can be used to resume the P USB Host controller from suspend. 6 TXE OUT Enable Transmit ata for RS85 USB ITERFAE ROUP Pin# Signal Type escription USBP I/O USB ata Signal Plus ( Requires.5k pull-up to 33OUT or RSTOUT# ) 8 USBM I/O USB ata Signal Minus EEPROM ITERFAE ROUP Pin# Signal Type escription 3 EES I/O EEPROM hip Select. For 8MHz operation pull EES to using a 0K resistor. For 6MHz operation no resistor is required. Tri-State during device reset. **ote EESK OUT lock signal to EEPROM. Tri-State during device reset, else drives out. Adding a 0K pull down resistor onto EESK will cause the to use USB Product I 600 (hex) instead of 600 (hex). All of the other USB device descriptors are unchanged.**ote EEATA I/O EEPROM ata I/O onnect directly to ata-in of the EEPROM and to ata- Out of the EEPROM via a.k resistor. Also, pull ata-out of the EEPROM to via a 0K resistor for correct operation. Tri-State during device reset. **ote S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 8 of 5
POWER OTROL ROUP Pin# Signal Type escription USB UART ( USB - Serial) I.. 0 SLEEP# OUT oes Low during USB Suspend Mode. Typically used to power-down an external TTL to RS3 level converter i.c. in USB <=> RS3 converter designs. 5 PWRE# OUT oes Low after the device is configured via USB, then high during USB suspend. an be used to control power to external logic using a P-hannel Logic Level MOSFET switch. Enable the Interface Pull-own Option in EEPROM when using the PWRE# pin in this way. PWRTL I Bus Powered Tie Low / Self Powered Tie High (to IO) MISELLAEOUS SIAL ROUP Pin# Signal Type escription RESET# I an be used by an external device to reset the. If not required, tie to. 5 RSTOUT# OUT Output of the internal Reset enerator. Stays high impedance for ~ 5ms after > 3.5 and the internal clock starts up, then clamps its output to the 3.3v output of the internal regulator. Taking RESET# low will also force RSTOUT# to drive low. RSTOUT# is OT affected by a USB Bus Reset. TXLE# O.. LE rive - Pulses Low when Transmitting ata via USB RXLE# O.. LE rive - Pulses Low when Receiving ata via USB XTI I Input to 6MHz rystal Oscillator ell. This pin can also be driven by an external 6MHz clock if required. ote : Switching threshold of this pin is /, so if driving from an external source, the source must be driving at 5 MOS level or a.c. coupled to centre around /. 8 XTOUT OUT Output from 6MHz rystal Oscillator ell. XTOUT stops oscillating during USB suspend, so take care if using this signal to clock external logic. 3 TEST I Puts device in I.. test mode must be tied to for normal operation. POWER A ROUP Pin# Signal Type escription 6 33OUT OUT 3.3 volt Output from the integrated L..O. regulator This pin should be decoupled to using a 33nF ceramic capacitor in close proximity to the device pin. Its prime purpose is to provide the internal 3.3 supply to the USB transceiver cell and the RSTOUT# pin. A small amount of current (<= 5mA) can be drawn from this pin to power external 3.3v logic if required. 3,6 PWR +.35 volt to +5.5 volt to the device core, LO and non-uart interface pins. 3 IO PWR +3.0 volt to +5.5 volt to the UART interface pins 0..,..6 and 8..5. When interfacing with 3.3 external logic in a bus powered design connect IO to a 3.3 supply generated from the USB bus. When interfacing with 3.3 external logic in a self powered design connect IO to the 3.3 supply of the external logic. Otherwise connect to to drive out at 5 MOS level. 9, PWR evice - round Supply Pins 30 A PWR evice - Analog Power Supply for the internal x8 clock multiplier 9 A PWR evice - Analog round Supply for the internal x8 clock multiplier **ote - uring device reset, these pins are tri-state but pulled up to via internal 00K resistors. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 9 of 5
USB UART ( USB - Serial) I.. 5.0 Package Outline Figure 3 3 L LQFP Package imensions 3 9 Pin # FTI XXYY 9 0.8 o +/- o 0.3 +/- 0.0.60 MAX. +/- 0.05 0.5 0.09 Min 0. Max 0.35 +/- 0.05 0.09 Min 0.6 Max 0.05 Min 0.5 Max 0. Min 0.6 +/- 0.5 The is supplied in a 3 L LQFP package as standard. This package has a mm x mm body ( 9mm x 9mm including leads ) with leads on a 0.8mm pitch. A lead free version is available on special request. An alternative 5mm x 5mm leadless chip scale package (.S.P.) is also available on special request for projects where package area is critical. ontact support@ftdichip.com for package details and availability. The above drawing shows the LQFP-3 package all dimensions are in millimetres. XXYY = ate ode where XX = digit year number, YY = digit week number; or XYY- where X = digit year number, YY = digit week number. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 0 of 5
6.0 Absolute Maximum Ratings USB UART ( USB - Serial) I.. These are the absolute maximum ratings for the device in accordance with the Absolute Maximum Rating System (IE 603). Exceeding these may cause permanent damage to the device. Storage Temperature... 65 o to + 50 o Floor Life (Out of Bag) at Factory Ambient (30 o /60% Relative Humidity)...9 Hours **ote (Level 3 ompliant) Ambient Temperature (Power Applied)... 0 o to + 0 o M.T.B.F. (at 35 o ).. Years Supply oltage...... -0.5 to +6.00 Input oltage - Inputs... -0.5 to + 0.5 Input oltage - High Impedance Bidirectionals... -0.5 to + 0.5 Output urrent Outputs... ma Output urrent Low Impedance Bidirectionals... ma Power issipation ( = 5.5).... 500mW Electrostatic ischarge oltage (Human Body Model) (I < ua)... +/- 3000 Latch Up urrent (i = +/- 0 maximum, for 0 ms)... +/-00mA **ote If devices are stored out of the packaging beyond this time limit the devices should be baked before use. The devices should be ramped up to a temperature of 0 o and baked for 8 to 0 hours. 6... haracteristics haracteristics ( Ambient Temperature = 0 to 0 o ) Operating oltage and urrent Parameter escription Min Typ Max Units onditions cc Operating Supply oltage.35 5.0 5.5 cc IO Operating Supply oltage 3.0-5.5 Icc Operating Supply urrent - 5 - ma ormal Operation Icc Operating Supply urrent - 80 00 ua USB Suspend **ote 3 **ote 3 Supply current excludes the 00uA nominal drawn by the external pull-up resistor on USBP. UART IO Pin haracteristics ( IO = 5.0 ) Parameter escription Min Typ Max Units onditions oh Output oltage High 3...9 I source = ma ol Output oltage Low 0.3 0. 0.6 I sink = ma in Input Switching Threshold.3.6.9 **ote Hys Input Switching Hysteresis 50 55 60 m S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
USB UART ( USB - Serial) I.. UART IO Pin haracteristics ( IO = 3.0-3.6 ) Parameter escription Min Typ Max Units onditions oh Output oltage High.. 3. I source = ma ol Output oltage Low 0.3 0. 0.5 I sink = ma in Input Switching Threshold.0..5 **ote Hys Input Switching Hysteresis 0 5 30 m **ote Inputs have an internal 00K pull-up resistor to IO. XTI / XTOUT Pin haracteristics Parameter escription Min Typ Max Units onditions oh Output oltage High.0-5.0 Fosc = 6MHz ol Output oltage Low 0. -.0 Fosc = 6MHz in Input Switching Threshold.8.5 3. RESET#, TEST, EES, EESK, EEATA Pin haracteristics Parameter escription Min Typ Max Units onditions oh Output oltage High 3...9 I source = ma ol Output oltage Low 0.3 0. 0.6 I sink = ma in Input Switching Threshold.3.6.9 **ote 5 Hys Input Switching Hysteresis 50 55 60 m **ote 5 EES, EESK and EEATA pins have an internal 00K pull-up resistor to RSTOUT Pin haracteristics Parameter escription Min Typ Max Units onditions oh Output oltage High 3.0-3.6 I source = ma ol Output oltage Low 0.3-0.6 I sink = ma USB IO Pin haracteristics Parameter escription Min Typ Max Units onditions Uoh IO Pins Static Output ( High).8 3.6 RI =.5K to 33Out ( + ) RI = 5K to ( - ) Uol IO Pins Static Output ( Low ) 0 0.3 RI =.5K to 33Out ( + ) RI = 5K to ( - ) Use Single Ended Rx Threshold 0.8.0 Uom ifferential ommon Mode 0.8.5 Uif ifferential Input Sensitivity 0. UrvZ river Output Impedance 9 Ohm **ote 5 **ote 5 river Output Impedance includes the external R series resistors on USBP and USBM pins. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
USB UART ( USB - Serial) I...0 evice onfiguration Examples. Oscillator onfigurations Figure 3-Pin eramic Resonator onfiguration Figure 5 rystal or -Pin eramic Resonator onfiguration FT3BM pf XTI XTI 3-Pin Resonator 6MHz M - Pin Resonator or rystal 6MHz pf 8 XTOUT 8 XTOUT Figure illustrates how to use the with a 3-Pin eramic Resonator. A suitable part would be a ceramic resonator from Murata s ERALOK range. (Murata Part umber STR6M005), or equivalent. 3-Pin ceramic resonators have the load capacitors built into the resonator so no external loading capacitors are required. This makes for an economical configuration. The accuracy of this Murata ceramic resonator is +/- 0.% and it is specifically designed for USB full speed applications. A MegaOhm loading resistor across XTI and XTOUT is recommended in order to guarantee this level of accuracy. Other ceramic resonators with a lesser degree of accuracy (typically +/- 0.5%) are technically out-with the USB specification, but it has been calculated that using such a device will work satisfactorily in practice with a design. Figure 5 illustrates how to use the with a 6MHz rystal or -Pin eramic Resonator. In this case, these devices do not have in-built loading capacitors so these have to be added between XTI, XTOUT and as shown. A value of pf is shown as the capacitor in the example this will be good for many crystals and some resonators but do select the value based on the manufacturers recommendations wherever possible. If using a crystal, use a parallel cut type. If using a resonator, see the previous note on frequency accuracy. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 3 of 5
USB UART ( USB - Serial) I... EEPROM onfiguration Figure 6 EEPROM onfiguration k 0k 3 EES EESK EEATA EEPROM - 936 / 56 / 66 8 S SK 3 6 I 5 OUT Figure 6 illustrates how to connect the to the 936 (9356 or 9366) EEPROM. EES (pin 3) is directly connected to the chip select (S) pin of the EEPROM. EESK (pin ) is directly connected to the clock (SK) pin of the EEPROM. EEATA (pin ) is directly connected to the ata In (in) pin of the EEPROM. There is a potential condition whereby both the ata Output (out) of the EEPROM can drive out at the same time as the EEATA pin of the. To prevent potential data clash in this situation, the out of the EEPROM is connected to EEATA of the via a.k resistor. Following a power-on reset or a USB reset, the will scan the EEPROM to find out (a) if an EEPROM is attached to the evice and (b) if the data in the device is valid. If both of these are the case, then the will use the data in the EEPROM, otherwise it will use its built-in default values. When a valid command is issued to the EEPROM from the, the EEPROM will acknowledge the command by pulling its out pin low. In order to check for this condition, it is necessary to pull out high using a 0K resistor. If the command acknowledge doesn t happen then EEATA will be pulled high by the 0K resistor during this part of the cycle and the device will detect an invalid command or no EEPROM present. There are two varieties of these EEPROM s on the market one is configured as being 6 bits wide, the other is configured as being 8 bits wide. These are available from many sources such as Microchip, STMicro, ISSI etc. The requires EEPROM s with a 6-bit wide configuration such as the Microchip 93L6B device. The EEPROM must be capable of reading data at a Mb clock rate at a supply voltage of.35 to 5.5. Most available parts are capable of this. heck the manufacturers data sheet to find out how to connect pins 6 and of the EEPROM. Some devices specify these as no-connect, others use them for selecting 8 / 6 bit mode or for test functions. Some other parts have their pinout rotated by 90 o so please select the required part and its options carefully. It is possible to share the EEPROM between the and another external device such as an MU. However, this can only be done when the is in its reset condition as it tri-states its EEPROM interface at that time. A typical configuration would use four bit s of an MU IO Port. One bit would be used to hold the reset (using RESET#) on power-up, the other three would connect to the EES, EESK and EEATA pins of the in order to read / write data to the EEPROM at this time. Once the MU has read / written the EEPROM, it would take RESET# high to allow the to configure itself and enumerate over USB. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
.3 USB Bus Powered and Self Powered onfiguration Figure USB Bus Powered onfiguration USB UART ( USB - Serial) I.. USB "B" onnector 3 Ferrite Bead R R 0nF 6 33nF 3 6 3 3v3OUT I O 0R 30 A 8 USB M USB P k5 + 5 RSTOUT# RESET# POWERTL A 0uF 9 9 ecoupling apacitors Figure illustrates a typical USB bus powered configuration. A USB Bus Powered device gets its power from the USB bus. Basic rules for USB Bus power devices are as follows a) On plug-in, the device must draw no more than 00mA b) On USB Suspend the device must draw no more than 500uA. c) A Bus Powered High Power evice (one that draws more than 00mA) should use the PWRE# pin to keep the current below 00mA on plug-in and 500uA on USB suspend. d) A device that consumes more than 00mA can not be plugged into a USB Bus Powered Hub e) o device can draw more that 500mA from the USB Bus. PWRTL (pin ) is pulled low to tell the device to use a USB Bus Power descriptor. The power descriptor in the EEPROM should be programmed to match the current draw of the device. A Ferrite Bead is connected in series with USB power to prevent noise from the device and associated circuitry (EMI) being radiated down the USB cable to the Host. The value of the Ferrite Bead depends on the total current required by the circuit a suitable range of Ferrite Beads is available from Steward (www.steward.com) for example Steward Part # MI0805K00R-00 also available as igikey Part # 0-035-. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 5 of 5
Figure 8 USB Self Powered onfiguration USB UART ( USB - Serial) I.. USB "B" onnector 3 R R 6 33nF 3 6 3 3v3OUT I O 0R 30 A k 8 USB M USB P 0k k5 5 RSTOUT# + RESET# POWERTL A 0uF 9 9 ecoupling apacitors Figure 8 illustrates a typical USB self powered configuration. A USB Self Powered device gets its power from its own POWER SUPPLY and does not draw current from the USB bus. The basic rules for USB Self power devices are as follows a) A Self-Powered device should not force current down the USB bus when the USB Host or Hub ontroller is powered down. b) A Self Powered evice can take as much current as it likes during normal operation and USB suspend as it has its own POWER SUPPLY. c) A Self Powered evice can be used with any USB Host and both Bus and Self Powered USB Hubs PWRTL (pin ) is pulled high to tell the device to use a USB Bus Power descriptor. The power descriptor in the EEPROM should be programmed to a value of zero. The USB power descriptor option in the EEPROM should be programmed to a value of zero (self powered). To meet requirement a) the.5k pull-up resistor on USBP is connected to RSTOUT# as per the bus-power circuit. However, the USB Bus Power is used to control the RESET# Pin of the device. When the USB Host or Hub is powered up RSTOUT# will pull the.5k resistor on USBP to 3.3, thus identifying the device as a full speed device to USB. When the USB Host or Hub power is off, RESET# will go low and the device will be held in reset. As RESET# is low, RSTOUT# will also be low, so no current will be forced down USBP via the.5k pull-up resistor when the host or hub is powered down. Failure to do this may cause some USB host or hub controllers to power up erratically. ote : When the is in reset, the UART interface pins all go tri-state. These pins have internal 00K pull-up resistors to IO, so they will gently pull high unless driven by some external logic. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 6 of 5
. UART Interface onfiguration USB UART ( USB - Serial) I.. Figure 9 USB <=> RS3 onverter onfiguration 5 PWRE# 0 5 SLEEP# SH# SP3EHA E B9-M TX 5 TIn TOut 3 TX RX ROut RIn 3 RX RTS# 3 0 T3In T3Out RTS TS# 8 ROut RIn 9 8 TS TR# 6 TIn TOut 3 TR SR# 0 5 ROut RIn 6 SR # 9 6 R3Out R3In RI# 8 9 R5Out R5In 6 9 RI TXE 6 TIn TOut 8 5 + + 5 - - 6 - + 3 0 Figure 9 illustrates how to connect the UART interface of the to a TTL RS3 Level onverter I.. to make a USB <=> RS3 converter using the popular 3 series of TTL to RS3 level converters. These devices have transmitters and 5 receivers in a 8 L SSOP package and feature an in-built voltage converter to convert the 5v (nominal) to the +/- 9 volts required by RS3. An important feature of these devices is the SH# pin which can power down the device to a low quiescent current during USB suspend mode The device used in the example is a Sipex SP3EHA which is capable of RS3 communication at up to 500K baud. If a lower baud rate is acceptable, then several pin compatible alternatives are available such as Sipex SP3EA, Maxim MAX3AI and Analog evices AM3E which are good for communication at up to 5,00 baud. If a higher baud rate is desired, use a Maxim MAX35AI part which is capable of RS3 communication at rates of up to M baud. The MAX35 is not pin compatible with the 3 series devices, also its SH pin is active high so connect this to PWRE# instead of SLEEP#. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
Figure 0 USB <=> RS onverter onfiguration PWRE# SLEEP# TX RX 5 0 5 5 3 USB UART ( USB - Serial) I.. SP9 B9-M 0 9 TXM TXP RXP R 0R RTS# 3 6 RXM TS# TR# SR# # RI# TXE 0 9 8 6 5 3 6 R SP9 0 9 0R RTSM RTSP TSP TSM Figure 0 illustrates how to connect the UART interface of the to a TTL RS Level onverter I.. to make a USB <=> RS converter. There are many such level converter devices available this example uses Sipex SP9 devices which have enables on both the transmitter and receiver. Because the transmitter enable is active high, it is connected to the SLEEP# pin. The receiver enable is active low and is connected to the PWRE# pin. This ensures that both the transmitters and receivers are enabled when the device is active, and disabled when the device is in USB suspend mode. If the design is USB BUS powered, it may be necessary to use a P-hannel logic level MOSFET (controlled by PWRE#) in the line of the SP9 devices to ensure that the USB standby current of 500uA is met. The SP9 is good for sending and receiving data at a rate of up to 5M Baud in this case the maximum rate is limited to 3M Baud by the. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 8 of 5
Figure USB <=> RS85 onverter onfiguration PWRE# SLEEP# TX RX RTS# 5 0 5 3 3 R USB UART ( USB - Serial) I.. B9-M 8 SP8 M 6 P TS# 5 0R TR# SR# 0 LIK # 9 RI# 8 TXE 6 Figure illustrates how to connect the UART interface of the to a TTL RS85 Level onverter I.. to make a USB => RS85 converter. This example uses the Sipex SP8 device but there are similar parts available from Maxim and Analog evices amongst others. The SP8 is a RS85 device in a compact 8 pin SOP package. It has separate enables on both the transmitter and receiver. With RS85, the transmitter is only enabled when a character is being transmitted from the UART. The TXE pin on the is provided for exactly that purpose and so the transmitter enable is wired to TXE. The receiver enable is active low, so it is wired to the PWRE# pin to disable the receiver when in USB suspend mode. RS85 is a multi-drop network i.e. many devices can communicate with each other over a single two wire cable connection. The RS85 cable requires to be terminated at each end of the cable. A link is provided to allow the cable to be terminated if the device is physically positioned at either end of the cable. In this example the data transmitted by the is also received by the device that is transmitting. This is a common feature of RS85 and requires the application software to remove the transmitted data from the received data stream. With the it is possible to do this entirely in hardware simply modify the schematic so that RX of the is the logical OR of the SP8 receiver output with TXE using an H3 or similar logic gate. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 9 of 5
.5 LE Interface USB UART ( USB - Serial) I.. Figure ual LE onfiguration IO Figure 3 Single LE onfiguration IO TX RX LE 0R 0R 0R TXLE# TXLE# RXLE# RXLE# The has two IO pins dedicated to controlling LE status indicators, one for transmitted data the other for received data. When data is being transmitted / received the respective pins drive from tri-state to low in order to provide indication on the LEs of data transfer. A digital one-shot timer is used so that even a small percentage of data transfer is visible to the end user. Figure shows a configuration using two individual LE s one for transmitted data the other for received data. In Figure 3, the transmit and receive LE indicators are wire-or ed together to give a single LE indicator which indicates any transmit or receive data activity. Another possibility (not shown here) is to use a 3 pin common anode tri-color LE based on the circuit in Figure 3 to have a single LE that can display activity in a variety of colors depending on the ratio of transmit activity compared to receive activity. ote that the LE s are connected to IO. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 0 of 5
.6 Interfacing to 3.3v Logic USB UART ( USB - Serial) I.. Figure Bus Powered ircuit with 3.3 logic drive / supply voltage 3.3v LO Regulator 3.3v Power to External Logic In Out nd USB "B" onnector 3 Ferrite Bead R R 0nF 33nF 6 3 6 3 3v3OUT I O 0R 30 A 8 USB M USB P Figure shows how to configure the to interface with a 3.3 logic device. In this example, a discrete 3.3 regulator is used to supply the 3.3 logic from the USB supply. IO is connected to the output of the 3.3 regulator, which in turn will cause the UART interface IO pins to drive out at 3.3 level. For USB bus powered circuits some considerations have to be taken into account when selecting the regulator a) The regulator must be capable of sustaining its output voltage with an input voltage of.35 volts. A Low rop Out (LO) regulator must be selected. b) The quiescent current of the regulator must be low in order to meet the USB suspend total current requirement of <= 500uA during USB suspend. An example of a regulator family that meets these requirements is the Microhip (Telcom) T55 Series. These devices can supply up to 50mA current and have a quiescent current of under ua. In some cases, where only a small amount of current is required (< 5mA), it may be possible to use the in-built regulator of the to supply the 3.3v without any other components being required. In this case, connect IO to the 3v3OUT pin of the. ote : It should be emphasised that the 3.3 supply for IO in a bus powered design with a 3.3 logic interface should come from an LO which is supplied by the USB bus, or from the 33OUT pin of the, and not from any other source. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
USB UART ( USB - Serial) I.. Figure 5 Self Powered ircuit with 3.3 logic drive / supply voltage 3 USB "B" onnector 3 R R 33nF 6 30 A 3v3OUT 0R 3 6 I O 3 5 K 8 USB M 0K K5 USB P 3 5 RSTOUT# PWRTL 5 + 0uF RESET# A 9 9 ecoupling apacitors Figure 5 is an example of a USB self powered design with 3.3 interface. In this case IO is supplied by an external 3.3 supply in order to make the device IO pins drive out at 3.3 logic level, thus allowing it to be connected to a 3.3 MU or other external logic. A USB self powered design uses its own power supplies, and does not draw any of its power from the USB bus. In such cases, no special care need be taken to meet the USB suspend current (0.5 ma) as the device does not get its power from the USB port. As with bus powered 3.3 interface designs, in some cases, where only a small amount of current is required (<5mA), it may be possible to use the in-built regulator of the to supply the 3.3 without any other components being required. In this case, connect IO to the 3v3OUT pin of the. ote that in this case PWRTL is pulled up to IO, not. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
USB UART ( USB - Serial) I... Power Switching Figure 6 Bus Powered ircuit ( <= 00mA ) with Power ontrol P-hannel Power MOSFET s d Switched 5v Power to External Logic g Soft Start K ircuit USB "B" onnector 3 Ferrite Bead R R 0nF 33nF 6 3 6 3 3v3OUT I O 0R 30 A 8 USB M PWRE# 5 USB P USB Bus powered circuits need to be able to power down in USB suspend mode in order to meet the <= 500uA total suspend current requirement (including external logic). Some external logic can power itself down into a low current state by monitoring the PWRE# pin. For external logic that cannot power itself down in that way, the provides a simple but effective way of turning off power to external circuitry during USB suspend. Figure 6 shows how to use a discrete P-hannel Logic Level MOSFET to control the power to external logic circuits. A suitable device could be a Fairchild T56P, or International Rectifier IRLML60, or equivalent. It is recommended that a soft start circuit consisting of a K series resistor and a 0. uf capacitor are used to limit the current surge when the MOSFET turns on. Without the soft start circuit there is a danger that the transient power surge of the MOSFET turning on will reset the, or the USB host / hub controller. The values used here allow attached circuitry to power up with a slew rate of ~.5 per millisecond, in other words the output voltage will transition from to 5 in approximately 00 microseconds. Alternatively, a dedicated power switch i.c. with inbuilt soft-start can be used instead of a MOSFET. A suitable power switch I.. for such an application would be a Micrel (www.micrel.com) MI05-BM or equivalent. Please note the following points in connection with power controlled designs a) The logic to be controlled must have its own reset circuitry so that it will automatically reset itself when power is reapplied on coming out of suspend. b) Set the Pull-down on Suspend option in the s EEPROM. c) For USB high-power bus powered device (one that consumes greater than 00 ma, and up to 500 ma of current from the USB bus), the power consumption of the device should be set in the max power field in the EEPROM. A high-power bus powered device must use this descriptor in the EEPROM to inform the system of its power requirements. d) For 3.3 power controlled circuits IO must not be powered down with the external circuitry (PWRE# gets its supply from IO). Either connect the power switch between the output of the 3.3 regulator and the external 3.3 logic OR if appropriate power IO from the 33OUT pin of the. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 3 of 5
USB UART ( USB - Serial) I.. 8.0 ocument Revision History S3B ersion.0 Initial document created 30 April 00. S3B ersion. Updated 0 August 00 Section. RESET# Pin description corrected (RESET# does not have an internal 00k pull-up to as previously stated). Figure pin-out corrected (EES = Pin 3). S3B ersion. Updated October 003 Pin and package naming made consistent throughout data sheet. Section.0 Updated to reflect availability of Mac OS X driver. Section.0 Minor corrections. Section 3. Minor changes to functional block descriptions of SIE, RESET enerator, and EEPROM interface. Section. ote added to EEPROM interface group. Section. RSTOUT# Pin description amended. Section 6. Minimum operating supply voltage adjusted. Section 6. EESK added to ote 3. Section 6. UART IO pin characteristics amended. Section 6. RESET#, TEST, EES, EESK, and EEATA pin characteristics amended. Section 6. RSTOUT pin characteristics amended. Section. Updated recommended ceramic resonator part number and circuit configuration. Section.3 USB Self Powered onfiguration () (original figure 8 removed). Recommended circuit for USB self powered designs updated. Subsequent figure numbers have changed as a result. Section.6 ote added to description of Bus powered circuit with 3.3 logic drive / supply voltage. Section.6 Self Powered ircuit with 3.3 logic drive / supply voltage added (new figure 6). S3B ersion.3 Updated 0 ecember 003 Section 5.0 Package drawing amended Section 6.0 Floor Life / Relative Humidity specification added. ES and Latch Up specifications amended. Section. Required resonator / crystal accuracy corrected. S3B ersion. Updated 0 February 00 rammar orrecttions Section 0.0 FTI Address Updated Section.0 Extended EEPROM Support corrected Section. IO Pin description amended. Section. RS85 Example Sipex SP8 part number corrected. S3B ersion.5 Updated April 00 Section. EESK Pin escription amended. Section.6 Figure 6 PWRTL Pin number corrected. Section. Figure 5 PWRE# Pin number corrected. S3B ersion.6 Updated ovember 00 Section.0 WinE drivers now available. Section 5.0 ate code format updated. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page of 5
USB UART ( USB - Serial) I.. 9.0 isclaimer Future Technology evices International Limited, 00-00 either the whole nor any part of the information contained in, or the product described in this manual, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. This product and its documentation are supplied on an as-is basis and no warranty as to their suitability for any particular purpose is either made or implied. Future Technology evices International Ltd. will not accept any claim for damages howsoever arising as a result of use or failure of this product. Your statutory rights are not affected. This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of the product might reasonably be expected to result in personal injury. This document provides preliminary information that may be subject to change without notice. 0.0 ontact Information Future Technology evices Intl. Limited 33 Scotland Street lasgow 5 8QB, United Kingdom. Tel : + ( 0 ) 9 Fax : + ( 0 ) 9 58 E-Mail ( Sales ) : sales@ftdichip.com E-Mail ( Support ) : support@ftdichip.com E-Mail ( eneral Enquiries ) : admin@ftdichip.com Web Site URL : http://www.ftdichip.com Agents and Sales Representatives At the time of writing our Sales etwork covers over 0 different countries world-wide. Please visit the Sales etwork page of our Web site for the contact details our distributor(s) in your country. S3B ersion.6 Future Technology evices Intl. Ltd. 00 Page 5 of 5