Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi Exolon,
I spoke to FTDI a while ago when I was having problems with my design, and they sent me a revised, relaxed set of timing constraints which they assured me work (and they seem fine to me) which helps a little... I have attached the document they sent. Also I managed to avoid your problems as my design was quite a simple one. Basically as I was using the FT245 synchronous mode, no matter what you set the TX and RX buffer sizes to on the FT2232H, they are only 512 Bytes as that's the maximum packet size in USB Bulk mode. I was multiplexing 24bit words into my 8 bit output buffer, so I just filled the TX buffer with 510 bytes, and stopped writing to the buffer. Which meant I never needed to look for the TXF flag, and once my application had finished reading the buffer, so that it was empty again, the application sent a byte to trigger my next packet of data to be loaded into the FT2232's TX buffer.... It's not the most elegant solution, and probably not what you are looking for, but for my simple design it seems to have worked well enough...