Skip to main content
ambrose
Associate II
Oct 27, 2020 2:39 PM UTC
Solved

Is there a way to overcome "pausing" during DMA Circular transfer?

Hello I am using the STM32F334 for Lighting and I have had to use the DMA to transfer duty cycle data to the PWM duty register. The DMA is set up in circular mode and there is no interrupt. The priority it set to High. But i notice this pauses between the packets. I would have expected it to have no pauses. Please how can I get rid of this? Please see the image of actual light intensity. Hope to hear from you. thanks

This topic has been closed for replies.
Uwe Bonnes
Uwe BonnesBest answer
Chief
Oct 27, 2020 3:04 PM UTC

Maybe an off-by-one error in your DMA data.

11 replies

waclawek.jan
Super User
Oct 28, 2020 12:52 PM UTC

So if it's solved, please select Uwe's post as Best, so that the thread is marked as solved.

Thanks,

JW