Associate III
January 18, 2019
Question
Dual synchronous DMA stream for timer 1 PWM preriod and duty cycle management?
- January 18, 2019
- 5 replies
- 2475 views
Hello everybody,
Here is my need
I am using STM32F469NI, and I need to generate a PWM signal using timer1.
I need to generate a burst of 4 pwm cycles. Each cycle must have a specific duty cycle value.
I already did that using DMA that load each duty cycles value to CCR register :
Now I would like to be able to do the same but to manage the period of each pwm cycles in a burst. ( ARR registrer ).
My gess is : can we make a dual DMA stream ( to ARR for period and to CCR for duty cycle) to be able to tune period and duty on the 4 pwm in burst?
I hope I am clear enought.
I attached my project.
Thanks in advance.
Baptiste
