My I2C module with the MCP2515 has a 8Mhz crystal mounted instead of 16Mhz. This makes the whole thing work except of connecting to the CANbus. When the same issue occurs at your home, simply change line 86 in canDiag.cpp that reads:
if (myCAN0->begin(MCP_STD, CAN_500KBPS, MCP_16MHZ) == CAN_OK) {
to:
if (myCAN0->begin(MCP_STD, CAN_500KBPS, MCP_8MHZ) == CAN_OK) {
before compiling.
My I2C module with the MCP2515 has a 8Mhz crystal mounted instead of 16Mhz. This makes the whole thing work except of connecting to the CANbus. When the same issue occurs at your home, simply change line 86 in canDiag.cpp that reads: if (myCAN0->begin(MCP_STD, CAN_500KBPS, MCP_16MHZ) == CAN_OK) { to: if (myCAN0->begin(MCP_STD, CAN_500KBPS, MCP_8MHZ) == CAN_OK) { before compiling.