2020-08-19 10:26 AM
When I try to change the duty cycle with DMA I notice that some values are not correct some of the time. I know that I am sinding the right values, but the PWM signal is not correct. Is this a problem with the preload registers and how can I set them in a better way so that this does not happen?
2020-08-19 11:58 AM
Read out and post the TIM, DMAMUX and DMA registers content.
JW
2020-08-19 12:59 PM
Well, I just switched the timer generating the PWM signal from TIM2 to TIM1 and it seems to work. Thanks for being interested.