FTDI Community

General Category => Discussion - Software => Topic started by: Andi on March 27, 2019, 04:54:44 PM

Title: Is there a data mode on the VNC2
Post by: Andi on March 27, 2019, 04:54:44 PM
Hi there,
I have already used the VNC1L. With this I can change from Command Mode to Data Mode by switching DATAREQ# to low.
Now I want to use the VNC2. For this I just have the firmware V2DAP on the module V2DIP1-32 running. Now I want to switch to the data mode, but do not know how.
My question: Is there a data mode at all with the VNC2? And how can I turn this on?
Andi
Title: Re: Is there a data mode on the VNC2
Post by: FTDI Community on March 29, 2019, 04:32:02 PM
Hello,

Please see AN_176 - Vinculum Comparison of VDAP and V2DAP (https://www.ftdichip.com/Support/Documents/AppNotes/AN_176 Comparison of VDAP versus V2DAP.pdf):

When a bulk endpoint is used for data mode, it will block when no data is received from the device. No further data will be sent to the device until data is received. Interrupt endpoints will send data only after data is received from the device but they will typically send data after each polling interval. FT232 devices will have data ready to receive after a configurable time interval, these will work the same as interrupt endpoints. Both bulk and interrupt endpoints are supported in command mode (DRD command).
This is due to the architecture of the V2DAP firmware. If the application required is primarily to perform tasks in data mode then it recommended that a simple application is used to transfer data between the devices rather than V2DAP firmware.

The source code for V2DAP is provided with the Vinculum-II Tools (https://www.ftdichip.com/Firmware/VNC2tools.htm) which you can take a look at:

C:\Users\Username\Documents\FTDI\Firmware\Samples\V2.0.2-SP2\VNC1L\V2DAP

These are very mature products and are no longer supported by R&D and have been superseded by FT9xx.

The best solution we have is to use the FT90x (http://www.ftdichip.com/Products/ICs/FT90X.html) MCUs.

We provide example code in AN_360 FT900 Example Applications (http://www.ftdichip.com/Support/Documents/AppNotes/AN_360 FT900 Example Applications.pdf), but since we provide source code you can customise to meet your needs:

There are significant benefits of FT9xx:

-Eclipse based IDE
-Source code for API drivers is provided
-Significant performance improvement
-Actively in development by R&D
-Improved documentation and software examples

We provide FT9xx Development Modules (http://www.ftdichip.com/Products/Modules/MCUModules.htm) and a free FT9xx Toolchain (http://www.ftdichip.com/Firmware/FT90xToolchain.htm) for custom application development.

Best Regards,
FTDI Community