OpenMarine
MCP2515 - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: MCP2515 (/showthread.php?tid=1774)

Pages: 1 2


RE: MCP2515 - leif_klasson@hotmail.com - 2019-06-12

(2019-06-12, 09:34 PM)He-sailing Wrote:
(2019-06-12, 03:51 PM)leif_klasson@hotmail.com Wrote: Then added MCP2515 module (incl 3.3V + 5V fix) to Raspberry, also on same N2k network. Adjusted speed in Raspberry also to 115200.
N2K has a fixed speed of 250k. Adjust MCP2515 to 250k

Ah, correct, I was of course looking on the USB serial from PC to/from, Will try that  tomorrow.
Thanks
Leif


RE: MCP2515 - leif_klasson@hotmail.com - 2019-06-13

Now I have given it up with MCP 2515... Tried a lot of settings, as before, can see can0 device created, cna do a cansend to it, but no data with candump :-(

So, I went over to my Teensy 3.2 and using Timo Lappalainen good NMEA2000 libraries. I think these ones now also can be used on ESP32.

The one I'm using is ActisenseListenerSender in both end (PC and Raspberry/Openplotter).
Now it was just to go to serial, select and rename the teensyboard. On CAN tab, tested with both Openplotter and Signalk handlig the translation, both works, but with some differences.

Reason for using the MCP2515 was that I had some of them, and I guess, but will measure, that this module has a slightly less current draw then the Teensy 3.2.

Time to move on to next step ... :-)

/Leif