This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GPIO conflicts CAN MCP2515 [edited]
#1
I'm a newb at this and don't understand a lot, but muddling my way thru.

When I start the RPI, I get the error message (roughly) that "there are GPIO conflicts between the following apps: CAN -  MCP2515CAN - MCP2515, CAN-  MCP2515CAN - MCP2515 .. " where it looks like there are 2 competing CANs.

I have an RPI 4 and a raspberry OS with a lightDM desktop. There is a Waveshare Can hat for NMEA 2000 on the RPi. I've followed a couple guides on installing things, so may have overlapped on something.

One guide I followed was Pyssel,  some on the Openplotter documentation. I did edit a few items via the terminal as per Pyssel's blog.

Currently the RPI is sitting on my home desk sending 12v power thru the NMEA2000 connector into a Hatlabs Sailor Hat, with the blue and white wire going to the Waveshare hat's can0 interface, with a ground jumper from the Sailor Hat to the can0 interface as per Hatlab's docs. Don't have any NMEA info going into it. And I have no NMEA0183 enabled.

I don't know if this is a problem.. that conflict. Doing a "ip addr" shows the can0 link, but it presently reads status down.

Code:
sudo dmesg | grep -1 mcp
[    6.056642] mcp251x spi0.0 can0: MCP2515 successfully initialized.

In Signal K, following one of the guides, I put for a Can0 address "35" and a PGN of "130311" . Don't know if those are correct of not.. just what a guide said.
So any advice to solve the conflict would be welcome.  thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)