Force DMA to Start/Stop at a Particular Position
Hi STM32 guys/gals,
The gray/white signal is for reference only, and that's the signal I'd like the generated yellow signal to achieve when starts and stops. I'm using DMA in circular mode to generate the yellow signal. However, I'm struggling to command the signal to start and stop exactly in the middle, between peak to peak. Forcing either the timer interrupt to stop or disable the DMA will make it stop anywhere between peak-to-peak but not exactly in the middle all the time. Should DMA in normal mode better for this application?
Stopped/started at bottom:
Stopped/started slightly above bottom:

Thanks,
