cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 communication with FPGA via DMA/SPI

arduo
Senior

HI there,

I'm just starting to embark on the problem of accessing external registers (implemented in a FPGA), via the DMA or SPI on the STM32F4 core. What I'm interested in doing is accessing these registers with DMA or SPI. But first i need to implement a STM32F4 as a composite device because i need a COM Port for other data coming in and out. What is the best option for this 2 COM Ports or CDC+HID...

 I'd also be interested in hearing about any other options of accessing and writing to FPGA Registers with a STM32 MCU.

Thanks in advance.

2 REPLIES 2
S.Ma
Principal

You should mimic an SPI memory so you could probably reuse existing code.

For serial com port, if you don't need speed and want easy start, just get a HC-05 SPP bluetooth module.

Connect to a USART (or multiple BT modules if you want more channels) and you'll get COM port on both PC and Smartphone wirelessly without taking Wifi away. 115200 kbps works fine even in continuous sending/receiving. Even with temporary RF signal loss, FIFO in the BT module does wonders.

And the BT link won't reset when restart the MCU or breakpoint.

Use the FMC/FSMC external bussing to talk to CPLD/FPGA

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..