Make sure your using a dedicated interrupt for the mcp2515, the driver
won't work without an interrupt, and the at91 GPIO interrupts I messed
with, but couldn't get to work.

Yes, I'd kind of come to the conclusion it was an interrupt issue too. Our board is wired up to use IRQ1, but the closest I can get to making it work (actually seeing the MCP assigned to an interrupt on /proc/interrupts and seeing it trigger) is to set the .irq value in the mcp setup structure to AT91SAM9260_ID_IRQ2 (which seems to come out as interrupt 31, which I'm sure isn't the one we want). What .irq value have you used?

Ta,

Nick
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to