I'm using the cross-compiler tool from the armian website.
After the image is burned to the sdcard and the orange pi zero is booted, I can see the image has can support enabled, but when I load the mcp251x driver it does nothing. I'm sure I'm missing some detail on spi side in order to have the mcp driver pointing to the proper spi.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
amauri
Hi all,
I'm trying to put my orange pi zero to talk with a CAN BUS via mcp2515 chip.
The chip is SPI controlled.
The actual image does not have support for SocketCAN enabled, so I'm compiling the kernel with SocketCan following the kernel configuration shown here
https://developer.ridgerun.com/wiki/index.php/How_to_configure_and_use_CAN_bus
I'm using the cross-compiler tool from the armian website.
After the image is burned to the sdcard and the orange pi zero is booted, I can see the image has can support enabled, but when I load the mcp251x driver it does nothing. I'm sure I'm missing some detail on spi side in order to have the mcp driver pointing to the proper spi.
Any hints?
Thanks in advance
Amauri
Link to comment
Share on other sites
71 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.