chensx2012
Newbie level 3

I want to use FT2232H in fifo mode for streaming out data. The external altera FPGA reads the FT2232H at a fixed rate of 48kb/s. On my PC side, what I need to do is to continuously check the number of bytes in the transmit queue. If the bytes falls below 32, the program will feed 256 bytes using FT_write. But when I use FT_GetStatus(ftHandle,@RxBytes,@TxBytes,@EventDWord), TxBytes always return 0 (unlike RxBytes which can truthfully indicate the number of bytes in the receive buffer). Any ideas? Thanks in advance!