FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

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

Author Topic: FT245 control only using VCP e.g. doing all with a terminal program.  (Read 12184 times)

maxwell123

  • Newbie
  • *
  • Posts: 2
    • View Profile

I want to use an FT245 with a terminal program only, assuming that the terminal can send all characters (0x00 to 0xff) can this be done?  If so what are the commands available.
I only need to set/reset the 8 data lines.

Thanks,
Maxwell
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 891
    • View Profile
Re: FT245 control only using VCP e.g. doing all with a terminal program.
« Reply #1 on: December 12, 2019, 03:44:37 PM »

Hello Maxwell,

The VCP or D2XX drivers can be used to control the IC:

However note the data transfer rates:

  • up to 1 Megabyte / second with the D2XX Direct Drivers.
  • up to 300 kilobyte / second with the VCP Drivers.

Please see the FT245R Datasheet for more information.

TN_167 FTDI FIFO Basics also provides useful information.

So if you are using the VCP port via a terminal, simple read and writes are possible.
Note the FT245R is a FIFO slave which is controlled by a master.

You can test and evaluate using our UM245R.

Best Regards,
FTDI Community
Logged

maxwell123

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: FT245 control only using VCP e.g. doing all with a terminal program.
« Reply #2 on: December 12, 2019, 05:43:27 PM »

I have trawled the data sheets and can find no information regarding simple control/setup via the VCP port and a simple terminal programme.  Please point me in the right direction.  I am (and have) using FTDI serial devices on many projects, these work "out of the box" very well.  All I need is the byte sequence to setup the 245 for simple on/off control of the output byte.  Various "relay board demonstration" programmes work but I am stuck with a serial port only (it was hard enough to get the management to accept a VCP for the other ports).  Sending bytes to the 245 after running a demo relay program works, not if I simply send the data after a cold reset.
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 891
    • View Profile
Re: FT245 control only using VCP e.g. doing all with a terminal program.
« Reply #3 on: December 13, 2019, 10:42:43 AM »

Hello,

We are dealing with your request via email. Please feel free to add any resolution here when complete to help other community users.

Best Regards,
FTDI Community
Logged

ft245vcpguy

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: FT245 control only using VCP e.g. doing all with a terminal program.
« Reply #4 on: February 19, 2021, 02:53:28 PM »

Was there a solution for this problem?
Logged

domr001

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: FT245 control only using VCP e.g. doing all with a terminal program.
« Reply #5 on: November 05, 2021, 08:00:35 PM »

Please share the solution
I also need to control my interface (FT220) using VCP
But I can't find any example of the messages to configure the interface and I/O signals, then communicate with the remote device
Please share an example
Logged