We have several PCAN-USB Pro FD interfaces, which all work great on both Windows and Linux.
Now we are forced to use the interface in full-speed USB mode (in contrary to the default high-speed mode).
The USB LED is green in high-speed mode and turns red / orange when we change to full-speed mode - in accordance with the product manual.
We use socketcan to transmit messages. In high-speed mode, this works great. In low-speed mode, no messages enter the bus. We use a second PCAN-USB Pro FD interface to sniff the traffic.
We use the same machine, same USB port and same socketcan commands in both cases (we change a kenel setting a reboot to force full-speed mode). The CAN1/2 LEDs on the interface remain green in both cases while transmitting.
We start the interface with "ip link set can0 up type can bitrate 250000" and transmit messages with e.g "cansend can0 01a#11223344AABBCCDD". In high-speed mode, the messages are immediately received by the sniffer interface. In full-speed mode we never receive any messages.
Link status shows that messages have been transmitted:
Code: Select all
ip -s -d link show can0
3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 10
link/can promiscuity 0
can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 0
bitrate 250000 sample-point 0.875
tq 25 prop-seg 69 phase-seg1 70 phase-seg2 20 sjw 1
pcan_usb_pro_fd: tseg1 1..256 tseg2 1..128 sjw 1..128 brp 1..1024 brp-inc 1
pcan_usb_pro_fd: dtseg1 1..32 dtseg2 1..16 dsjw 1..16 dbrp 1..1024 dbrp-inc 1
clock 80000000
re-started bus-errors arbit-lost error-warn error-pass bus-off
0 0 0 0 0 0 numtxqueues 1 gso_max_size 65536 gso_max_segs 65535
RX: bytes packets errors dropped overrun mcast
0 0 0 0 0 0
TX: bytes packets errors dropped carrier collsns
368 46 0 0 0 0
Suggestions on how to solve above will be highly appreciated.
Best regards
Christian