Skip to content

Mac Arthur HAT compatilibity #390

Answered by jsextl
den200 asked this question in Q&A
Mar 5, 2024 · 7 comments · 3 replies
Discussion options

You must be logged in to vote

Sure no problem.

  1. Enable driver in /boot/firmware/config.txt:
[...]
# enable CANBUS
dtoverlay=mcp251xfd,oscillator=20000000,interrupt=25,spi0-1
[...]

I put this configuration after the last "dtoverlay" statement present in the file of a fresh default installation.

  1. Reboot

  2. Enable can bus interface

sudo systemctl enable socketcan-interface
sudo systemctl start socketcan-interface

If everything is properly setup on the hardware side, you should receive the CANBUS traffic via:

candump can0

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mgrouch
Comment options

Comment options

You must be logged in to vote
1 reply
@jsextl
Comment options

Answer selected by mgrouch
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mgrouch
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants