Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCyclone 3 spi interface to mcp2515 spi can chip
HI, I am trying to write a verilog interface. The interface is between the spi Core and a Mcp2515 Can Controller with a SPI inteface.(just the general interface ). I am not sure ...
Altera_Forum
Honored Contributor
14 years agoOne thought is to write a small verilog or vhdl module that will drive the SPI lines, and be controlled by a FSM. The data from the Microchip CAN chip would then be placed into data into a small RAM, that would effectively be dual port. Off chip access by an external uC could be done this way, or simply write the logic to interface to SOPC/Qsys.
Fundamentally, if you want to removed the interrupt burden on the processor, doing the design in HDL always seems to be best. -James