2019-02-06 02:50 AM
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.
2019-02-06 09:17 AM
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.
2019-02-06 09:46 AM
Use the FMC/FSMC external bussing to talk to CPLD/FPGA