Fazecast / jSerialComm

Platform-independent serial port access for Java
GNU Lesser General Public License v3.0
1.35k stars 287 forks source link

Reduce latency timer in FTDI devices #369

Closed javmarina closed 3 years ago

javmarina commented 3 years ago

FTDI devices use 16 ms latency timer by default on Windows. This has caused many issues, because users expect fast data transfer and can't usually explain why the communication is so slow. Moreover, for users that find the cause, fixing it is difficult.

This patch is not needed for Linux, as the "low latency mode" solves the issue.

Reference: https://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf

hedgecrw commented 3 years ago

Great catch on a hard-to-find issue. Thanks!