sordfish / project-clematis

Ideas and test code for Engine control on an FPGA
0 stars 0 forks source link

HDL code for Canbus #7

Open sordfish opened 3 years ago

sordfish commented 3 years ago

Having canbus available is a must.

To handle canbus at the hardware level requires licensing which isn't something we can achieve.

Using low cost can controllers is the next best option.

MCP2515 AND MCP2518 For canbus 2.0 and canbus FD are good low cost options.

Having some glue hdl to allow the soc to treat something like the MCP2515 as native would be helpful so it can just access data from registers without having to do the spi higher up in the riscv core.

with additional chip select pins this can easily be expandable to support multiple can controllers at different bit rates, eg canbus instrument clusters at 500kbit and real-time calibration.