We are using PCAN-USB tool and trying to achieve high throughput in FD mode for testing. Here are my settings
1. Bitrate : 1Mbps
2. Data bitrate : 5Mbps
3. Speed : 80Mhz
4. Payload : 64B
5. Tool : Modified pcanfdtst tool with peak-linux-driver-8.9.3 on standard Ubuntu 16.04. (Core i5 machine)
However, I am only able to achieve 1500 msg/sec even after removing usleep. I tried the default application as well but no luck.
Here is the command that I ran
Code: Select all
./pcanfdtst tx --bitrate 1000000 --dbitrate 5000000 --clock 80000000 -n 1 -ie 0xD0 --fd -l 64 --tx-pause-us 1 /dev/pcanusbfd32
1. What is the max achievable throughput with PCAN-USB tool ?
2. What is the recommended approach for getting maximum throughput ? Can I use examples or do I have to write my own code with API's ?
3. I downloaded the API guide and in examples, I found the comment that RT kernel is not supported with USB. Is that correct ?
Regards