fadedbee
fadedbee

Reputation: 44765

Control the ARM Cortex M3/M4 DMA rate to peripherals.

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

Answers (1)

Turbo J
Turbo J

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

Related Questions