Honored Contributor II
09-08-2016 12:42 PM
Hello,Straight off, I am a newbie to the FPGA game, but am (trying to) temporarily help fill a hole on our team. I have an Altera 10m50da, and am attempting to implement canbus communication using an mcp2515 controller through the alt_avalon_spi commands.
- The main FPGA code was developed by someone other than me, and we have someone to support that, including the Qsys setup for the CANbus on SPI (3 Wire Serial) and CAN_interrupt on PIO (Parallel I/O).
- I was given example NIOS2 code, I have the MCP2515 .c and .h files, and am able to send a CANbus message, but the message keeps repeating itself.
- I cannot read CANbus messages yet.
- I also need to be able to eventually read and write to the FPGA registers on the I2C Master (opencores.org).