树莓派3B+使用RS485 CAN HAT模块

1. 配置CAN接口 编辑启动配置文件: sudo leafpad /boot/config.txt 在最下面增加: dtparam=spi=on  dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=25,spimaxfrequency=1000000  然后重启: sudo reboot 测试接口,执行: dmesg | grep -i '\
相关文章
相关标签/搜索