AnsweredAssumed Answered

Stack DMAable Memory Address While DMA Transfer

Question asked by Manish Sharma on May 9, 2018
Latest reply on May 13, 2018 by Clive One

Hi All,

 

I am working on STM32H743 MCU's DMA.

 

I was doing DMA transfer on the SRAM address space 0x30000000 (data transfer of 16K). I was visualizing a situation where i put this (0x30000000) address of the sram on the function (let say fft_process(uin32_t *buff)) which does some processing.

 

Calling Function:

fft_process( (uin32_t)0x30000000);

 

Let suppose if there is a last byte left to DMA and i fell in a situation ( A BUG ) where i invoke

fft_process( (uin32_t)0x30000000) before the last transfer then what are the problem pops up ?

 

Is it good to stacked ( here i did on the function fft_process) DMAable memory address (0x30000000) while DMA transfer is going on ?

Outcomes