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: What is VCOM functionality exactly?  (Read 432 times)

faskrobo

  • Newbie
  • *
  • Posts: 2
    • View Profile
What is VCOM functionality exactly?
« on: April 18, 2022, 11:53:03 AM »

I've been using an FT4232HL with the libMPSSE library to communicate over SPI, but the documentation mentions a virtual com port and I'm curious what I'd be able to do with it? Is writing to it the same as calling FT_Write() in D2XX, or is it more complicated? And is it possible to communicate over SPI through VCOM interface, or is the VCOM only capable of UART transfer?
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 749
    • View Profile
Re: What is VCOM functionality exactly?
« Reply #1 on: April 19, 2022, 04:54:01 PM »

Hello,

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
Logged

faskrobo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: What is VCOM functionality exactly?
« Reply #2 on: April 22, 2022, 03:45:19 AM »

Hello,

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

So is VCOM only capable of controlling UART transfers then (i.e. no bit-banging or other interfacing)?
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 749
    • View Profile
Re: What is VCOM functionality exactly?
« Reply #3 on: April 22, 2022, 11:56:50 AM »

Hello,

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

Best Regards,
FTDI Community
Logged