2025-06-01 5:04 AM
Hey , New to STM32 Here
I was learning about the different DMA modes, and I came across a study case that compares the time taken by each mode in a DMA memory-to-memory transfer (from Flash to SRAM). Here's the comparison below:
I'm using a Nucleo-F401, and I wrote a simple code to measure the transfer time using a timer, like this:
I was surprised that the results were not as expected — for example, DMA MEM2MEM transfers with word alignment took longer than those with byte alignment. Can someone please explain because this is so confusing
Solved! Go to Solution.
2025-06-01 5:29 AM
2025-06-01 5:19 AM
I'm using Direct Mode :
Byte-Alignment = 45μs
Word Alignment = 48μs
2025-06-01 5:29 AM
Solved
2025-06-01 5:58 AM
Hi,
where is the table from ?
+
What you found?
solution ?
2025-06-01 6:32 AM
In fact , It was a dumb mistake haha , as you can see im transferring 1000 element (counter = 1000) , when I changed the data alignement to word , I forgot to set the counter to 250 element (250 x 4 = 1000 byte) That's it !