Reputation: 44765
I want to stream data, byte-by-byte, from RAM to a port (GPIO pins) on an ARM Cortex M3 (and possibly M4 in future).
Is there a way of controlling the rate, relative to the bus speed?
i.e. if I'm running the M3 at 100MHz, can I do DMA at 10MHz, for example?
Upvotes: 0
Views: 1173
Reputation: 7691
Is there a way of controlling the rate, relative to the bus speed?
Use a timer to trigger the DMA transfer.
if I'm running the M3 at 100MHz, can I do DMA at 10MHz, for example?
Depends on the microcontrollers implementation of GPIO, DMA and timer. Those are usually not ARM provided peripherials - vendors implement them in different ways.
Upvotes: 3