Please see my page about setting up a CAN Bus with 2 Raspberry Pi's and 2 MCP2515 CAN Bus cards so that I use the CAN for testing and building some CAN Bus software simulator devices. https://raspberrypicanbus.blogspot.com/p/blog-page.html
Raspberry Pi CAN Bus
My CAN Bus project :)