I have an application based on PCAN-Basic API. The application runs without any problems on Windows 10 and Windows 11. I'm trying to port it to debian Linux.
I installed the chardev peak driver, following the instructions in the README within the package. When I try to run RX examples, they stop after a while. My Application's RX also stops after a while.
Code: Select all
ls /dev | grep pcan
- pcan32
pcan-usb
pcanusb32
Code: Select all
sudo dmesg
PCAN-USB CAN1: controller internal Rx queue overflow: possible loss of msgs(s)
I'm receiving a single message with 10ms period from a single node. How come RX queue can be full. Documentation suggests that the default RX buffer is 2000 and it can be configured. I configured it to 30000 to see if it solves but didn't work.