how to use CAN interface with dietpi

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
venum
Posts: 1
Joined: Fri Nov 13, 2020 8:50 am

how to use CAN interface with dietpi

Post by venum »

ive used raspbian and could recieve can messages with the following setup http://skpang.co.uk/blog/archives/1220 (the python installation doesnt matter for my question) this works fine on raspbian, however when i try this with dietPI i'm not able to recieve any messages. Any help?
User avatar
MichaIng
Site Admin
Posts: 2422
Joined: Sat Nov 18, 2017 6:21 pm

Re: how to use CAN interface with dietpi

Post by MichaIng »

Please try it the following way:
- Install Python3 pip via dietpi-software install 130
- Then install can via: pip3 install -U python-can

dtoverlay=spi-bcm2835-overlay that line has no effect as that overlay does not exist (anymore). Not sure what it was required for, probably there is a more recent guide than this >5 years old one?
Post Reply