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: Ft201X & ftd2xx.dll  (Read 106 times)

bernie

  • Newbie
  • *
  • Posts: 1
    • View Profile
Ft201X & ftd2xx.dll
« on: February 19, 2019, 08:27:54 AM »

Hi folks,

I’m using the FT201X and ftd2xx.dll with vb .net for my project. I’ve managed to get most needed functions to work neatly. That is interfacing my windows application with an MCU over I2C. But I’m encountering difficulties with two functions. These are ‘FT_GetStatus’ and ‘FT_GetQueueStatus’. These functions return 0 even when TXE# confirms the buffer is full. What I would like to know is if this is a known issue for the FT201 (assuming I’ve done everything correctly) or if this is the result of something else. I need atleast one of these functions to read the buffers efficiently. Thanks in advance.
Logged

FTDI Community

  • Administrator
  • Full Member
  • *****
  • Posts: 206
    • View Profile
Re: Ft201X & ftd2xx.dll
« Reply #1 on: February 20, 2019, 02:18:32 PM »

Hello,

You could try changing the latency timer (FT_SetLatencyTimer) to 1 or enabling flow control in your application program (FT_SetFlowControl). Have a look at the D2XX Programmer Guide for further details:

https://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf

Regards,
FTDI Community.
Logged