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

Pages: [1] 2 3 ... 7
 on: January 16, 2018, 12:31:54 PM 
Started by Cactus - Last Post by Cactus
Hi Guys,
Thanks for the reply

 on: January 16, 2018, 11:26:13 AM 
Started by Cactus - Last Post by FTDI Community

The FT4222H can not be used with the D2XX drivers alone, it must also be used with libFT4222 which can be downloaded here:


You will also find code examples provided with the libFT4222.

Best Regards,
FTDI Community

 on: January 16, 2018, 10:28:29 AM 
Started by Cactus - Last Post by Cactus
Hi all,
I'm a university PHD student hoping to make use of some of FTDI chips for communication with microcontrollers (STM32 series), with the end point of high throughput Data-Loggers. Currently looking at the FTDI 4222h and would eventually like to be familiar with the Super-speed series.
I'm basically still learning in both microcontroller use and electronics so apologies for any glaringly obvious mistakes.

 on: January 16, 2018, 10:22:06 AM 
Started by Cactus - Last Post by Cactus
Hi all,
I was wondering if anyone had any experience initializing and using for SPI communications the FT4222 only using the D2XX drivers.
I am looking to use this chip interfacing with Matlab, however I have only been able to successfully load the D2XX libraries, not the FT4222 libraries.

 on: January 09, 2018, 11:54:34 AM 
Started by pejvaak - Last Post by cioma
Do you by any chance have 3-phase clocking enabled?

 on: January 05, 2018, 01:31:41 PM 
Started by sachin0005 - Last Post by FTDI Community

Thanks for your question.

Can you describe the device you are implementing this code for? is it a cable? what is it trying to communicate with?

Are you implementing the Flow Control lines, I believe the loopback code example requires these.

Best Regards,

FTDI Community

 on: January 04, 2018, 09:39:16 AM 
Started by Shimon @ Nohayo - Last Post by FTDI Community

We have an example of using CBUS bit-bang with the FT-X series in the application note below.


The FT_Prog utility is a newer version of MPROG and so FT_Prog must be used for the FT-X.

To use CBUS bit-bang, your application for both the UART and the bit-bang needs to be written using D2xx.

You can use FT_Prog to set the CBUS lines to IO Mode as described in AN_373 and can also set D2xx. Note that you can still open a device via D2xx even if the D2xx/VCP EEPROM setting is on VCP so long as the port isn't open in VCP. The D2xx layer is always enabled and this option selects whether the VCP is also enabled (COM port visible) or not. However, for D2xx applications, it is still better to set D2xx mode as this hides the COM port to avoid users or applications opening it which would block access from your D2xx program.

Best Regards, FTDI Community

 on: January 04, 2018, 04:52:56 AM 
Started by sachin0005 - Last Post by sachin0005
Hi there,

I am trying to develop a windows application with C# language for communication with a device containing FTDI chip 232R UART.

I am using FTD2XX_NET class.

This class is showing that device is connected properly but i am unable to write my command and read response from it.

I tried to use C# Loop back sample code existing in FTDI website but the same code is not working for me.

I tried many times and one time i got the result but after that i am still trying and did not get any response from the device.

Please help and give sample code how to write command and read response with a FTDI device using C#.

Thanks in advance

Below is my code

public class FTDI
public FTDI myFtdiDevice;

public string command="?I_SCAN";

private void writecommand()

      ftStatus = myFtdiDevice.Write(command,command.length, ref numBytesWritten)
                if (ftStatus != FTDI.FT_STATUS.FT_OK)
                    MessageBox.Show("Failed to write to device (error " + ftStatus.ToString() + ")", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                    return false;

                numBytesAvailable = 0;

                    ftStatus = myFtdiDevice.GetRxBytesAvailable(ref numBytesAvailable);
                    myFtdiDevice.GetLineStatus(ref data);
                    var st = Encoding.ASCII.GetString(new byte[] { data });
                    if (ftStatus != FTDI.FT_STATUS.FT_OK)
                        MessageBox.Show("Failed to get number of bytes available to read (error " + ftStatus.ToString() + ")", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                        return false;
                } while (numBytesAvailable < FTDICommands.GETNUMBEROFSCAN.Length);

 on: January 03, 2018, 03:56:45 PM 
Started by Shimon @ Nohayo - Last Post by Shimon @ Nohayo

I'm using FT230 (UART to USB bridge)

The default drive isVCM

I would like to control CBUS0 and CBUS1 as GPIO from my PC App.

The M_Prog utility does not allow me to change the driver to D2XX, I can change CBUS from FT_Prog utility, but I would like to do it from my App 

Please advise how to do it,


 on: January 03, 2018, 11:36:23 AM 
Started by mikemoy - Last Post by FTDI Community

AT-Bus with Host Emulation Mode is the only example code we have available for Host Bus Mode.

You can refer to AN_108 Command Processor For MPSSE and MCU Host Bus Emulation Modes to create your own software in any language.

You may find other examples useful:

Best Regards,
FTDI Community

Pages: [1] 2 3 ... 7