Re: mcp251xfd No Oscillator (clock) defined

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

 



On 12/6/20 11:18 AM, Sven Schuchmann wrote:
> Hi all,
> I am new to the list so sorry for any errors.
> 
> I want to get Seeed "2 Channel CAN BUS FD Shield for Raspberry Pi" 
> https://wiki.seeedstudio.com/2-Channel-CAN-BUS-FD-Shield-for-Raspberry-Pi/
> get to work on a Raspberry Pi Compute Module 4 IO Board
> https://www.raspberrypi.org/products/compute-module-4-io-board
> 
> I have installed the Raspberry Pi OS with Raspberry Pi Imager
> 
> $ uname -a
> Linux raspberrypi 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux
> 
> without any changes. Therefore I tried the following commands to load the overlay 
> 
> $ sudo dtoverlay spi0-1cs cs0_pin=24
> $ sudo dtoverlay mcp251xfd spi0-1 oscillator=40000000 speed=20000000 interrupt=18

Better add the overlays statically in the bootloader via config.txt:

| dtoverlay=mcp251xfd,spi0-0,interrupt=18

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: OpenPGP digital signature


[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