AnsweredAssumed Answered

i.MX35 FlexCAN 1Mbps Linux problem

Question asked by Iliya Zoobkov on Sep 2, 2013
Latest reply on Sep 13, 2013 by Iliya Zoobkov

Hello!

I have a custom board with imx35 processor. Linux kernel is 2.6.31. I need to run CAN on 1 Mbps (on 500 Kbps work fine).

Configure bitrate:

echo 1000000 > /sys/devices/platform/FlexCAN.1/bitrate

The bitrate 1000000 can't supported with clock                              rate of 66500000

Ok, then i want to choose the other clock source, 24576000Hz as  described in the datasheet:

echo osc > /sys/devices/platform/FlexCAN.1/br_clksrc

Then:

ifconfig can1 up

flexcan software Reset Timeouted

ifconfig: SIOCSIFFLAGS: No such device

It` s mean that SOFT_RST bit in MCR doesn`t want to be cleaned.

Have any ideas on this?

Thanks.

Outcomes