Quantcast
Channel: Armbian news
Viewing all articles
Browse latest Browse all 486

CAN BUS support orange pi zero

$
0
0

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


Viewing all articles
Browse latest Browse all 486

Trending Articles