Altera_Forum
Honored Contributor
8 years agoInterfacing a MCU to a FPGA (Serial or Parallel)
Hello
Has anyone any experience of interfacing a MCU to a Cyclone IV or V? I don't want to build a SoC or anything that complex, just some simple lab exercises that "robustly" interface a MCU to an FPGA. the focus will be interfacing. SPI / I2C are two options (although there is no off-the-shelf component I can find). Our ARM MCU also has a "flexible memory controller" (FMC) which can interface to SRAM etc. The asynchronous modes are interesting as it would force students to address metastability issues. I've found some VHDL examples online, but I cannot easily validate their reliability (unless someone else has). Are there any SPI or I2C library components available via Altera? (I looked but could not see anything obvious). Regards