mcf54415 flexcan doubts

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

mcf54415 flexcan doubts

1,439件の閲覧回数
angelo_d
Senior Contributor I

Hi all,

trying to have flexcan working, actually enabling ColdFire on flexcan.c in mainline kernel.

I can actually see a data stream generated, 

Both

ip link set can0 type can bitrate 500000
ip link set can0 type can bitrate 1000000

produce correct bitrate. On the other bus end i have a USB PEAK, both bus sides are terminated properly.

but "ip link set can0 up" just after produces a kernel frozen situation. I am investigating, if any idea, welcome.

Thanks, angelo

 

0 件の賞賛
返信
3 返答(返信)

1,418件の閲覧回数
angelo_d
Senior Contributor I

Hi mike,

 

thanks for your reply.

Well, i checked that flexcan0 is not in low power, keeping the other side PEAK usb at 500 Kbit, on "ip link set can0 up", kernel (or ip tool) hangs someway over netlink stuff. But, i can clearly see by oscilloscope flexcan0 sending out arbitration frame and a see remote side providing "ack".

One chance is that for some reason drivers interrupts are not working.

 

 

 

0 件の賞賛
返信

1,407件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Please check this thread, which has similar issue about MCF54418 FlexCAN0 module.

Wish it helps.

 

best regards,

Mike

0 件の賞賛
返信

1,426件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

If there with an issue when MCF54415 wake up from low power mode, FlexCAN0 can not work normally?

If my understanding is correct?

 

best  regards,

Mike

0 件の賞賛
返信