FTDI Community

General Category => General Discussion => Topic started by: unified on September 23, 2020, 02:00:15 AM

Title: FT230X Flow Control
Post by: unified on September 23, 2020, 02:00:15 AM
Sincere apologies - I must be missing something because there are a lot of posts on the topic of flow control.

The datasheet states "Control signals supported by UART mode include RTS, CTS. .... RTS/CTS and XON/ XOFFhandshaking options are also supported"

Where are these options selected?  I have gone through FT_Prog and can find nothing other than signal inversion settings.  The D2XX_Programmer's_Guide provides options to set flow control, but that would require a D2XX based program to configure them (or is that somehow managed by the VCP enumeration??)  If so then what is the power up condition of the chip - ie is there any handshaking prior to configuration? 

Thanks in advance,
Colin
Title: Re: FT230X Flow Control
Post by: FTDI Community on September 23, 2020, 04:40:29 PM
Hello,

Flow control is handled by the application program.

For example, with terminal programs like PuTTY or Tera Term there are settings available in the application that allow you to select the type of flow control. These typically use the VCP drivers.

If you wanted to use the D2XX drivers that would involve creating your own application program that would allow you to configure flow control. You can take a look at some software examples here:

https://www.ftdichip.com/Support/SoftwareExamples/CodeExamples.htm (https://www.ftdichip.com/Support/SoftwareExamples/CodeExamples.htm)

TN_153 Instructions on Including the D2XX Driver in a Visual Studio Express 2013 Project (https://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_153%20Instructions%20on%20Including%20the%20D2XX%20Driver%20in%20a%20VS%20Express%202013%20Project.pdf) is also useful.

There is no handshaking prior to configuration in software.

Best Regards,
FTDI Community