autowp / arduino-mcp2515

Arduino MCP2515 CAN interface library
MIT License
795 stars 279 forks source link

Connecting two MCP2515 shields at 500KBPS #48

Open knoxsp opened 4 years ago

knoxsp commented 4 years ago

Using the example code, I'm able to get two arduino nanos + mcp2515 shields (using 8mhz crystals) to communicate @ 125kbps, and default frequency (16mhz). When I set both 'sender' and 'receiver' to 500kbps, the receiver doesn't receive anything, regardless of the frequency I set.

I can write and read @ 500kbps to an arduino uno with an mcp2515 shield (16mhz), but the nano must be set @ 8mhz for communication to work.

So my question is, is there some limitation to using nanos to communicate in this way, or is there something I'm missing?

Jimmy062006 commented 4 years ago

I have a similure issue. Read Can at 500Kbps 8MHz and it will stop after the first few Can Bus lines