2019-02-19 03:47 AM
Hi there,
i want to implement my MCU to program a FPGA via SPI. Is there any helpful guidelines on this topic? I am a newbie with STM and i hope that someone can help me here.
Thanks in advance.
2019-02-19 07:35 AM
The FPGA documentation should describe the expectations that device has.
The STM32 might need to drive a couple of GPIO, but I'd expect you'd just need to pump a byte or word based bitstream into the SPI Data Register.
Some example SPI code here
STM32Cube_FW_F4_V1.23.0\Drivers\BSP\STM32F4xx_Nucleo_144\stm32f4xx_nucleo_144.c