Oct 4, 2017 #1 V vikash23 Full Member level 2 Joined Jul 31, 2012 Messages 133 Helped 3 Reputation 6 Reaction score 3 Trophy points 1,298 Activity points 2,676 Hi, I started learning CAN bus network and I found a evaluation kit to interface with Rasberry Pi. **broken link removed** They have used MCP2515 CAN controller with MCP2551 CAN transceiver. My question is why do we need a controller? Why cant the TXD and RXD of the MCP2551 can be connected directly to the TX and RX of the Rasberry Pi ?
Hi, I started learning CAN bus network and I found a evaluation kit to interface with Rasberry Pi. **broken link removed** They have used MCP2515 CAN controller with MCP2551 CAN transceiver. My question is why do we need a controller? Why cant the TXD and RXD of the MCP2551 can be connected directly to the TX and RX of the Rasberry Pi ?
Oct 4, 2017 #2 ads-ee Super Moderator Staff member Joined Sep 10, 2013 Messages 7,944 Helped 1,822 Reputation 3,654 Reaction score 1,808 Trophy points 1,393 Location USA Activity points 60,207 CAN transceiver (Layer 1: Physical) CAN controller (Layer 2: Data-Link/Protocol) You could write the protocol layer in software, but have no idea if the Pi is fast enough to meet the 1 Mbps maximum transfer rate of CAN.
CAN transceiver (Layer 1: Physical) CAN controller (Layer 2: Data-Link/Protocol) You could write the protocol layer in software, but have no idea if the Pi is fast enough to meet the 1 Mbps maximum transfer rate of CAN.