Hello everyone,
I have modified my AM335x Starter Kit to include a Controller Area Network transceiver, and have also enabled the CAN driver for the can0 device in linux. Now that I have an operating CAN device on this evaluation board, I would like to trigger an interrupt each time the can0 device receives a message. I can't find much information on how to do this on the web, or at least nothing concise enough for me to digest. Any suggestions on where to begin?
I know that according to an ifconfig -a command, an interrupt number 52 has been assigned to the device.
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16 Metric:1
RX packets:962847 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:7296799 (6.9 MiB) TX bytes:129 (129.0 B)
Interrupt:52
Thanks
Greg Dias