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
[SOLVED][OP2] SPI device MCP2515 spidev
#4
Let's not panic, everything is working right Wink
The only wrong thing here is the way we check if the SPI is enabled. We use lsmod to check if spidev is present in the list but when you enable MCP2515 lsmod no longer returns spidev. Just do not trust the warning messages of SPI being disabled because it is enabled and working.

The solution is to switch to another flag. I have tested spi_bcm2835 and it works for MCP2515 enabled and disabled in my Raspberry 4 but I need to know if this is true for raspberry 3 too. Please could you test in RPi3 typing this in the terminal for both states (with MCP2515 and without)?

Code:
lsmod | grep spi_bcm2835

You should get something like:


Code:
spi_bcm2835            20480  0
Reply


Messages In This Thread
RE: [OP2] SPI device MCP2515 spidev - by Max1947 - 2020-01-13, 11:09 AM
RE: [OP2] SPI device MCP2515 spidev - by Sailoog - 2020-01-14, 08:29 PM
RE: [OP2] SPI device MCP2515 spidev - by Max1947 - 2020-01-22, 12:54 PM
RE: [OP2] SPI device MCP2515 spidev - by Max1947 - 2020-01-25, 03:16 PM
RE: [OP2] SPI device MCP2515 spidev - by Sailoog - 2020-01-31, 06:09 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)