How to determine the DMA transfer rate?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-28 10:52 AM
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.
- Labels:
-
ADC
-
DMA
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-28 01:04 PM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-28 01:20 PM
> I want to know how long does it take to transfer a half word.
Read AN4031.
JW