CAN-BUS shield 50kbps with coryjfowler library

Hi,

I’m heavily using Cory J. Fowler library



https://github.com/coryjfowler/MCP_CAN_lib



in many of my projects.

Today I need to set up speed of 50 kbps with no success.

Everything above 50 kbps works like a charm but below 100 kbps nothing works, neither sending nor receiving.

I’m trying to make 2 devices to talk to each other, my other CAN modules (not Arduino) work and communicate with each other @ 50, 20, 10 kbps etc. but not the Arduino one. I have updated the library to recent one but still no luck.

Any ideas? I tried with and without termination, wires are only 20 cm long.



Thanks for help

Hi there

maybe you can use this libraryhttps://github.com/Seeed-Studio/CAN_BUS_Shield to test it. :smiley:

change it in the code to 50k set up in the code.