Future Technology Devices International LTD Ft232Bm Usb Uart Ic
Future Technology Devices International LTD Ft232Bm Usb Uart Ic
Future Technology Devices International LTD Ft232Bm Usb Uart Ic
: FTDI# 133
The FT232BM is a USB to serial UART interface with the following advanced features:
Single chip USB to asynchronous serial data transfer interface. Full Handshaking & Modem Interface Signals Adjustable RX buffer timeout Fully Assisted Hardware or X-On / X-Off Handshaking In-built support for event characters and line break condition Auto Transmit Buffer control for RS485 Support for USB Suspend / Resume through SLEEP# and RI# pins Support for high power USB Bus powered devices through PWREN# pin Data transfer rates from 300 baud to 3 Mbaud (RS422, RS485, and RS232) at TTL levels. 384 byte receive buffer and 128 byte transmit buffer utilising buffer smoothing technology to allow for high data throughput. UART interface support for 7 or 8 data bits, 1 or 2 stop bits and odd / even / mark / space / no parity Integrated level converter on UART and control signals for interfacing to 5V and 3.3V logic Integrated 3.3V regulator for USB IO Integrated Power-On-Reset circuit Integrated 6MHz - 48Mhz clock multiplier PLL 4.35V to 5.25V single supply operation UHCI / OHCI / EHCI host controller compatible USB 1.1 and USB 2.0 compatible USB VID, PID, Serial Number and Product Description strings in external EEPROM EEPROM programmable on-board via USB Compact 32-pin LQFP package
Neither 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 Devices 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. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH United Kingdom. Scotland Registered Company Number: SC136640
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Typical Applications
USB to RS232 / RS422 / RS485 Converters Upgrading Legacy Peripherals to USB Cellular and Cordless Phone USB data transfer cables and interfaces Interfacing MCU / PLD / FPGA based designs to USB USB Audio and Low Bandwidth Video data transfer PDA to USB data transfer USB Smart Card Readers USB Instrumentation USB Industrial Control USB MP3 Player Interface USB FLASH Card Reader and Writers Set Top Box PC - USB interface USB Digital Camera Interface USB Hardware Modems USB Wireless Modems USB Bar Code Readers
Royalty free D2XX Direct Drivers (USB Drivers + DLL S/W Interface)
Windows 7 32, 64-bit Windows Vista and Vista 64-bit Windows XP and XP 64-bit Windows 98, 98SE, ME, 2000, Server 2003, XP and Server 2008 Windows XP Embedded Windows CE 4.2, 5.0 and 6.0 Linux 2.4 and greater Mac OS 8/9, OS-X
The drivers listed above are all available to download for free from FTDI website (www.ftdichip.com). Various 3rd party drivers are also available for other operating systems - see FTDI website www.ftdichip.com for details
FT232BM-xxxx
Table 1.1 Part Numbers
32 Pin LQFP
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Table of Contents
1
1.1 1.2
2 3
3.1 3.2
FT232BM Block Diagram ............................................................... 3 Device Pin Out and Signal Description .......................................... 5
32 Pin LQFP Package........................................................................... 5 LQFP Package Pin Out Description ...................................................... 6
4
4.1 4.2
5
5.1 5.2
6
6.1 6.2 6.3
6.3.1 6.3.2
6.4
7
7.1 7.2
8
8.1 8.2 8.3
9 10 11 12
LED Interface Configuration ....................................................... 24 Internal EEPROM Configuration .................................................. 25 Package Parameters ................................................................... 26 Contact Information ................................................................... 27
Appendix A References and Application Notes ........................................ 28 Appendix B List of Figures and Tables .................................................... 29 Appendix C - Revision History .................................................................... 30
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Name
USBDP USBDM
Type
I/O I/O
Description
USB Data Signal Plus ( Requires 1.5k pull-up to 3V3OUT or RSTOUT# ) USB Data Signal Minus
Pin No.
Name
Type
Description
+3.0 volt to +5.25 volt VCC to the UART interface pins 10...12, 14...16 and 18...25. When interfacing with 3.3V external logic in a bus powered design connect VCCIO to a 3.3V supply generated from the USB bus. When interfacing with 3.3V external logic in a self powered design connect VCCIO to the 3.3V supply of the external logic. Otherwise connect to VCC to drive out at 5V CMOS level. Device ground supply pins 3.3 volt Output from the integrated LDO regulator This pin should be decoupled to GND using a 33nF ceramic capacitor in close proximity to the device pin. Its prime purpose is to provide the internal 3.3V 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. +4.35 volt to +5.25 volt VCC to the device core, LDO and non-UART interface pins Device analogue power supply for internal x8 clock multiplier Device analogue ground supply for internal x8 clock multiplier
13
VCCIO
PWR
9,17
GND
PWR
3V3OUT
Output
3,26 30 29
Pin No. 4
Name RESET#
Type Input
Description Active low reset pin. This can be used by an external device to reset the FT232BM. If not required can be left unconnected, or pulled up to VCC. Output of the internal Reset Generator. Stays high impedance for ~ 5ms after VCC > 3.5V and the internal clock starts up, and 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 NOT affected by a USB Bus Reset LED Drive - Pulses Low when Transmitting Data via USB LED Drive - Pulses Low when Receiving Data via USB Input to 6MHz Crystal Oscillator Cell. This pin can also be driven by an external 6MHz clock if required. Note: Switching threshold of this pin is VCC/2, so if driving from an external source, the source must be driving at 5V CMOS level or ACcoupled to centre around VCC/2. Output from 6MHz Crystal Oscillator Cell. XTOUT stops oscillating during USB suspend, so take care if using this signal to clock external logic. Puts the device into IC test mode. Must be tied to GND for normal operation, otherwise the device will appear to fail.
RSTOUT#
Output
12 11
TXLED# RXLED#
O.C O.C
27
XTIN
Input
28
XTOUT
Output
31
TEST
Input
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133 Pin No.
25 24 23 21 22 20 19
Name
TXD RXD RTS# DTR# CTS# DSR# DCD#
Type
Output Input Output Output Input Input Input
Description
Transmit Asynchronous Data Output. Receiving Asynchronous Data Input Request to Send Control Output / Handshake Signal. Data Terminal Ready Control Output / Handshake Signal. Clear To Send Control Input / Handshake Signal. Data Set Ready Control Input / Handshake Signal. Data Carrier Detect Control Input. Ring Indicator Control Input. When remote wake up is enabled in the internal EEPROM taking RI# low (20ms active low pulse) can be used to resume the PC USB host controller from suspend. Enable Transmit Data for RS485.
18
RI#
Input
16
TXDEN
Output
Pin No.
32
Name
EECS
Type
I/O
Description
EEPROM Chip Select. For 48MHz operation pull EECS to GND using a 10K resistor. For 6MHz operation no resistor is required. Tri-State during device reset. **Note 1 Clock signal to EEPROM. Tri-State during device reset, else drives out. Adding a 10K pull down resistor onto EESK will cause the FT232BM to use USB Product ID 6004 (hex) instead of 6001 (hex). All of the other USB device descriptors are unchanged.**Note 1 EEPROM Data I/O Connect directly to Data-In of the EEPROM and to Data-Out of the EEPROM via a 2.2K resistor. Also, pull Data-Out of the EEPROM to VCC via a 10K resistor for correct operation. Tri-State during device reset. **Note 1
EESK
Output
EEDATA
I/O
Pin No.
10
Name
SLEEP#
Type
Output
Description
Goes Low during USB Suspend Mode. Typically used to power-down an external TTL to RS232 level converter IC in USB <=> RS232 converter designs Goes Low after the device is configured via USB, then high during USB suspend. Can be used to control power to external logic using a P-Channel Logic Level MOSFET switch. Enable the Interface Pull-Down Option in EEPROM when using the PWREN# pin in this way. Bus Powered Tie Low / Self Powered Tie High (to VCCIO)
15
PWREN#
Output
14
PWRCTL
Input
**Note 1 - During device reset, these pins are tri-state but pulled up to VCC via internal 200K resistors.
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Function Description
The FT232BM is a USB to serial UART interface device which simplifies USB to serial designs. It has been designed to operate efficiently with a USB host controller by using as little as possible of the total available USB bandwidth.
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133 device to communicate with the PC over USB. This approach allows a customer to create a generic USB peripheral which hardware function can be defined under control of the application software. The FPGA based can be easily upgraded or totally changed simply by changing the FPGA configuration data file. Application notes, software and development modules for this application area will be available from FTDI and other 3rd parties. PreScaler Divide By 1 Fix. In the FT232BM device setting the prescaler value to 1 gives a baud rate of 2 million baud and setting it to zero gives a baud rate of 3 million baud. Non-integer division is not supported with divisor values of 0 and 1. Fewer External Support Components. As well as eliminating the RCCLK RC network, and for most applications the need for an external reset circuit, the FT232BM also eliminates the requirement for a 100K pull-upon EECS to select 6MHz operation. When the FT232BM is being used without the EEPROM, EECS, EESK and EEDATA can now be left n/c. For circuits requiring a long reset time (where the device is reset externally using a reset generator IC or reset is controlled by the IO port of a MCU, FPGA or ASIC device) an external transistor circuit is no longer required as the 1.5k pull-up resistor on USBDP can be wired to the RSTOUT# pin instead of to 3.3V. Note: RSTOUT# drives out at 3.3V level, not at 5V VCC level. This is the preferred configuration for new designs. Extended EEPROM Support. The previous generation of devices only supported EEPROM of type 93C46 (64 x 16 bit). The FT232BM also operates with EEPROM type 93C56 (128 x 16 bit) and 93C66 (256 x 16 bit). The extra space is not used by the device; however it is available for use by other external MCU / logic whilst the FT232BM is being held in reset. USB 2.0 (full speed option). A new EEPROM based option allows the FT232BM to return a USB 2.0 device descriptor as opposed to USB 1.1. Note: The FT232BM is a USB 2.0 Full Speed device (12Mb/s). Multiple Device Support without EEPROM. When no EEPROM (or a blank or invalid EEPROM) is attached to the device, the FT232BM no longer gives a serial number as part of its USB descriptor. This allows multiple devices to be simultaneously connected to the same PC. However, FTDI highly recommend that an external 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 attaches the device into a different port.
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133 Dual Port RX Buffer (384 bytes). Data from the UART receive register is stored in the Dual Port RX buffer prior to being removed by the SIE on a USB request for data from the device data in endpoint. UART FIFO Controller. The UART FIFO controller handles the transfer of data between the Dual FIFO RX and TX buffers and the UART transmit and receive registers. UART. The UART performs asynchronous 7/8 bit Parallel to Serial and Serial to Parallel conversion of the data on the RS232 (RS422 and RS485) interface. Control signals supported by the UART include RTS, CTS, DTR, DSR, DCD and RI. The UART provides a transmitter enable control signal (TXDEN) to assist with interfacing to RS485 transceivers. The UART supports RTS/CTS, DTR/DSR and X-On/X-Off handshaking options. Handshaking, where required, is handled in hardware to ensure fast response times. The UART also supports the RS232 BREAK setting and detection conditions. Baud Rate Generator. The Baud Rate Generator provides a x16 clock input to the UART from the 48MHz reference clock and consists of a 14 bit prescaler and 3 register bits which provide fine tuning of the baud rate (used to divide by a whole number plus a fraction). This determines the Baud Rate of the UART which is programmable from 183 baud to 3M baud. RESET Generator. The Reset Generator Cell provides a reliable power-on reset to the device internal circuitry on power up. RESET# input and RSTOUT# output are provided to allow other devices to reset the FT232BM or the FT232BM to reset other devices respectively. During reset, RSTOUT# is driven low, otherwise it drives out at the 3.3V provided by the onboard regulator. RSTOUT# can be used to control the 1.5k pull-up on USBDP directly where delayed USB enumeration is required. It can also be used to reset other devices. RSTOUT# will stay high-impedance for approximately 5ms after VCC has risen above 3.5V AND the device oscillator is running AND RESET# is high. RESET# should be tied to VCC unless it is a requirement to reset the device from external logic or an external reset generator IC.
10
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Floor Life (Out of Bag) At Factory Ambient (30C / 60% Relative Humidity)
VCC Supply Voltage DC Input Voltage USBDP and USBDM DC Input Voltage High Impedance Bidirectional DC Input Voltage All Other Inputs DC Output Current Outputs DC Output Current Low Impedance Bidirectional Power Dissipation (VCC = 5.25V) Electrostatic Discharge Voltage (Human Body Model) (I<1uA) Latch Up Current (Vi = +/- 10V maximum, for 10ms) Table 5.1 Absolute Maximum Ratings
500
mW
3000
200
mA
**Note 2 - If devices are stored out of the packaging beyond this time limit the devices should be baked
11
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
5.2 DC Characteristics
DC Characteristics (Ambient Temperature = 0C to 70C)
Parameter VCC1 Description VCC Operating Supply Voltage VCCIO Operating Supply Voltage Operating Supply Current Operating Supply Current Minimum 4.35 Typical 5 Maximum 5.25 Units V Conditions
3.0 -----
--25 180
5.25 --200
**Note 3 Supply current excludes the 200uA nominal drawn by the external pull-up resistor on USBDP.
Description Output Voltage High Output Voltage Low Input Switching Threshold Input Switching Hysteresis
Units V V V
VHys
50
55
60
mV
Description Output Voltage High Output Voltage Low Input Switching Threshold Input Switching Hysteresis
Units V V V
VHys
20
25
30
mV
**Note 4 Inputs or IO pin in input mode have an internal 200K pull-up resistor to VCCIO.
12
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Description Output Voltage High Output Voltage Low Input Switching Threshold
Typical 2.5
Units V V V
Description Output Voltage High Output Voltage Low Input Switching Threshold Input Switching Hysteresis
Units V V V
VHys
50
55
60
mV
**Note 5
Table 5.6 RESET#, TEST, EECS, EESK, EEDATA Pin Characteristics **Note 5 - EECS, EESK and EEDATA pins have an internal 200K pull-up resistor to VCC
Typical -
Units V V
Table 5.7 RSTOUT Pin Characteristics (VCCIO = +1.8V, Standard Drive Level)
Parameter
Minimum
Typical
Maximum
Units
Conditions RI = 1.5K to 3V3Out ( D+) I = 15K to GND ( D-) RI = 1.5K to 3V3Out ( D+) I = 15K to GND ( D-)
UVoh
2.8
3.6
UVol
IO Pins Static Output ( Low) Single Ended Rx Threshold Differential Common Mode Differential Input Sensitivity Driver Output Impedance
0.3
UVse
0.8
2.0
UCom
0.8
2.5
UVDif UDrvZ
0.2 29
V 44 Ohms **Note 6
**Note 6 - Driver Output Impedance includes the external 27R series resistors on USBDP and USBDM pins. Copyright 2009 Future Technology Devices International Limited 13
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
The following sections illustrate possible USB power configurations for the FT232BM.
Figure 6.1 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 100mA b) On USB Suspend the device must draw no more than 500uA (2.5mA for devices configured to support remote wake-up). c) A Bus Powered High Power Device (one that draws more than 100mA) should use the PWREN# pin to keep the current below 100mA on plug-in and 500uA(2.5mA) on USB suspend. d) A device that consumes more than 100mA cannot be plugged into a USB Bus Powered Hub e) No device can draw more that 500mA from the USB Bus. The power descriptor in the EEPROM should be programmed to match the current draw of the device. PWRCTL (pin 14) is pulled low to configure the device with a USB Bus Power descriptor. 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 # MI0805K400R-00, also available as DigiKey Part # 240-1035-1.
14
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Figure 6.2 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 Controller is powered down. b) A Self Powered Device can take as much current as it requires during normal operation and USB suspend as it has its own POWER SUPPLY. c) A Self Powered Device can be used with any USB Host and both Bus and Self Powered USB Hubs PWRCTL (pin 14) is pulled high to configure the device with 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, the 1.5 K pull-up resistors on USBDP is connected to RSTOUT# as per the buspower circuit. However, the USB Bus Power is used to control the RESET# Pin of the FT232BM device. When the USB Host or Hub is powered up RSTOUT# will pull the 1.5K resistor on USBDP to 3.3V, 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 USBDP via the 1.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. Note: When the FT232BM is in reset, the UART interface pins all go tri-state. These pins have internal 200K pull-up resistors to VCCIO, so they will gently pull high unless driven by some external logic.
15
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
6.3 Interfacing to 3.3V Logic 6.3.1 Bus Powered Circuit with 3.3V logic drive / supply voltage
Figure 6.3 Bus Powered Circuit with 3.3V logic drive / supply voltage
Figure 6.3 shows how to configure the FT232BM to interface with a 3.3V logic device. In this example, a discrete 3.3V regulator is used to supply the 3.3V logic from the USB supply. VCCIO is connected to the output of the 3.3V regulator, which in turn will cause the UART interface IO pins to drive out at 3.3V 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 4.35 volts. A Low Drop Out (LDO) 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 MicroChip MCP1700 Series. These devices can supply up to 250mA current and have a quiescent current of under 1uA. 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 FT232BM to supply the 3.3v without any other components being required. In this case, connect VCCIO to the 3v3OUT pin of the FT232BM. Note: It should be emphasized that the 3.3V supply for VCCIO in a bus powered design with a 3.3V logic interface should come from an LDO which is supplied by the USB bus, or from the 3V3OUT pin of the FT232BM, and not from any other source.
16
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Figure 6.4 Self Powered Circuit with 3.3V logic drive / supply
Figure 6.4 is an example of a USB self powered design with 3.3V interface. In this case VCCIO is supplied by an external 3.3V supply in order to make the device IO pins drive out at 3.3V logic level, thus allowing it to be connected to a 3.3V MCU 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.3V 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 FT232BM to supply the 3.3V without any other components being required. In this case, connect VCCIO to the 3v3OUT pin of the FT232BM. Note that in this case PWRCTL is pulled up to VCCIO, not VCC.
17
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
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). This limit is 2.5mA for devices that support remote wake-up. Some external logic can power itself down into a low current state by monitoring the PWREN# pin. For external logic that cannot power itself down in that way, the FT232BM provides a simple but effective way of turning off power to external circuitry during USB suspend. Figure 8.3 shows how to use a discrete P-Channel Logic Level MOSFET to control the power to external logic circuits. A suitable device could be a Fairchild NDT456P, or International Rectifier IRLML6402, or equivalent. It is recommended that a soft start circuit consisting of a 1K series resistor and a 0.1 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 FT232BM, or the USB host / hub controller. The values used here allow attached circuitry to power up with a slew rate of ~12.5 V per millisecond, in other words the output voltage will transition from GND to 5V in approximately 400 microseconds. Alternatively, a dedicated power switch i.c. with inbuilt soft-start can be used instead of a MOSFET. A suitable power switch I.C. for such an application would be a Micrel (www.micrel.com) MIC2025-2BM 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 re-applied on coming out of suspend. b) Set the Pull-down on Suspend option in the FT232BMs EEPROM. c) For USB high-power bus powered device (one that consumes greater than 100 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.3V power controlled circuits VCCIO must not be powered down with the external circuitry (PWREN# gets its VCC supply from VCCIO). Either connect the power switch between the output of the 3.3V regulator and the external 3.3V logic OR if appropriate power VCCIO from the 3V3OUT pin of the FT232BM.
18
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Figure 7.1 illustrates how to use the FT232BM with a 3-Pin Ceramic Resonator. A suitable part would be a ceramic resonator from Muratas CERALOCK range 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.1% and it is specifically designed for USB full speed applications. A 1 MegaOhm loading resistor across XTIN and XTOUT is recommended in order to guarantee this level of accuracy. Figure 7.2 illustrates how to use the FT232BM with a 6MHz Crystal or 2-Pin Ceramic Resonator. These devices do not have in-built loading capacitors. They must be added between XTIN, XTOUT and GND as shown. A value of 27pF 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.
19
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Figure 7.3 EEPROM Configuration Figure 7.3 illustrates how to connect the FT232BM to the 93C46 (93C56 or 93C66) EEPROM. EECS (pin 32) is directly connected to the chip select (CS) pin of the EEPROM. EESK (pin 1) is directly connected to the clock (SK) pin of the EEPROM. EEDATA (pin 2) is directly connected to the Data In (Din) pin of the EEPROM. There is a potential condition whereby both the Data Output (Dout) of the EEPROM can drive out at the same time as the EEDATA pin of the FT232BM. To prevent potential data clash in this situation, the Dout of the EEPROM is connected to EEDATA of the FT232BM via a 2.2K resistor. Following a power-on reset or a USB reset, the FT232BM will scan the EEPROM to find out (a) if an EEPROM is attached to the Device and (b) if the data in the device is valid. If both conditions are true, then the FT232BM 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 FT232BM, the EEPROM will acknowledge the command by pulling its Dout pin low. In order to check for this condition, it is necessary to pull Dout high using a 10K resistor. If the command acknowledge doesnt happen then EEDATA will be pulled high by the 10K 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 EEPROMs from many sources such as Microchip, STMicro, ISSI etc. one is configured as being 16 bits wide, the other is configured as being 8 bits wide. The FT232BM requires EEPROMs with a 16-bit wide configuration such as the Microchip 93LC46B device. The EEPROM must be
capable of reading data at a 1Mb clock rate at a supply voltage of 4.35V to 5.25V. Most available parts are
capable of this. Check the manufacturers data sheet to find out how to connect pins 6 and 7 of the EEPROM. Some devices specify these as no-connect, others use them for selecting 8 / 16 bit mode or for test functions. Some other parts have their pin out rotated by 90 . It is recommended to select the required part and its options carefully. It is possible to share the EEPROM between the FT232BM and another external device such as an MCU. However, this can only be done when the FT232BM is held in the reset condition as it tri-states its EEPROM interface at that time. A typical configuration would use four bits of an MCU IO Port. One bit would be used to hold the FT232BM reset (using RESET#) on power-up, the other three would connect to the EECS, EESK and EEDATA pins of the FT232BM in order to read / write data to the EEPROM at this time. Once the MCU has read / written the EEPROM, it would take RESET# high to allow the FT232BM to configure itself and enumerate over USB.
20
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
The following sections illustrate possible UART configurations for the FT232BM.
Figure 7.1 illustrates how to connect the UART interface of the FT232BM to a TTL RS232 Level Converter I.C. to make a USB <=> RS232 converter using the popular 213 series of TTL to RS232 level converters. These devices have 4 transmitters and 5 receivers in a 28-pin SSOP package and feature an in-built voltage converter to convert the 5v (nominal) VCC to the 9 volts required by RS232. An important feature of these devices is the SHDN# pin which can power down the device to a low quiescent current during USB suspend mode. The device used in the example is a Exar/Sipex SP213EHCA which is capable of RS232 communication at up to 500K baud. If a lower baud rate is acceptable, then several pin compatible alternatives are available such as Sipex SP213ECA , Maxim MAX213CAI and Analog Devices ADM213E which are good for communication at up to 115,200 baud. If a higher baud rate is desired, use a Maxim MAX3245CAI part which is capable of RS232 communication at rates of up to 1M baud. The MAX3245 is not pin compatible with the 213 series devices, also its SHDN pin is active high so connect this to PWREN# instead of SLEEP#.
21
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Figure 8.2 illustrates how to connect the UART interface of the FT232BM to a TTL RS422 Level Converter I.C. to make a USB <=> RS422 converter. There are many such level converter devices available this example uses Exar/Sipex SP491 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 PWREN# 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-Channel logic level MOSFET (controlled by PWREN#) in the VCC line of the SP491 devices to ensure that the USB standby current of 500uA is met. The SP491 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 FT232BM
22
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Figure 7.3 illustrates how to connect the UART interface of the FT232BM to a TTL RS485 Level Converter I.C. to make a USB => RS485 converter. This example uses the Exar/Sipex SP481 device but there are similar parts available from Maxim and Analog Devices amongst others. The SP481 is a RS485 device in a compact 8 pin SOP package. It has separate enables on both the transmitter and receiver. With RS485, the transmitter is only enabled when a character is being transmitted from the UART. The TXDEN pin on the FT232BM is provided for exactly that purpose and so the transmitter enable is wired to TXDEN. The receiver enable is active low, so it is wired to the PWREN# pin to disable the receiver when in USB suspend mode. RS485 is a multi-drop network i.e. many devices can communicate with each other over a single two wire cable connection. The RS485 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 FT232BM is also received by the device that is transmitting. This is a common feature of RS485 and requires the application software to remove the transmitted data from the received data stream. With the FT232BM it is possible to do this entirely in hardware simply modify the schematic so that RXD of the FT232BM is the logical OR of the SP481 receiver output with TXDEN using an HC32 or similar logic gate.
23
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
The FT232BM has two IO pins dedicated to controlling LED 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 LEDs 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 9.1 shows a configuration using two individual LEDs one for transmitted data the other for received data. In figure 9.2, transmit and receive LED indicators are wire-ORed together to give a single LED indicator which indicates any transmit or receive data activity. Another possibility (not shown here) is to use a 3 pin common anode tri-color LED based on the circuit in Figure 9.2 to have a single LED that can display activity in a variety of colors depending on the ratio of transmit activity compared to receive activity. Note that the LEDs are connected to VCCIO.
24
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Parameter
Value
Notes
FTDI default VID (hex) FTDI default PID (hex) (if EECS is pulled low with 10K ohms) There is no serial number if the device is not connected to an EEPROM. A unique serial number is generated and programmed into the EEPROM during device final test. There is no serial number if the device is not connected to an EEPROM Enabling this option will make the device pull down on the UART interface lines when in USB suspend mode (PWREN# is high).
Serial Number
See Note
Pull down I/O Pins in USB Suspend Manufacturer Name Product Description Max Bus Power Current Power Source Device Type USB Version
Disabled
The internal EEPROM in the FT232BM can be programmed over USB using the FTDI utility program FT_PROG. FT_PROG can be downloaded from FTDI Utilities on the FTDI website (www.ftdichip.com). Users who do not have their own USB Vendor ID but who would like to use a unique Product ID in their design can apply to FTDI for a free block of unique PIDs. Refer to TN_100, USB Vendor ID/Product ID Guidelines and TN_102, OEM Technical Support Requirements for FTDI Products.
25
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
11 Package Parameters
The FT232BM is supplied in a 32 pin LQFP package as standard.
This package has a 7mm x 7mm body ( 9mm x 9mm including leads ) with leads on a 0.8mm pitch. The above drawing shows the LQFP-32 package all dimensions are in millimeters. Note that there are two date code formats used - XXYY = Date Code where XX = 2 digit year number, YY = 2 digit week number; or XYY-N where X = 1 digit year. Number, YY = 2 digit week number, and -N is an integer. A lead free version is available, part number FT232BL. An alternative 5mm x 5mm leadless QFN32 package is also available for projects where package area is critical. Part number for this version is FT232BQ. The FT232BQ is also a lead free package. See the FT232BL and FT232BL datasheets for package dimensions.
26
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
12 Contact Information
Head Office Glasgow, UK Future Technology Devices International Limited Unit 1, 2 Seaward Place, Centurion Business Park Glasgow G41 1HH United Kingdom Tel: +44 (0) 141 429 2777 Fax: +44 (0) 141 429 2758 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) Web Site URL Web Shop URL sales1@ftdichip.com support1@ftdichip.com admin1@ftdichip.com http://www.ftdichip.com http://www.ftdichip.com
Branch Office Taipei, Taiwan Future Technology Devices International Limited (Taiwan) 2F, No. 516, Sec. 1, NeiHu Road Taipei 114 Taiwan , R.O.C. Tel: +886 (0) 2 8791 3570 Fax: +886 (0) 2 8791 3576 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) Web Site URL tw.sales1@ftdichip.com tw.support1@ftdichip.com tw.admin1@ftdichip.com http://www.ftdichip.com
Branch Office Hillsboro, Oregon, USA Future Technology Devices International Limited (USA) 7235 NW Evergreen Parkway, Suite 600 Hillsboro, OR 97123-5803 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-Mail (Sales) E-Mail (Support) E-Mail (General Enquiries) Web Site URL us.sales@ftdichip.com us.support@ftdichip.com us.admin@ftdichip.com http://www.ftdichip.com
Branch Office Shanghai, China Future Technology Devices International Limited (China) Room 408, 317 Xianxia Road, Shanghai, 200051 China Tel: +86 21 62351596 Fax: +86 21 62351595 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) Web Site URL cn.sales@ftdichip.com cn.support@ftdichip.com cn.admin@ftdichip.com http://www.ftdichip.com
Distributor and Sales Representatives Please visit the Sales Network page of the FTDI Web site for the contact details of our distributor(s) and sales representative(s) in your country.
27
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
TN_102, OEM Technical Support Requirements for FTDI Products http://ftdichip.com/Documents/TechnicalNotes/TN_102_OEM_Technical_Support_Requirements_for_FTDI _Products.pdf
28
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Figure 7.3 EEPROM Configuration ............................................................................................................... 20 Figure 8.1 USB-RS232 Converter Configuration .................................................................................................. 21 Figure 8.2 USB-RS422 Converter Configuration .................................................................................................. 22 Figure 8.3 USB-RS485 Converter Configuration .................................................................................................. 23 Figure 9.1 Dual LED Configuration Figure 9.2 Single LED Configuration .......................................................... 24
List of Tables Table 1.1 Part Numbers ....................................................................................................................................2 Table 3.1 USB Interface Group ..........................................................................................................................6 Table 3.2 Power and Ground Group ....................................................................................................................6 Table 3.3 Miscellaneous Signal Group .................................................................................................................6 Table 3.4 UART Interface Group .........................................................................................................................7 Table 3.5 EEPROM Interface Group .....................................................................................................................7 Table 3.6 Power Control Group ..........................................................................................................................7 Table 5.1 Absolute Maximum Ratings ............................................................................................................... 11 Table 5.2 Operating Voltage and Current........................................................................................................... 12 Table 5.3 UART IO Pin Characteristics (VCCIO = +5.0V)...................................................................................... 12 Table 5.4 UART IO Pin Characteristics (VCCIO = +3.0 to +3.6V) .......................................................................... 12 Table 5.5 XTIN / XTOUT Pin Characteristics ....................................................................................................... 13 Table 5.6 RESET#, TEST, EECS, EESK, EEDATA Pin Characteristics ........................................................................ 13 Table 5.8 RSTOUT Pin Characteristics (VCCIO = +1.8V, Standard Drive Level) ....................................................... 13 Table 5.7 USB I/O Pin Characteristics ............................................................................................................... 13
29
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Version 1.1
04 August 2002
RESET# does not have an internal 200K pull-up to VCC as previously stated) Figure 2 pin-out corrected (EECS = Pin 32) Version 1.2 Pin and package naming made consistent throughout Section 1.0 Updated to reflect availability of Mac OS X driver Section 2.0 Minor corrections Section 3.1 Minor changes to functional block descriptions of SIE RESET Generator, and EEPROM interface Section 4.1 Note added to EEPROM interface group Section 4.1 RSTOUT# Pin description amended Section 6.1 Minimum operating supply voltage adjusted. Section 6.1 EESK added to Note 3 Section 6.1 UART IO pin characteristics amended Section 6.1 RESET#, TEST, EECS, EESK, and EEDATA pin characteristics amended Section 6.1 RSTOUT pin characteristics amended Section 7.1 Updated recommended ceramic resonator part number and circuit configuration Section 7.3 USB Self Powered Configuration (1) (original figure 8 removed) Recommended circuit for USB self powered designs updated. Subsequent figure numbers have changed as a result Section 7.6 Note added to description of Bus powered circuit with 3.3V logic drive / supply voltage Section 7.6 Self Powered Circuit with 3.3V logic drive / supply voltage added (new figure 16). 27 October 2003
Version 1.3
Section 5.0 Package drawing amended Section 6.0 Floor Life / Relative Humidity specification added. ESD and Latch Up specifications amended Section 7.1 Required resonators / crystal accuracy corrected.
10 December 2003
Version 1.4
Grammar corrections Section 10.0 FTDI Address Updated Section 2.0 Extended EEPROM Support corrected Section 4.1 VCCIO Pin description amended. Section 7.4 RS485 Example Sipex SP481 part number corrected.
10 February 2004
Version 1.5
Section 4.1 EESK Pin Description amended Section 7.6 Figure 16 PWRCTL Pin number corrected Section 7.7 Figure 15 PWREN# Pin number corrected
April 2004
Version 1.6
Section 1.0 WinCE drivers now available Section 5.0 Date code format updated. Section 6.0 Absolute Maximum Ratings table reformatted.
November 2004
30
Document No.: FT_000206 FT232BM USB UART IC Datasheet Version 1.9 Clearance No.: FTDI# 133
Version 1.7 Section 1.0 D2XX drivers for Linux and Windows CE now available Section 5.0 FT232BL (lead Free) and FT232BQ (lead free QFN package) now available. February 2005
Version 1.8
Section 6.1 USB data line Input voltage Absolute maximum voltage added Section 1.0 Driver OS support updated.
December 2005
Version 1.9
Updated to remove references to isochronous support Reformatted Edited contact details Added Window7 support
31