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
#1
Hi,
I have make a new thread for this problem:
MCP2515 on CE1 do not work at same time with moitessier hat.
(2.0.21 Pi 4)
I have find out following:
By adding:
dtoverlay=mcp2515-can1,cs=1,oscillator=16000000,interrupt=25
throug the CAN BUS App of openplotter the SPI with CE1 should be load.


Code:
dmesg | grep -i -E "(mcp|spi)"

says:
[    4.689934] mcp251x spi0.1 can0: MCP2515 successfully initialized.

so far all right
but in the devicetree the SPI is called spidev0.0
I think that shoul make problems with Moitessier driver?
Reply


Messages In This Thread
[SOLVED][OP2] SPI device MCP2515 spidev - by glowntiger - 2020-01-13, 09:59 AM
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: 1 Guest(s)