mcf54415 flexcan doubts

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

mcf54415 flexcan doubts

942 Views
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 Kudos
3 Replies

921 Views
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 Kudos

910 Views
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 Kudos

929 Views
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 Kudos