301
Discussion - Software / Re: FT2232H used in CPU-style FIFO mode - port setup ?
« on: April 27, 2021, 03:11:21 PM »
Hello,
Thank you for your question.
1) Given my use case, am I using the most appropriate mode ?
Yes, give your use case I believe that the CPU-style FIFO interface would be the most appropriate.
2) In changing the port settings for the VCP in Windows 10 Device manager - Port settings - Advanced settings, do I really need to reboot for settiing to take effect ?
No, a reboot is not required, these setting should take effect immediately. But please, close any open VCP connections before altering these settings.
3) Is it true that the baud rate setting here is ignored ?
In FIFO modes yes this is correct the baud rate setting is ignored.
4) What exactly do the "Minimum Read/Write Timeout (msec)" settings control ?
These settings control the read and write timeouts for the IC, but for the best performance I would leave these at the default 0msec.
I would suggest alerting the latency timer value. The latency timer can only be set to 1ms minimum for our High Speed USB products and nothing less.
In bulk mode there will usually be no transfer of data until the packet size threshold (64/512) has been reached. However there are conditions where you may never reach this amount of data and you need to transfer a “short” packet. The mechanism to achieve this is called a latency timer timeout. This is simply a mechanism to flush the buffer of the device back to the PC after a pre-set time delay.
Sometimes the inherent behaviour of USB can be a problem and applications cannot be guaranteed throughput.
If there is more USB traffic then the OS and USB have to schedule the communication with each of the USB devices.
It’s highly dependent on the OS and USB Host and is out with our control.
Best Regards,
FTDI Community
Thank you for your question.
1) Given my use case, am I using the most appropriate mode ?
Yes, give your use case I believe that the CPU-style FIFO interface would be the most appropriate.
2) In changing the port settings for the VCP in Windows 10 Device manager - Port settings - Advanced settings, do I really need to reboot for settiing to take effect ?
No, a reboot is not required, these setting should take effect immediately. But please, close any open VCP connections before altering these settings.
3) Is it true that the baud rate setting here is ignored ?
In FIFO modes yes this is correct the baud rate setting is ignored.
4) What exactly do the "Minimum Read/Write Timeout (msec)" settings control ?
These settings control the read and write timeouts for the IC, but for the best performance I would leave these at the default 0msec.
I would suggest alerting the latency timer value. The latency timer can only be set to 1ms minimum for our High Speed USB products and nothing less.
In bulk mode there will usually be no transfer of data until the packet size threshold (64/512) has been reached. However there are conditions where you may never reach this amount of data and you need to transfer a “short” packet. The mechanism to achieve this is called a latency timer timeout. This is simply a mechanism to flush the buffer of the device back to the PC after a pre-set time delay.
Sometimes the inherent behaviour of USB can be a problem and applications cannot be guaranteed throughput.
If there is more USB traffic then the OS and USB have to schedule the communication with each of the USB devices.
It’s highly dependent on the OS and USB Host and is out with our control.
Best Regards,
FTDI Community