![SK Pang Electronics RSP-PICAN FD Скачать руководство пользователя страница 6](http://html1.mh-extra.com/html/sk-pang-electronics/rsp-pican-fd/rsp-pican-fd_user-manual_1286338006.webp)
PiCAN FD Rev B 1.1
SK Pang Electronics Ltd
©
2017
www.skpang.co.uk
6
3.
Software Installation
It is best to start with a brand new Raspbian image. Download the latest from:
https://www.raspberrypi.org/downloads/raspbian/
After first time boot up, do an update and upgrade first.
sudo apt-get update
sudo apt-get upgrade
sudo reboot
Now download the kernel patch from:
https://www.dropbox.com/s/kxfter1hjomesnd/mcp2517fd-rasp1%2B2%2B3_18_Dec.tar?dl=0
Copy the file to the root directory then untar the files:
sudo cp mcp2517fd-rasp1+2+3_18_Dec.tar /
cd /
sudo tar –xf mcp2517fd-rasp1+2+3_18_Dec
Add the overlays by:
sudo nano /boot/config.txt
Add these lines to the end of file:
dtparam=i2c_arm=on
dtparam=spi=on
dtoverlay=i2c-rtc,pcf8523
core_freq=250
kernel=ms7/zImage
device_tree=ms7/bcm2710-rpi-3-b.dtb
overlay_prefix=ms7/overlays/
dtoverlay=mcp2517fd-can0
dtparam=interrupt=25
dtparam=oscillator=40000000
dtparam=spimaxfrequency=20000000
Reboot Pi:
sudo reboot