Skip to main content
pLI.1
Visitor II
August 7, 2022
Question

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

  • August 7, 2022
  • 1 reply
  • 620 views

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

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
August 7, 2022

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