AnsweredAssumed Answered

Triggering DMA transfers using a timer

Question asked by inky.yo on Jun 18, 2012
Latest reply on Jun 18, 2012 by Clive One
Hello everyone,

We're currently evaluating the STM32F4 platform for a sophisticated data logging device. One of the requirements is that 14 digital I/Os need to be sampled at a rate of >1MSamples/s. What we'd like to do is use a timer that periodically triggers a DMA transfer from e.g. port E's IDR register to RAM. As the processor needs to perform signal analysis tasks, using an ISR to start the DMA transfer is unfeasible.

AN2548 (Using the STM32F101xx and STM32F103xx DMA controller) describes how this problem could be solved by using two timers: one generating a PWM on a pin, one sampling the same pin and triggering the DMA accordingly.
This would work but we're looking for a more elegant solution that doesn't involve using a pin.

So to sum it up: do you know of a way to periodically initiate DMA transfers through the use of a timer without an ISR?

Thanks in advance!

Outcomes