USB adapters performance optimization
USB adapters performance optimization
Update February 2023 : The original article was created in 2015 and much outdated. Please do not spend your time trying to make the cheap adapters work. Instead of, please use recommended adapaters. Please find more information here:
What adapter should I purchase for FORScan for Windows?
Why should I use more expensive "recommended" adapter instead of regular ELM327?
What are possible problems if I use "regular" ELM327 instead of "recommended" adapter?
Main advantage of USB adapters against Bluetooth and WiFi ones is performance. But sometimes some optimization is necessary to reach the maximum of possible performance. Below we describe some tricks on how to improve USB adapter speed in FORScan.
FORScan shows some adapter parameters in the Vehicle section:
Minimum response time is most critical, as it in fact means adapter delay (time added to every request and response). In this case, it is not so bad, but this adapter may work better. Let's try to fix:
1. FTDI UBS 2 RS232 chips by default have odd 16ms delay reading data from buffer. Our luck is that It can be easilty reduced:
Call Device Manager, find your USB port. (1) Call Properties; (2) Call advanced (3) Change Latency Timer from 16 to 2 or 1 ms.
PC reboot is recommended after this procedure.
This trick works only for FTDI chips. Prolific, Silicon Labs and others have no this latency timer problem.
2. If we check adapter performance now, we will see that minimal response time reduced from 16 to 10 ms:
Well, it's better but still slow. Another improvement deal is to set the Auto-increase option is FORScan settings:
Let's check it and re-connect:
We see great improvement now, FORScan has increased interface speed from 38,4 to 500 Kbps and minimal response time dropped from 10 to 2 ms. This is best reachable delay for china ELM327 USB adapters.
This way is applicable for all USB adapters. You may ask why this nice option is not enabled by default? Answer is simple: initially this option was enabled by default, but it freezes some china adapters, so we have disabled it.
What adapter should I purchase for FORScan for Windows?
Why should I use more expensive "recommended" adapter instead of regular ELM327?
What are possible problems if I use "regular" ELM327 instead of "recommended" adapter?
Main advantage of USB adapters against Bluetooth and WiFi ones is performance. But sometimes some optimization is necessary to reach the maximum of possible performance. Below we describe some tricks on how to improve USB adapter speed in FORScan.
FORScan shows some adapter parameters in the Vehicle section:
Minimum response time is most critical, as it in fact means adapter delay (time added to every request and response). In this case, it is not so bad, but this adapter may work better. Let's try to fix:
1. FTDI UBS 2 RS232 chips by default have odd 16ms delay reading data from buffer. Our luck is that It can be easilty reduced:
Call Device Manager, find your USB port. (1) Call Properties; (2) Call advanced (3) Change Latency Timer from 16 to 2 or 1 ms.
PC reboot is recommended after this procedure.
This trick works only for FTDI chips. Prolific, Silicon Labs and others have no this latency timer problem.
2. If we check adapter performance now, we will see that minimal response time reduced from 16 to 10 ms:
Well, it's better but still slow. Another improvement deal is to set the Auto-increase option is FORScan settings:
Let's check it and re-connect:
We see great improvement now, FORScan has increased interface speed from 38,4 to 500 Kbps and minimal response time dropped from 10 to 2 ms. This is best reachable delay for china ELM327 USB adapters.
This way is applicable for all USB adapters. You may ask why this nice option is not enabled by default? Answer is simple: initially this option was enabled by default, but it freezes some china adapters, so we have disabled it.
Re: USB adapters performance optimization
Thanks tried this today and got very good improvement.
- Attachments
-
- forscan.jpg (18.55 KiB) Viewed 121807 times
08 mk4 mondeo 2.0 140 bhp
Re: USB adapters performance optimization
followed this guide and worked a treat 13 down to 2/3ms
Re: USB adapters performance optimization
were and how do you find this in the forscan program ?
Re: USB adapters performance optimization
were and how do you find this in the forscan program ?
Re: USB adapters performance optimization
This has to be adjusted in Windows system settings (device manager). FORScan cannot do this for you. You have to do this by yourself.
-
- Posts: 38
- Joined: Thu Sep 08, 2016 11:18 pm
- Vehicle: F150, 3.5 Eco, 2017
- Location: Edmonton, Alberta
Re: USB adapters performance optimization
Thank you - found out this myself.
Chinese ELM327 now does 3ms and works like a charm.
Chinese ELM327 now does 3ms and works like a charm.
Re: USB adapters performance optimization
For Windows 10
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\FTDIBUS\{Device VID, PID and serial number}\0000\Device Parameters\LatencyTimer
Change from 16 to 2.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\FTDIBUS\{Device VID, PID and serial number}\0000\Device Parameters\LatencyTimer
Change from 16 to 2.
Re: USB adapters performance optimization
My experience with writing firmware with the OBDLink EX was a good learning experience. The connection was so slow that it would eventually outright fail, leaving me with a nonfunctional APIM.
It was after doing what's listed in this thread that it sped it up to a reasonable time and I was finally successful.
It was after doing what's listed in this thread that it sped it up to a reasonable time and I was finally successful.