Skip to main content
SBhav
Visitor II
April 28, 2019
Question

How to determine the DMA transfer rate?

  • April 28, 2019
  • 2 replies
  • 1200 views

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.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
April 28, 2019

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
April 28, 2019

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

Read AN4031.

JW