AW: mcp251xfd No Oscillator (clock) defined

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

 



> -----Ursprüngliche Nachricht-----
> Von: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
> Gesendet: Sonntag, 6. Dezember 2020 11:33
> Better add the overlays statically in the bootloader via config.txt:
> 
> | dtoverlay=mcp251xfd,spi0-0,interrupt=18

This did the trick, thanks a lot.
I mixed up the interrupts, so here is the complete setup from config.txt

dtoverlay=mcp251xfd,spi0-0,interrupt=25
dtoverlay=spi1-1cs,cs0_pin=18
dtoverlay=mcp251xfd,spi1-0,interrupt=24

and dmesg shows:
[    4.970974] CAN device driver interface
[    4.975933] spi_master spi0: will run message pump with realtime priority
[    4.986175] mcp251xfd spi0.0 can0: MCP2518FD rev0.0 (-RX_INT -MAB_NO_WARN +CRC_REG +CRC_RX +CRC_TX +ECC -HD c:40.00MHz m:20.00MHz r:17.00MHz e:0.00MHz) successfully initialized.
[    4.986950] spi_master spi1: will run message pump with realtime priority
[    4.994958] mcp251xfd spi1.0 can1: MCP2518FD rev0.0 (-RX_INT -MAB_NO_WARN +CRC_REG +CRC_RX +CRC_TX +ECC -HD c:40.00MHz m:20.00MHz r:17.00MHz e:0.00MHz) successfully initialized.

  Sven

--
Sven Schuchmann
Schleißheimer Soft- und
Hardwareentwicklung GmbH
Am Kalkofen 10
61206 Nieder-Wöllstadt
GERMANY
Phone: +49 6034 9148 711
Fax: +49 6034 9148 91
Email: schuchmann@xxxxxxxxxxxxxxxxx




[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