Mcp2515

Hi, I working on adding mcp2515 to usbizi to get more CAN busses.

But I am not able to read any data from the chip. I have looked at the SPI lines and they look fine.

Does anyone have a example of working code for the MCP2515? Or any idea what could be a problem with SPI and this setup.

When I look at the MISO line at first Write call I see that it is floating from start then goes to zero.

If I zoom I see that there is some data pulses overlayed on the signal. I lookes like clk pulses.

The zoomed signal