Setup CAN with mcp2515 on custom board

Hi

I have an application that receives CAN message. It runs fine on the evaluation board. But the wiring on the custom board is different: the mcp2515 CAN_INT# is wired to pin 75 (SODIMM_75).
I’m a little lost. What do I have to change in my Linux system?

Thanks
Andrea

How about having a look at Apalis T30 featuring on-module MCP2515 CAN?

http://git.toradex.com/cgit/linux-toradex.git/tree/arch/arm/mach-tegra/board-apalis_t30.c?h=tegra#n416

Hi

I made the changes link the Apalis T30, but it didn’t work, no data send/received. But after many hours of investigations and tries I finally found the problem: different Quartz Crystals!

diff --git a/arch/arm/mach-tegra/board-colibri_t30.c b/arch/arm/mach-tegra/board-colibri_t30.c
--- a/arch/arm/mach-tegra/board-colibri_t30.c
+++ b/arch/arm/mach-tegra/board-colibri_t30.c
@@ -413,7 +413,7 @@

 static struct mcp251x_platform_data mcp251x_pdata = {
 	.board_specific_setup	= colibri_t20_mcp2515_setup,
-	.oscillator_frequency	= 16000000,
+	.oscillator_frequency	= 20000000,
 	.power_enable		= NULL,
 	.transceiver_enable	= NULL
 };

Perfect that you found the solution. Thanks for the feedback.