FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  


Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support

New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - FTDI Community

Pages: [1] 2 3 ... 49

we have a new beta version of LibMPSSE that you can try. if you email in to support1@ftdichip.com i can tell you how to access the beta.

Best Regards

FTDI Community

Discussion - Software / Re: LibFT260 update needed ?
« on: May 26, 2022, 04:16:04 PM »
Hi Fred,
On your initial point regarding the versioning of libFT260, it looks like you are using a link to an old version of our website (see the old2020 part of your URL) which is where you are finding the 1.1.3 file.
Version 1.1.5 is the current version on the website.... https://ftdichip.com/products/ft260q/    

The only way to edit the serial number or description is via FT Prog.  This is a HID class device.

See section 9 User Configuration of the FT260 Datasheet for programmable parameters. FT_PROG must be used to program these as it can't be done using the library. You must also use UMFTPD3A for programming.

There is an update to the libFT260 user guide which hasn't made it to the website yet.   If you can send us an email we can send you this version for now.   

FTDI Community 


the captures don't look as if it is mode0, which is weird because you seem to have set it right in the code. what version of LibMPSSE are you using?

Best Regards,

FTDI Community

Discussion - Software / Re: FT232H Configuration
« on: May 24, 2022, 03:16:32 PM »

Yes, to enable MPSSE mode you need to set the bit mode to 0x02 using the FT_SetBitMode function. the MPSSE basics document i linked previously explains this. the set up the MPSSE. the LibMPSSE-SPI user guide explains the API and how it is built on the D2XX driver.

You can run the example code i linked on visual studio.

Best Regards

FTDI Community 

Discussion - Software / Re: FT232H Configuration
« on: May 23, 2022, 04:15:05 PM »

To use the FT232H with SPI, the MPSSE engine is used. We have an example application using the FT232H with SPI. https://ftdichip.com/wp-content/uploads/2020/07/AN_180_FT232H-MPSSE-Example-USB-Current-Meter-using-the-SPI-interface.pdf.

Also, have a look at https://ftdichip.com/wp-content/uploads/2020/08/AN_135_MPSSE_Basics.pdf this shows the basics of how to activate and use the MPSSE engine.

Here some helpful documentation for MPSSE:


LibMPSSE-SPI is the dedicated API for using the engine for SPI communication. we have a number of software examples to get you started. they can be found here https://ftdichip.com/software-examples/mpsse-projects/libmpsse-spi-examples/.

Best Regards,

FTDI Community


from the wave forms it looks like the data is changing on the rising edge of the clock. you are using SPI mode 0, in this mode the data should be changing on the falling edge of the clock.

it looks like you have the set configuration mode correctly, so this shouldn't be happening. could you run your original code that you first posted and send the wave forms of that please? just so we can compare.

Best Regards
FTDI Community   


are you able to send a scope capture of the FT2232H end and at the SPI device end to see if the waveform timing and signal integrity looks ok? 

it may be also worth checking if the SPI device you are using is also in mode0 as the MPSSE engine in the FT2232H isn't compatible with SPI modes 1 and 3

Best Regards,

FTDI Community 


have you made sure to initialize the states of the MPSSE pins? command 0x11 makes the clock start low and command 0x10 makes the clock start high.

section 3.3 of https://www.ftdichip.com/Support/Documents/AppNotes/AN_108_Command_Processor_for_MPSSE_and_MCU_Host_Bus_Emulation_Modes.pdf explains this further.

Best Regards

FTDI community


you can try the following:

channelConf.ClockRate = 30000000; // 30 MHz;
channelConf.LatencyTimer = 2; //2ms
channelConf.Pin = 0x00000000;

this should set the clock rate to 30MHz.

here is some useful documentation for you:


Best Regards,

FTDI Community

Discussion - Software / Re: Issues using FT260 to communicate over I2C
« on: April 28, 2022, 04:51:07 PM »
Hello Matt,

You can find the error codes in LibFT260.h which is included with LibFT260:

Code: [Select]
enum FT260_STATUS

If you are seeing FT260_INCORRECT_CHIP_MODE then check the hardware configuration.
See FT260 – Full speed HID Class USB to UART/I2C Datasheet section 5.1 Device Interface Configuration. DCNF0 and DCNF1 are configured on hardware.
Ensure you have I2C enabled and are opening the correct interface number.

IO_ERROR may also be a hardware issue. I would advise test, evaluation and reference using the UMFT260EV1A if you are already using custom hardware.

Also refer to the examples provided with LibFT260.

The other alternative is not to use LiBFT260 and access the device with raw HID commands. See AN_394 User Guide for FT260.

Best Regards,
FTDI Community

Discussion - Software / Re: What is VCOM functionality exactly?
« on: April 22, 2022, 11:56:50 AM »

Yes that is correct. Bit bang operation also requires the D2XX driver.

Best Regards,
FTDI Community

Discussion - Hardware / Re: FT232RL Unexplainable anomaly
« on: April 19, 2022, 05:07:15 PM »
Since this is not one of our products, we are unable to support it.
Product Manufacturers are responsible for supporting end-users of their products.
FTDI cannot control how the USB ICs are used and often has no knowledge of the entire product.
Please see the following document for reference:


You should contact Analog Devices with regard to their software

FTDI Community

Discussion - Software / Re: What is VCOM functionality exactly?
« on: April 19, 2022, 04:54:01 PM »

Virtual COM port (VCP) drivers cause the USB device to appear as an additional COM port available to the PC.  Application software can access the USB device in the same way as it would access a standard COM port.

D2XX drivers allow direct access to the USB device through a DLL.  Application software can access the USB device through a series of DLL function calls.  The functions available are listed in the D2XX Programmer's Guide document which is available from the Documents section of this site.

Unfortunately you can't communicate over SPI through VCOM interface. LibMPSSE and the MPSSE Engine can only be configured via the D2XX drivers.

Best Regards,
FTDI Community

Discussion - Software / Re: VNCII Host Keyboard
« on: April 07, 2022, 03:51:07 PM »

You are already in contact with us via email about this enquiry.

Please feel free to post any resolution here to help other community users.

Best Regards,
FTDI Community


I believe this project will be able to help you https://www.ftdichip.com/Support/Documents/AppNotes/AN_195_Vinculum-II_UART_to_SPI_Master_Bridge.pdf.This demonstration application will bridge a VNC2 UART to the VNC2 SPI Master for controlling SPI slave devices. Data is transferrable in both directions.

The default SPI master parameters are SPI mode 0 with a 50kHz clock. Data will be sent MSB first.
The file may be used on 32, 48 or 64 pin packages.

also you should have a look at https://ftdichip.com/wp-content/uploads/2020/08/AN_142_Vinculum-II_Tool_Chain_Getting_Started_Guide.pdf.

all of our VNC2 documentation can be found on the product page, under the documents tab https://ftdichip.com/products/vnc2-48q1c/ .

Best Regards

FTDI Community

Pages: [1] 2 3 ... 49