Skip to main content
arduo
Associate III
February 6, 2019
Question

STM32F4 communication with FPGA via DMA/SPI

  • February 6, 2019
  • 2 replies
  • 1070 views

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.

    This topic has been closed for replies.

    2 replies

    S.Ma
    Principal
    February 6, 2019

    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.

    Tesla DeLorean
    Guru
    February 6, 2019

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

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