CAN MCP2515 TROUBLE

Hello, guys! I'm a newbie in automation things.
I'm trying to implement the module mcp2515 in my project but when i upload in my arduinos the code it never run, it always stuck in the inicializate loop.
I think it's because of the baudrate pattern in the code ( 500KBPS), but i tried all values of library and nothing worked.

Try this library and the loopback example

If it doesn't work then the wiring is wrong or the module is faulty.

One minor but important point, all messages on can must be acknowledged but they cannot be acknowledged by the sender. This response is to help you get started in solving your problem, not solve it for you.
Good Luck & Have Fun!
Gil