Skip to content

INNO-MAKER/rs485-can

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rs485-and-can

Quick Start

Step1,Download Software

sudo git clone https://github.com/INNO-MAKER/rs485-can.git
cd rs485-can
chmod -R a+rwx *

Step2,Install dtbo file

uname -a #check your kernel version
sudo cp driver/rs485_at-kernel5.dtbo /boot/overlays/rs485_at.dtbo # For linux kernel version above 5.4

Note:
If your kernel is Linux 4.9,you need to use below command instead sudo cp driver/rs485_at-kernel4.dtbo /boot/overlays/rs485_at.dtbo

Step3,Revised config.txt

sudo nano /boot/config.txt #Add below two content to the last line dtoverlay=rs485_at dtoverlay=mcp2515-can1,oscillator=16000000,interrupt=25 #Press ctrl+o save file,ctrl+x to exit editing.
sudo reboot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published