树莓派利用MCP2515基于BCM2835完成SPI转CAN C语言实现 树莓派3b上完成基于MCP2515和BCM2835的SPI转CAN,实现树莓派与外界的CAN通信。代码可以直接调用CAN_Send_Buffer(unsigned char *CAN_TX_Buf,unsigned char len, unsigned char msgID)和CAN_Receive