FlexCAN Driver Issue on iMX28 linux 2.6.35

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FlexCAN Driver Issue on iMX28 linux 2.6.35

3,096 次查看
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

标签 (1)
0 项奖励
回复
3 回复数

2,806 次查看
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.

2,807 次查看
santhoshkarthik
Contributor III

Hi,

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

0 项奖励
回复

2,807 次查看
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 项奖励
回复