CAN-Bus extensions
The Eclipse Leda quickstart image has CAN-Bus kernel modules and some CAN hardware drivers pre-installed. However, some hardware configuration needs to be adapted at boot time depending on the specific CAN-Extension being attached to the device.
On Raspberry Pi, there is a /boot/config.txt
file where you can configure the dtoverlay
options accordingly.
Note: After modification, the device requires rebooting for the changes to take effect.
MCP2515 based modules
Products:
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000
MCP2518FD based modules
Products:
dtoverlay=2xMCP2517FD
#dtoverlay=2xMCP2518FD-spi0
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.