FTDI Community

General Category => Discussion - Software => Topic started by: Yunuce on August 20, 2019, 08:12:37 AM

Title: FT90x Transferring Data via USB
Post by: Yunuce on August 20, 2019, 08:12:37 AM
Hello,

I try to make USB to I2C/SPI with ft90x MCU and I want to make a GUI with MS Visual Studio but Bridgetek supports eclipse so I decided to make a main function which will be include all source codes and receive data from GUI for use them then I will save these mcu memory with eclipse. After that I will make a GUI with FTD2XX.NET , this GUI will only receive data from the user(i.e speed mode,clock speed, slave address etc.)  and send these data mcu over USB with FT_Write function but i confused where to write data? I search D2XX Programmer's Guide and says 'Write data to the device' so can you give more detail?

Finally, I design a PCB and itit hasn't arrived yet so all of them is a theory.Is it possible this theory?

Best Regards.

Title: Re: FT90x Transferring Data via USB
Post by: FTDI Community on August 20, 2019, 04:30:34 PM
Hello,

Which USB interface are you using?
If you are using the USB D2XX interfaces on this FT90x then this is possible.

See the D2XX examples here:

AN_360 FT9xx Example Applications (https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/MCU/AN-360-FT9xx-Example-Applications.pdf)

Also see the D2XX Programmer's Guide (https://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf) which provides software examples.

In your application running on the PC, calling FT_Write would write data to the FT90x via USB then you could read that data using D2XX_Read.
See section 2.35 D2XX Feature in AN_365 FT9xx API Programmers Manual (https://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/ICs/MCU/AN_365-FT9xx-API-Programmers-Manual.pdf).

If you need further support, feel free to [urlhttps://www.ftdichip.com/FTContact.htm]Contact Us[/url].

Best Regards,
FTDI Community