Electronic – Program FPGA using STM32

fpgaintel-fpgastm32

I am interested in using an STM32 to flash an sof or pof file onto a Cyclone IV FPGA. The sof/pof will be stored in SPI flash memory, and the plan is to use the STM32 as a programmer. I haven't been able to track down any projects that do this but am super keep to learn if and how it could be possible.

Best Answer

You can read the FPP configuration of FPGA datasheet which teaches you how to program FPGA with uP(STM32). What you should pay special attention is the MESL configuration and let STM32 use correct timing provide by the FPGA datasheet to load the sof/rbf.

enter image description here