General Category > Discussion - Drivers
FT4222: Very high CPU load and gaps between bytes
FTDI Community:
Hi,
we were able to recreate the high CPU load on the raspberry pi. you can add the following setting at the beginning of your code which will resolve this issue: ftStatus = FT_SetTimeouts(ftHandle, 5000,0);
concerning the gaps between bytes, sorry this is a firmaware limitation so there is no way to resolve it.
Best Regards
FTDI Community
a4711:
Thank you for your suggestion. I confirm that the CPU load is now a bit lower, but it is still higher than I would expect.
Could you explain the consequence of setting the timeout to 0?
Thanks.
FTDI Community:
Hi,
Setting the timeout to 0 just means that the timeout is infinite, or until the task has been completed. There should be no real consequences to dong this.
Best Regards,
FTDI Community
Navigation
[0] Message Index
[*] Previous page
Go to full version