Control DMA byte transfer speed to GPIO port with timer?
Currently I'm playing with a STM32F030 board, but if this one cannot do it but another STM32 can ... I have a bunch of older, but bigger STM32's, laying around... feel free to mention such one!
I would like to write bytes to a GPIO port with a strictly controlled speed, and in an ongoing / circular fashion.
When looking for examples for DMAing to GPIO, I usually find the mention of memory-to-memory mode, but that one does not allow circular mode - so I guess I can't use that. Or can I achieve the same result, with stable overall timing, in another way?
Or, can I actually use the mem-to-periph mode for GPIO?
I have used DMA with regards to ADC and DAC before, and AFAIR, those peripherals would take care the data word timing.
A GPIO port of course does not do that.
Then I looked at timer, e.g. TIM17 general purpose, w.r.t. DMA, and it seems the only way these two can be married is with writing the timer value to memory, unless I misunderstood.
Is there actually a way to achieve the stated goal - write data to a GPIO with a fixed speed?
(not using a CPU loop, that'd be too slow, I need something like 5 MHz byte clock)