Re: mcp251xfd on RPi 5.4 downstream

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

 



> On 11/6/20 12:31 PM, Patrick Menschel wrote:
>>> On 11/5/20 7:11 PM, Patrick Menschel wrote:
>>>>>> Its just a bread board install and I had to reduce the Spi-Max-Frequency
>>>>>> due to 10cm long cables. It least I believe it's the cable length.
>>>>>
>>>>> What happens if you don't reduce the SPI frequency?
>>>>
>>>> CRC Errors above 16Mhz spi frequency.
>>>
>>> Ok - Which SoC are you using? rpi4?
>>>
>>> Marc
>>>
>>
>> https://www.raspberrypi.org/products/raspberry-pi-zero-w/
> 
> any config.txt options?
> 
> Marc
> 

Just the standard stuff,

enabled peripherals

dtparam=i2c_arm=on
dtparam=spi=on

disabled wifi and bt

dtoverlay=disable-wifi
dtoverlay=disable-bt

enabled CAN

dtoverlay=mcp251xfd-spi0-0,spimaxfrequency=16000000


--
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