Professional Documents
Culture Documents
After this, it is time to start working with your FTDI device! FTDI devices have many
options, so many are not ready by default. Just google around to find out which
settings you need for your specific hardware.
Among the settings that you may need to adjust in your FTDI device, you can find:
The FTDI board sets these automatically. However, if you have one of those USB
devices which works with some other protocol (such as CAN Bus) or if you want to
use hardware flow control, then set these parameters manually.
Table of Contents
ftdi usb
An FTDI chip is a small computer with one significant difference. Its pins connect to
another electronic device instead of installing them into a circuit. Thus, we can use the
FTDI chip to talk over an RS232 serial interface in any other electronic device.
There are many uses for an FTDI chip. For example, we can use it as a serial adapter
to convert RS232 signals to USB so that you can use the host computer’s USB port
with it. Or we can use it as a USB-to-RS232 converter to connect to a computer that
does not have a built-in RS232 interface. Also, we can use it as a
USB keyboard (hence its name).
Many of these applications were there before, with various results. But this time, I
will describe how you could use your FTDI chip directly in your electronics project. I
will assume that you are willing to do some soldering and have basic knowledge of
electronics.
Since the FTDI chip is a separate computer that we can buy for under $5, it is cheap
to connect. In addition, because it uses its memory and processor while sharing a
single interface with other devices, communication between the device and the FTDI
chip is faster than communication between two computers using an RS232 cable.
Since there is no cable to connect, you can fit the device into much smaller spaces
than if you had an RS-232 card. Generically, this means it will be easier for you to
hide the chip from sight and deliberate observation by someone else.
The FTDI chip comes with drivers that should work without configuration on most
Windows, Linux, and OSX machines. Hence, you can use it in a wide range of
environments. There are even cases where you can plug an FTDI chip into your USB
port, and it will work immediately. This is not always possible with RS232 cards that
we need to configure for the operating system to recognize them.
It is very easy to connect almost any device to an FTDI chip. You need to read your
hardware documentation, as there are usually no details about this specific feature.
Unlike an RS232 card that we may need to configure to work, the FTDI chip is
always ready-to-use. There is no need for extra software or configuration. It will
always work as soon as you plug it in.
One can send data, and you will never forget how to connect your device back and
forth with an FTDI chip. You will never have to learn extra commands or settings for
your hardware to work, but you can use any protocol you require.
Types
We also various manufacturers of these chips that include RayMing PCB and
Assembly. But many use the same chipset and basic features.
The FTDI Basic (V1.0) is the oldest and the most basic of all the chips. It does not
have any automatic reset, nor does it auto-disable for unused pins (“floating”). Also, it
has a slight problem connecting to some USB ports at higher speeds.
We can find it in early FTDI cable products and most USB breakout boards.
FTDI Cable v2
There also exists an FTDI Cable v2. It has the same features as the FTDI Basic but
uses two chips instead of one. It also has additional features such as automatic reset
on power-up, auto-disable for unused pins, support of USB 2.0 speeds. There are
some examples of this type in cables and USB breakout boards (for example, “FTDI
Basic to USB Cable v2 – New”).
FTDI Basic v3
In 2009 there was a new type called the FTDI Basic v3.
The main difference is that it does not have the problem of connecting to a USB port
that has a high-speed mode. Instead, it works only with a “fast” speed USB port,
normally found on all modern computers. As a result, this is the only way to plug an
FTDI Basic v3 cable into an “old” computer running Windows XP / Vista or Mac OS
X and expect it to work.
The FTDI Basic v3 is available in most new cables and USB breakout boards.
FTDI cable v5
There is also an FTDI cable v5 which uses the same chipset as the FTDI Basic v3 but
adds a new feature: auto-disable for unused pins.
It’s also now available in most new cables and USB breakout boards.
The difference between the FTDI Basic v3, the cable v5, and the original FTDI Basic
is that they use entirely different chipsets (they do not share features).
FTDI Basic v3 and FTDI cable v5 share the same features, but the FTDI Basic v3 has
1.1V levels, while the FTDI cable v5 has 3.3V levels.
Note: If you want to buy one of these chips, please note that many fake versions are
available on eBay and other sites. Please check with your seller for details of their
guarantee and warranty.
The main difference is that it has a higher voltage level (3.3V instead of 1.1V) and
thus a greater distance for the current to flow without damage to the chip.
Also, it comes with improved software from cable v5. It has a new and easier method
to configure your device using its application software and standard USB hub
software.
The FTDI cable v6 is available in most new cables and USB breakout boards.
Pin Configuration
The most common example is when you want to connect your Arduino board to the
FTDI cable:
GND pin is the ground (commonly known as “-” or, on an Arduino board, some of the
GND connections). The TXB pin is for sending data from the FTDI chip to
your Arduino board. We need to connect this with the RXB pin on your Arduino.
The RXB pin is for receiving data from the Arduino board. So we need to connect this
with the TXB pin on your Arduino.
Other devices may have different pinouts. However, they should be compatible as
long as they fit into the same connections.
Newer FTDI chips are 5V tolerant, meaning they will not damage the Arduino board
if abused by connecting it to a higher voltage. Still, other devices connected via an
FTDI cable may suffer damage because they may not be 5V tolerant.
This can be very tedious since you need to download the correct driver for your
operating system. You need to find the correct driver by following some steps:
1. Download and install the free software “FTDI Driver Tool” from here
2. Select “USB to Serial Adapter” from the devices menu in the FTDI driver tool.
3. For Windows, click on the “Start” button and type “devmgmt.msc” into the
search box on top of the window. Then press [Ctrl+E] and follow the steps to
select “FTDI Device” from the device manager.
4. For Linux, open a terminal window and type “lsusb” into the search box on
top of the window to find the correct driver. Also, you can do a google search
for “Linux USB serial adapter.”
5. For Mac OSX, open a terminal window and type “ls -l /dev/cu.*” into the
search box on top of the window to find the correct driver.
When you connect cable v5 to a computer, it will automatically reset and install its
software on the computer.
You will then get an application called “FTDI Basic Control,” where you can
configure your device.
One can also use the standard USB hub software supplied with most operating
systems (for example, “WinUSB” in Windows 7). It helps to configure your device
from another computer or control it from another application.
To install this software, you will need to get the “Win32 Disk Imager” program from
here and install it on your computer.
The program will then automatically install the FTDI Basic Control software.
The Advanced Configuration is only needed if you want to read or write directly to
your computer’s serial COM port without using a virtual COM port. For example, to
add advanced functionality to your project.
It will show you detailed information about all the pins on both your FTDI
USB-Serial Converter and your computer’s serial port.
The COM port and FIFO information are also displayed. It helps you use the standard
“CMDebug” software to write to your computer’s serial port if you need to.
You may need to use this advanced configuration in rare circumstances. For example,
if you want the complete I/O pins of the FTDI USB-Serial Converter to be available
for your use.
In general, if you install the FTDI Basic Control software (the “FTDI USB-Serial
Converter” control panel), then you should install the drivers automatically when you
connect the cable v5 (OE/DO) to a computer.
The FTDI Basic v3 is now obsolete. There are very few sellers of this chip in a new
condition available on eBay and other sites. Check with your seller for details of their
guarantee and warranty. FTDI has discontinued selling the FTDI Basic v2.
As of 2015 (and preceding years), there are very few sellers of this chip in a new
condition available on eBay and other sites. Check with your seller for details of their
guarantee and warranty.
The FTDI cable v5 chips are compatible with the FTDI Basic v2 and v3 cables.
However, the FTDI Basic v2 and v3 cables will not work properly with cable v5.
The general recommendation is to use the most up-to-date cable available for your
system. You can use either the FTDI Cable V6 or a USB breakout board from
Adafruit Industries.
It will provide better compatibility and more advanced features in most cases.
This chip has four wires. It is a popular chip, and many maker kits are available in
new condition.
The FTDI Basic v4 is not compatible with cable v5 (OE/DO). It will only work with a
cable v6 (OE/DI).
We can use it in Linux as a serial port device by accessing it through the /dev/ttyXX
interface (where XX is “d,” “i,” “u,” or “g”).
One must set device permissions to mode 0666 before the Com port works (otherwise,
the device will not be visible to the kernel).
Check the output of lsusb for a line beginning with “bcdDevice” to determine the
current mode.
The modes are set by inserting the OE/DI wire into a connection on the FTDI
USB-Serial Converter and pressing the button on the converter.
For example:~$ echo 3 > /dev/ttyUSB0_0 sets it to Com port mode 3 (3.3V).
The user running udevadm can also change the USB.usermap files as a root user.
As of 2010, the “firmware” wheels available from FTDI only include drivers for
Microsoft Windows (32/64-bit).
Compatible drivers for Linux exist in the kernel and are part of many distributions.
These drivers do not have the recent updates and are missing support for the latest
chips.
Unfortunately, the current version does not support the newer chips.
FT600FT601-FPGA-USB-BoardDownload
Made In Japan
Non-use of 6 Restricted substances of RoHS directive
Four-layer PCB with Immersion gold
EEPROM x1 (Mounted before shipment, Programmed)
Power LED
EEPROM Socket
Power-on reset IC
On-board 3.3V regulator
Selectable power source
3-pin user interface (Channel B Tx and Rx)
22-pin user interface (Channel A)
USB B-type connector
Conclusion
The FTDI Basic is the most varied of all the chips. However, we can modify it (for
example, by adding a “floating” pin), and it works with practically any USB device.
Related Posts: