arduino-canhacker
arduino-canhacker copied to clipboard
No data over CAN
Hello. Use two Arduinos: leonardo and mega 2560 with similar shield
For Leonardo in sketch change pins assignment to:
const int SPI_CS_PIN = 9;
const int INT_PIN = 2;
CANHacker successfully connect to arduino, seeing FW version, but there no data from CAN on any speed. Check arduino serial monitor - nothing Sketch compiled with Arduino IDE 1.8.19
Check this issue, but already have 16MHz oscillator.
Same here
I had the same issue with the Seeed shield, this ended up working for me: https://github.com/Seeed-Studio/Seeed_Arduino_CAN/tree/master/examples/canbus-monitor
https://github.com/Seeed-Studio/Seeed_Arduino_CAN/blob/master/examples/canbus-monitor/canbus-monitor.ino
this works