cancel
Showing results for 
Search instead for 
Did you mean: 

How do I modify the transfer mode of DMA while DMA is running?

pLI.1
Associate

I need to change the working mode of the DMA from the general mode to the circular mode, but I don't know if HAL provides a modification method, or other modification method

1 REPLY 1

Which STM32?

Generally, you cannot change settings of an active DMA, so you have to stop it anyway, first.

I don't use Cube, but probably after stopping you can do something like calling the DeInit/Init pair of functions.

JW