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

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - mikewu99

Pages: [1]
1
Discussion - Drivers / Data collisions with dual channel device
« on: October 03, 2019, 01:49:42 AM »
Chip: FT2232H
Configuration: Channel A is SPI interface (MPSSE); Channel B is asynchronous FIFO
Driver Version: 2.12.28.0
Software: Microsoft C# using FTD2XX_NET Managed Wrapper version 1.1.0
OS: Win10

The main thread of my program uses channel B (asynchronous FIFO). There is an asynchronous polling loop which periodically reads the GPIO of channel A (every 5 msec or so). I believe that I am getting occasional collisions between read/write operations on channel B and read/write operation on channel A, resulting in corrupted data. I was hoping that the FTDI driver would automatically sort out such overlapping requests, but that seems to not be the case. Is there some setting that I am missing? Or is there some way for me to determine if channel A is busy so I can hold off on the channel B access (or vice-versa)?

2
Discussion - Drivers / Re: First asynch FIFO read always takes 3 seconds
« on: September 19, 2019, 10:10:16 PM »
Never mind - bug elsewhere in code was inadvertently triggering a Xilinx reprogram which apparently takes a bit over 3 seconds.

3
Discussion - Drivers / First asynch FIFO read always takes 3 seconds
« on: September 17, 2019, 04:29:18 PM »
Chip: FT2232H
Configuration: Channel A is SPI interface (MPSSE); Channel B is asynchronous FIFO
Driver Version: 2.12.28.0
Software: Microsoft C# using FTD2XX_NET Managed Wrapper version 1.1.0

First FT_Read (through the Read method in the wrapper) on the asynchronous FIFO always takes slightly more than three seconds. Subsequent reads are very fast. If I do an write first followed by a read the write executes very quickly but the subsequent read still takes 3 seconds.

Is this normal operation?

ETA: Changing the timeout values does not change the 3 second delay.

Pages: [1]