hankedan000 / MegaCAN

Arduino library for interfacing with the Megasquirt family of ECUs via the CAN bus
GNU General Public License v3.0
2 stars 2 forks source link

Strange issue with barebone board #7

Open kevindebosscher opened 1 month ago

kevindebosscher commented 1 month ago

Hello,

i have a strange issue where a regular arduino and canbus module works fine.

When I switch over to a barebone 328p uploading the sketch the, « handshaking » always fails/no device detected.

The boards works perfect, with my own code for GPS/accel and extra inputs over canbus to megasquirt.

hankedan000 commented 1 month ago

By barebone, do you mean an Arduino Uno without any MCP2515 module connected to it?

If so, I don't expect the initialization to succeed in that case. If I recall, the CAN library expects an MCP2515 connected.