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).
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
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?