PC Services

 

PC Services

FTDI Example Applications

FTDI  logo
   The Company 
   Resources 
   FTDI - Examples 
   Commentaries           
   Personal 
 
FTDI logo

FTDI USB device - Example Applications

These example applications use the FTDI chips for connecting USB devices to PCs.

For more information on their chips, datasheets, drivers and other examples please see the FTDI website.

Note for SPI

It is not directly possible to use D2XX calls to directly control Clock Phase with MPSSE, you only easily achieve Phase 0 (CPHA), i.e. data is valid on first clock edge after Slave Select (SS). whether this edge is rising or falling depends on the clock polarity (CPOL) also known as clock idle state.

Ongoing support

Due to various issues, PC Services will no longer provide ongoing support or updates to this or other examples using FTDI devices.

So you are welcome to download examples, which are provided on an as is basis.

Devices

FT2232

  • Visual Basic V6 SPI and FIFO example
    • MPSSE-SPIV104.zip (46908 bytes), zip file of source and executable for example application to read and write bytes to Port B of FT2232D as a FIFO and SPI (CPOL=0 and CPHA=0), transfer using the MPSSE functions on Port A.

      To drive Port B as a FIFO, requires serial EEPROM on device and being programmed with MPROG application from FTDI, see example circuit as Eagle Schematic or PDF.

      Includes logging of actions, reading EEPROM, scanning for first FT2232C (or above) device.

      Also has traps for no device connected or no driver loaded. See example log files.

      V1.04 fix minor bug for read only bits command sending.

    • readme.txt (1952 bytes), readme file included in the above zip file.

Other Examples

PC Services will consider hosting other examples if others have difficulty hosting them, however README files and similar to be included in any archive to contain at least the same information as example(s) above.

CAD Libraries

Eagle Library (by CadSoft) library for most FTDI USB chips available here.

© 2007 onwards by PC Services Last Updated: 12th January 2010
If you encounter problems with this page please email your comments to webmaster