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: Data collisions with dual channel device  (Read 93 times)

mikewu99

  • Newbie
  • *
  • Posts: 3
    • View Profile
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)?
Logged