Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4046

MCP2515 not working on raspberry pi 4 with AGL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • None
    • App Framework
    • None
    • Raspberry Pi 4

      Hi,

      I am unable to load the Mcp2515 driver on AGL. I am using Raspberry pi 4 with AGL for a POC. I have tried using the device tree overlay method and added the following lines in the config file:

      dtparam=spi=on
      dtoverlay=mcp2515-can0, oscillator=8000000, interrupt=25

      dtoverlay=spi0-hw-cs

       

      The Raspberry pi keeps on crashing when I make this change. 

      Can someone please help me with this? I have been stuck on this for quite some time now.  Is there any other way by which the mcp2515 driver can be loaded on AGL?

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jsmoeller Jan-Simon Moeller
            devanshu5 Devanshu Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: