ContributionsMost RecentMost LikesSolutionsRe: UART usage setting in Eclipse Try this https://tomverbeure.github.io/2021/05/02/Intel-JTAG-UART.html Please take note that this is not a document from Intel/Atera but it has good basic information about setting up UART. Re: Eclipse-->Run-->Run Configuration doesn't burn elf to ROM in NIOS II Depending on your approach, if you are using nios2-download to program the .elf, you may refer to https://www.intel.com/content/www/us/en/docs/programmable/683218/21-2-1-5-1/generating-and-downloading-the-programming.html but if you are using nios flash programmer, you may refer to https://www.intel.com/content/www/us/en/docs/programmable/683118/current/search.html?q=elf Re: UART usage setting in Eclipse I noticed a few posts from you with similar questions related to UART. I found this topic that may be a good reference for your project https://tomverbeure.github.io/2021/05/02/Intel-JTAG-UART.html, which have the introduction and steps to setup the UART and communicate with UART. Re: MCP2515 CANbus implementation in NIOS using alt_avalon_spi_command on 10M50DA I am not able to see your example code in the attached zip file. These are the basics steps you may start your debugging. It could be the hardware setup, the fpga configuration or the software code you have. To interface an Altera FPGA (such as the 10M50DA from the MAX 10 series) with an MCP2515 CAN controller using the Avalon SPI interface, you will need to follow a series of steps involving both hardware and software configurations. Here's a general guideline to get you started: Hardware Setup Connect the MCP2515 CAN Controller to the FPGA: Use SPI connections (MOSI, MISO, SCK, CS) between the FPGA and the MCP2515. Ensure the CAN transceiver is connected to the MCP2515 for signal conditioning and protocol compliance. Provide Power and Ground Connections: Make sure both devices are powered and grounded appropriately according to their respective datasheets. Crystal Oscillator for MCP2515: The MCP2515 typically requires a crystal oscillator for timing; make sure it's connected and configured correctly. FPGA Configuration Design SPI Master in FPGA: Use the Quartus Prime software to design an SPI master module using the Avalon MM interface. Instantiate the SPI master and connect it to your design. Ensure it includes proper clocking and data rate configurations compatible with the MCP2515. Pin Assignment: Assign the pins in your FPGA design correctly to match your physical connections. Software Implementation Using alt_avalon_spi Commands: The Altera alt_avalon_spi API provides a way to handle SPI communications. Ensure you have included this API in your project. Initialize SPI Interface: Initialize the SPI interface using the appropriate commands, such as setting up baud rates, SPI mode (likely Mode 0 for MCP2515), and chip select configurations. MCP2515 Configuration: Write software routines to configure the MCP2515 registers. This includes setting up CAN bit timing (refer to the MCP2515 datasheet). Enable necessary MCP2515 features, such as enabling interrupts if desired. Basic Commands: Use alt_avalon_spi_command() to send and receive data to/from the MCP2515. You'll typically start with setting control registers and then move onto read/write operations for CAN messages.