FlexCAN Driver Issue on iMX28 linux 2.6.35

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FlexCAN Driver Issue on iMX28 linux 2.6.35

3,065件の閲覧回数
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,775件の閲覧回数
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,776件の閲覧回数
santhoshkarthik
Contributor III

Hi,

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

0 件の賞賛
返信

2,776件の閲覧回数
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 件の賞賛
返信