autowp / arduino-mcp2515

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

Bit stuffing error is coming while trying to send data #59

Open Arjun-Vinyn opened 3 years ago

Arjun-Vinyn commented 3 years ago

Hi I'm trying to send data frames through the arduino board and read it using a tool. Its showing a bit stuffing error for me. Pls give a solution. I'm using a TJA1050 transciever along with an MCP2515 controller.

lynleyde commented 3 years ago

Same issue here. It helped to set the MCP2515 to 8MHZ: mcp2515.setBitrate(CAN_250KBPS, MCP_8MHZ);