mcf54415 flexcan doubts

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

mcf54415 flexcan doubts

1,441 次查看
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,420 次查看
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,409 次查看
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,428 次查看
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 项奖励
回复