We have ported linux :
Linux CMS5 126.96.36.199-670-g914558e-svn1803 #43 PREEMPT Wed Mar 19 12:01:03 IST 2014 armv5tejl GNU/Linux.
We have initially Enabled cano interface and tested which works fine. Later we moved on to enable can1 interface. But eventually we are facing problems with can1 when there is no device connected to the bus.
can1 interrupts keeps on increamenting with count of 1000 per sec.
root@ ~$ cat /proc/interrupts [J
6: 0 - pswitch
8: 18 - can0
9: 2013315 - can1
38: 0 - fb_irq
39: 0 - mxs-pxp
this is the register dump for both can interfaces .
root@ ~$ cat /sys/devices/platform/FlexCAN.0/dump_reg
root@~$ cat /sys/devices/platform/FlexCAN.1/dump_reg
BUS STATE :
root@ ~$ cat /sys/devices/platform/FlexCAN.1/state
root@ ~$ cat /sys/devices/platform/FlexCAN.0/state
can 0 comes back from Bus off state to normal state but this behaviour is not observe in case of can1.
also i found that my loopback bit is set in CTRL register. which probably dont need to be set ? Please suggest me regarding this.
should i enable the AEN bit MCR register ? what all bits should be enabled if this configuration has to enabled ?
Please suggest. thanks in advance .
Message was edited by: hrishikesh choudhary