Re: mcp251xfd on RPi 5.4 downstream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> Are there any additional parameters that you are specifying for
>> "dtoverlay" in config.txt, such as spimaxfrequency?
>>
>> Thanks,
>> Drew
> 
> I'm seeing this message which makes me think my issue is that I am not
> setting the oscillator as a dtoverlay param.
> 
> [    6.873081] CAN device driver interface
> [    6.879904] DEBUG mcp251xfd mcp251xfd_probe(): ENTER
> [    6.880068] spi_master spi0: will run message pump with realtime priority
> [    6.921312] mcp251xfd spi0.0 (unnamed net_device) (uninitialized):
> Failed to detect MCP251xFD (osc=0x00000000).
> 
> From /boot/config.txt
> 
> [pi4]
> dtoverlay=mcp251xfd-spi0-0
> 
> Could you please share what your experience has been like?
> 
> thanks,
> drew
> 

I'm lacking hw currently, so I haven't tested yet.

I believe OSC has to be set, so for a 40Mhz crystal
dtoverlay=mcp251xfd-spi0-0,osc=40000000

--
Patrick



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux