FlexCAN Driver Issue on iMX28 linux 2.6.35

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FlexCAN Driver Issue on iMX28 linux 2.6.35

918 Views
santhoshkarthik
Contributor III

Hi,

    I am using iMX28 EVK board with linux 2.6.35. I am working on CAN driver support. Earlier I was able to see two CAN node using ifconfig -a, but problem was, I could not set the bitrate to 12500, it was showing 

root@mx28evk ~$ ip link set can0 type can bitrate 125000
RTNETLINK answers: Operation not supported

Then I got patch following from NXP community,

linux-2.6.35_mainline_flexcan.patch

 

I applied the above patch, but Now I am not able the see the CAN node using ifconfig -a

I have attached the logs

Can anyone please help me to make FlexCAN driver work, For the last 3 weeks, I was struggling with CAN driver in iMX28 EVK.

Thanks,

Karthik

Labels (1)
0 Kudos
3 Replies

628 Views
santhoshkarthik
Contributor III

Hi,

 FlexCAN problem is resolved now. Problem was with cable. I used crossover cable instead of straight cable. Now I am able to send/receive CAN frame.

629 Views
santhoshkarthik
Contributor III

Hi,

Can anyone please suggest the solution to solve the FlexCAN Problem?

0 Kudos

629 Views
igorpadykov
NXP Employee
NXP Employee

Hi Karthikeyan

may be useful to check below thread with similar issue

i.MX28 CAN frame transmission order problem 

Best regards
igor

0 Kudos