test USB serial communication error rate and speed
2016-08-23
0 0 0
no vote
Other
Earn points
This test code is to test USB serial communication speed, writen in python.
example output:
COM18(58 small) -> COM17(59, big): ok
Bytes: 4000 seconds: 13 rate:307.00 bytes/sec
START !
Error: expect: 0x31, actual: 0x0 -48
Error: expect: 0xc0, actual: 0xe0 33
END
ACK: ack bytes:4000, err bytes:2 , err packet 2 / 59 (3.39%)
ack bytes:4032, err bytes:302 , err packet 0 / 48 (0.00%), setting 32, loop 64
ack bytes:4000, err bytes:389 , err packet 1 / 46 (2.17%), setting 32, loop 64, sleep 0.2 sec
ack bytes:3968, err bytes:745 , err packet 2 / 72 (2.78%), setting 32, loop 32
ack bytes:3968, err bytes:746 , err packet 1 / 71 (1.41%)
Bytes: 4000 seconds: 25 rate:160.00 bytes/sec
COM17(big,59
python
usb
通信
测试
误码率
使用
速度
串行
Related Source Codes
USB Mass Storage Routine (SD Card Simulated USB Dr
0
0
no vote
Word memorization software
0
0
no vote
CWT Python example
0
0
no vote
STFT example
0
0
no vote
Chinese Speech Recognition
0
0
no vote
No comment