PCAN USB RX stops and requires reloading module

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
tgoyen
Posts: 1
Joined: Wed 29. Nov 2017, 00:47

PCAN USB RX stops and requires reloading module

Post by tgoyen » Wed 29. Nov 2017, 00:57

I've got a few adapters which appear to stop receiving data (possibly after the bus goes passive). To recover from the situation the program using the adapter must be closed and the module removed and reloaded...

I've setup a simple test with our device and the adapter being the only things on the bus. The PCAN adapter sends out a single message and our device responds. An oscilloscope verifies that the PCAN adapter is ACKing the response packet, but USB MON does not show any Bulk Input transfers from the adapter.

running rmmod pcan; modprobe pcan and restarting my binary immediately fixes the issue.

The issue is intermittent

Driver: 8.3.1
pcanfd API
Kernel: 4.4.0-78-lowlatency
OS: XUbuntu 14.04 LTS

Has anyone else seen similar behavior?

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: PCAN USB RX stops and requires reloading module

Post by M.Maidhof » Wed 29. Nov 2017, 11:45

Hi,

please post the output of cat /proc/pcan before and after transmitting the message. Sure you have termination resistors in your CAN cables?

regards

Michael

Post Reply