SK Pang Electronics RSP-PICAN FD Скачать руководство пользователя страница 6

                                                                                    

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 

 

Содержание RSP-PICAN FD

Страница 1: ...Rev B 1 1 SK Pang Electronics Ltd 2017 www skpang co uk 1 Product name PICAN FD CAN Bus Board for Raspberry Pi 3 Model number RSP PICAN FD Manufacturer SK Pang Electronics Ltd PiCAN FD with RTC USER G...

Страница 2: ...1 1 Features 3 2 Hardware Installation 3 1 2 Configuring DB9 Connector 4 1 3 OBDII Cable 4 1 4 CAN Cable 4 1 5 Screw Terminal 5 1 6 120 Terminator 5 1 7 LED 5 1 8 Not Fitted Items 5 3 Software Install...

Страница 3: ...1 Features Arbitration Bit Rate upto 1Mbps Data Bit Rate up to 8Mbps CAN FD Controller modes Mixed CAN2 0B and CANFD mode CAN2 0B mode Conforms to ISO11898 1 2015 High speed SPI Interface CAN connecti...

Страница 4: ...or different pinout Depend if you are using an OBDII cable or a CAN cable 1 3 OBDII Cable Close the solder bridges on the lefthand side on SJ1 SJ2 and SJ3 as shown with a red line 1 4 CAN Cable Close...

Страница 5: ...120 fitted to the board To use the terminator solder a 2way header pin to JP3 then insert a jumper 1 7 LED There is a red LED fitted to the board This is connected to GPIO22 1 8 Not Fitted Items JP5 c...

Страница 6: ...pbox 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...

Страница 7: ...e can bitrate 500000 dbitrate 2000000 fd on sample point 8 dsample point 8 Connect the PiCAN2 to your CAN network via screw terminal or DB9 To send a CAN 2 0 message use cansend can0 7DF 0201050000000...

Страница 8: ...1220 battery not supplied into battery holder Ensure the is facing upward Install the i2c tools by sudo apt get install i2c tools Then check the RTC sudo i2cdetect y 1 You should see 68 or UU on addre...

Страница 9: ...ve Start the original hw clock script by sudo nano lib udev hwclock set and comment out these three lines if e run systemd system then exit 0 fi Reboot the Pi Ensure the Ethernet cable or Wifi is on T...

Отзывы: