candump can0 does not display CAN data

USB to CAN Interface
Post Reply
muralijp@gmail.com
Posts: 1
Joined: Mon 18. Nov 2019, 00:14

candump can0 does not display CAN data

Post by muralijp@gmail.com » Mon 18. Nov 2019, 00:17

I am using PEAK-USB Interface in my vehicle and I am running ubuntu 16.04 in my machine. I am able to add the device, set the link up for can0, I have set the bitrate etc., but candump can0 of SOcketCAN is not displaying the CAN traffic. The output of ip -det link show can0 is

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 500000 sample-point 0.875
tq 125 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
pcan_usb: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp-inc 1
clock 8000000
Appreciate your help
thanks

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

Re: candump can0 does not display CAN data

Post by M.Maidhof » Mon 18. Nov 2019, 10:02

Hi,

please check used baudrate and termination resistors of your CAN cables.

regards

Michael

Post Reply