cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine the DMA transfer rate?

SBhav
Associate

I am using an STM32F4466 Nucleo board. I am using DMA 2 for ADC1 to memory transfer.

My AHB frequecy is 180MHz. I want to know how long does it take to transfer a half word.

2 REPLIES 2

What are you trying to calculate/accomplish ?

It is much faster than the ADC can run.

It is not entirely predictable due to contention and other bus traffic/speeds. For the sake of argument it is several AHB cycles.

Normally the ADC is limiting, and not stalled by the transfer. If you want to pace the ADC at a specific frequency with a TIM, and just let the DMA move the data when it is complete. The DMA HT/TC interrupts occur after the transfer completes.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..

> I want to know how long does it take to transfer a half word.

Read AN4031.

JW