Search found 4 matches

by hardwic
Fri 19. Apr 2019, 09:52
Forum: Linux
Topic: CAN hangs on RaspberryPi
Replies: 5
Views: 6046

Re: CAN hangs on RaspberryPi

OK that nailed the problem.Thanks
by hardwic
Thu 18. Apr 2019, 15:45
Forum: Linux
Topic: CAN hangs on RaspberryPi
Replies: 5
Views: 6046

Re: CAN hangs on RaspberryPi

Aha.. I am running off a bench power supply at 5.1v and the supply can deliver 10A if required.
But the wire to the usb connector on the Pi is a bit this and long and the voltdrop maybe an issue.

let me try shortening that and testing again. Thanks
by hardwic
Thu 18. Apr 2019, 10:03
Forum: Linux
Topic: CAN hangs on RaspberryPi
Replies: 5
Views: 6046

Re: CAN hangs on RaspberryPi

ip -s -d link show can0
4: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10
link/can promiscuity 0
can state ERROR-ACTIVE restart-ms 0
bitrate 250000 sample-point 0.875
tq 250 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
pcan_usb: tseg1 1..16 ...
by hardwic
Tue 16. Apr 2019, 11:05
Forum: Linux
Topic: CAN hangs on RaspberryPi
Replies: 5
Views: 6046

CAN hangs on RaspberryPi

I am using a USB-CAN which is supplied by Victron but is a PCAN device on Rpi 3 b+ with 4.14.98-v7+

I compiled the kernel drivers that shipped with OS.
The CAN bus hangs every few hours:
[166262.423367] can: request_module (can-proto-0) failed.
[166361.167539] can: request_module (can-proto-0 ...