2020-05-24 02:43 AM
hi guys. I want to use DMA to change the PWM frequency in the pwm running. I used DMA to change the ARR of Tim, but it was failed. So how to change the pwm frequency by DMA?
2020-05-24 03:27 AM
By changing ARR of TIM. You'll need to have ARR preload enabled (TIMx_CR1.ARPE=1)..
> I used DMA to change the ARR of Tim, but it was failed.
Post details.
JW
2020-05-25 12:49 AM
AN4776 Application note General-purpose timer cookbook has some nice examples