AnsweredAssumed Answered

Problem in CAN Frame Transmission in iMX28 EVk linux 2.6.35

Question asked by Karthikeyan S on Sep 11, 2017
Latest reply on Oct 3, 2017 by Karthikeyan S

Hi,

  I am not able to set bitrate using below command,

 ip link set can0 type can bitrate 125000

Instead, I did following command to set the bit rate

# echo 125000 > /sys/devices/platform/FlexCAN.0/bitrate

 

But, I am trying send CAN frame using following Command

cansend can1 -i 0x10 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88

 

In Second Board, I was using following command to receive the CAN frame

candump can1

 

But I am not getting anything. Please suggest me to resolve this issue as soon as possible

 

root@mx28evk /sys/devices/platform/FlexCAN.1$ candump can1
interface = can1, family = 29, type = 3, proto = 1

 

 

root@mx28evk /sys/devices/platform/FlexCAN.1$

Outcomes