During some tests with the FT232R USBtoRS232 chip, which should support speeds up to 3 MBaud, I have a problem with my actual speed being only about 38 kBaud or 3.8 kB / s.
I searched the Internet but could not find comparable data to prove or disprove this restriction.
While I look further into this, I would like to know if anyone here has comparable data.
I checked with my own code and with this tool here:
http://www.aggsoft.com/com-port-stress-test.htm
Settings: data packet 115, 200, 8N1 and 64 bytes.
I would expect such results:
At 115200 baud β effectively 11 520 bytes / s or 11.52 KB / s
At 921600 baud β 92.16 kb / s
I need to confirm the minimum speed of 11.2 KB / s, the best speed is about 15-60 KB / s.
Based on the table, this should not be a problem - based on reality, I'm stuck at 3.8 KB / s - for now, at least.
Oh my god, I found a pretty good hint - my transmission speed is highly dependent on the size of the packets. So, using 64-byte packets, I get 3.8 KB / s using 180-byte packets, on average it is about 11.26 KB / s - and the main indicator lights up when I checked the speed by 1 byte. packets β about 64 bytes / s!
Adding math to it -> 11.52 KB / s, divided by 180, is 64 bytes / s. So basically speed depends on the size of the byte. It is right? And why so?