PCIe FD Read Timing Issue, simultaneous frames?
Posted: Tue 8. Sep 2020, 22:30
I am using a mini PCIe FD card and am having a read timing bug.
Generating periodic test traffic on my bus a 1Khz but when I read the frames in userspace using the socket can api, the frames arrive two at a time every 2ms. I used the socket control message to check the timestamp which shows the correct timing of every 1ms.
My system config:
Linux 4.14.52 w RT-preempt
Ubuntu 18.04.1 LTS
peak-linux-driver-8.10.2
Possibly related: I tried enabling msi with modprob but was unable to get the resulting irqs to change
Generating periodic test traffic on my bus a 1Khz but when I read the frames in userspace using the socket can api, the frames arrive two at a time every 2ms. I used the socket control message to check the timestamp which shows the correct timing of every 1ms.
My system config:
Linux 4.14.52 w RT-preempt
Ubuntu 18.04.1 LTS
peak-linux-driver-8.10.2
Possibly related: I tried enabling msi with modprob but was unable to get the resulting irqs to change
Code: Select all
modprobe pcan options pcan fdusemsi=1