cancel
Showing results for 
Search instead for 
Did you mean: 

How to restart DMA memory-to-memory on STM32F401RE?

namabo
Associate

I have an exercise scenario in which I have two buffers src and dst, I want to perform DMA memory-to-memory transfer between them.

Now I set DMA Stream1 and I use in the code HAL_DMA_Start_IT with the right parameters.

The first transfer happen but I want to do in the while loop another transfer.

If I call HAL_DMA_Start_IT again nothing happens (i.e. dst buffer is filled with the first transaction values)

I also tryied to call Abort and then recall HAL_DMA_Start_IT but nothing.

Is there a way to restart at runtime the DMA?

Thnk you in advance.

0 REPLIES 0