 |
MPSSE Example Projects |
|
|
This page contains examples specific to the Multi-Protocol Synchronous
Serial Engine (MPSSE) of the
FT2232D and
FT2232H devices.
- FTCI2C DLL
FTDI have produced a DLL to
handle all the MPSSE commands necessary to interface to a device using
the I2C protocol. A separate page has been created where the
FTCI2C DLL can be downloaded, along with code examples.
- FTCJTAG DLL
FTDI have also produced a DLL to
handle all the MPSSE commands necessary to interface to a device using
the JTAG protocol. As with our FTCI2C DLL, a separate page has been created where the FTCJTAG DLL can be downloaded, along with code examples.
- FTCSPI DLL
Following the popularity of
the FTCI2C and FTCJTAG DLLs, the FTCSPI DLL has been made available for
interfacing the
FT2232D
to SPI devices. Please note that the
FT2232D
can only act as an SPI master and not an SPI slave device.
The MPSSE can be configured
directly
using
D2XX commands. The following Delphi examples on
this page illustrate how to achieve this for several popular protocols:
Customer contributions are
always welcome.
Jörn Kaipf has
created a
FT2232 based JTAG
debugger and has kindly made his design freely available. Please
visit his web site to learn more about his
OOCD-Link project.
|
 |
Host Bus Emulation Mode |
|
|
Overview
This is
an example project that demonstrates using the
FT2232D's Multi-Protocol
Synchronous Serial Engine (MPSSE) controller to perform MCU host bus
control of an AT-Bus. The executable application and the full
project code (in Delphi) are provided.
Requirements
This
project is designed to run on Windows 2000 or Windows XP and requires
FTDI's D2XX
drivers to be installed.
Download the project documentation and schematic in PDF format by
clicking here.
Download the Delphi source code for the application by
clicking here.
|
 |
USB to
a JTAG TAP Interface using FT2232H |
|
|
Overview
This
example project for the
FT2232H
demonstrates how to use the device's
Multi-Protocol Synchronous Serial Engine (MPSSE) to make a USB to JTAG
TAP test chain interface. The full project code is provided.
TI have
a JTAG learning tool and accompanying abstract available on their
website which is available for free download.
Click here to visit the TI website.
Requirements
This
project is designed to run on Windows 2000 or Windows XP and requires
FTDI's D2XX drivers to be installed.
Download the project documentation and schematic in PDF format by
clicking here.
Download the source code for the application by
clicking here.
|
 |
USB to
JTAG Interface |
|
|
Overview
This
example project for the
FT2232D
demonstrates how to use the device's
Multi-Protocol Synchronous Serial Engine (MPSSE) to make a USB to JTAG
bus interface. The executable application and full project code
(in Delphi) are provided.
TI have
a JTAG learning tool and accompanying abstract available on their
website which is available for free download.
Click here to visit the TI website.
Requirements
This
project is designed to run on Windows 2000 or Windows XP and requires
FTDI's D2XX drivers to be installed.
Download the project documentation and schematic in PDF format by
clicking here.
Download the Delphi source code for the application by
clicking here.
|
 |
USB to I2C
Inteface using FT2232H |
|
|
Overview
This
example project for the
FT2232H
demonstrates how to use the device's
Multi-Protocol Synchronous Serial Engine (MPSSE) to make a USB to I2C
bus interface using the FT2232H. The executable application and full project code
are provided.
Requirements
This
project is designed to run on Windows 2000 or Windows XP and requires
FTDI's D2XX
drivers to be installed.
Download the project documentation and schematic in PDF format by
clicking here.
Download the source code for the application by
clicking here.
|
 |
USB to I2C
Inteface |
|
|
Overview
This
example project for the
FT2232D
demonstrates how to use the device's
Multi-Protocol Synchronous Serial Engine (MPSSE) to make a USB to I2C
bus interface. The executable application and full project code
(in Delphi) are provided.
Requirements
This
project is designed to run on Windows 2000 or Windows XP and requires
FTDI's D2XX
drivers to be installed.
Download the project documentation and schematic in PDF format by
clicking here.
Download the Delphi source code for the application by
clicking here.
|
 |
USB to SPI Inteface using FT2232H |
|
|
Overview
This
example project for the
FT2232H
demonstrates how to use the device's
Multi-Protocol Synchronous Serial Engine (MPSSE) to make a USB to SPI
bus interface
using the FT2232H Hi_Speed device. The executable application and full project code
(in
C++) are provided.
Requirements
This
project is designed to run on Windows 2000 or Windows XP and requires
FTDI's D2XX
drivers to be installed.
Download the project documentation and schematic in PDF format by
clicking here.
Download the C++ source code for the application by
clicking here.
|
 |
USB to SPI
Interface |
|
|
Overview
This
example project for the
FT2232D
demonstrates how to use the devices
Multi-Protocol Synchronous Serial Engine (MPSSE) to make a USB to SPI
bus interface. The executable application and full project code
(in Delphi) are provided.
Requirements
This
project is designed to run on Windows 2000 or Windows XP and requires
FTDI's D2XX drivers to be installed.
Download the project documentation and schematic in PDF format by
clicking here.
Download the Delphi source code for the application by
clicking here.
|
 |
USB to SPI |
|
|
Our
thanks go to Bob Freeth for providing this VB6 example of using the
FT2232D
MPSSE for SPI communication with a MAX187 ADC.
Source
code and executable are available for free
download. This code is provided "as-is"
for illustration purposes only and as such neither FTDI or Bob Freeth
provide technical support for this VB6 code. |
|
|