Re: mcp251xfd on RPi 5.4 downstream

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

 



On 11/2/20 11:40 AM, Drew Fustini wrote:
>     spi1.0?
> 
>     Have you changed any of the solder jumpers on JPAD3? See the 0 ohm resistors
>     at A/B:
> 
>         https://www.waveshare.com/w/upload/1/13/2-CH_CAN_FD_HAT_Manual-3.png
> 
>     I cannot see, how any of the chip selects of SPI1 is routed to the mcp2517fd....
> 

[...]

> The jumpers are in the A position so can1 is set to use spi1.

...according to the PCB-print, but not according to the schematics (at least how
I read it):

    https://www.waveshare.com/w/upload/e/e2/2-CH-CAN-FD-HAT-Schematic.pdf

Grmpf :/

> This means that can1 cs is connected to pi header pin 26 

Both of rpi's SPI host drivers prefer to use GPIO chip selects by default, as
native chip selects have some limitations. And all three mcp251xfd overlays use
GPIO chip selects, this means you can use any free GPIO in the system for the
SPI chip select.

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