2021-03-08 08:20 PM
i want to use dma ch2 to response a request of Req_CC3 to load a new value to TIM1 CCR1 or CCR2 . i need dma in some turns but not always so i choose nomal mode. i'd like to know if dma request is accumulated in stack or somewhere. cause every time i disable dma and reinitialize dma , the value buffered is been transferred immediately,even if i clear CC3IF before i initialize dma.
2021-03-08 11:53 PM
In older STM32, without DMAMUX, there's a latch at the output of TIM, you have to clear it by clearing/setting TIMx_DIER.CCxDE.
I'm not sure how this changes using DMAMUX, but try and come back with your findings.
JW