Hi
I am working on a custom stm32f103 board. I just want to know are there any examples for periodical DMA transfer from data in array to pwm CCR. I could only find DMA with ADC in memory increment mode using STM32ADC library. Thanks in advance
DMA array to CCR PWM
Re: DMA array to CCR PWM
You can definitely do that. Look into using TIMx in PWM mode with DMA, where the DMA source is your array and the destination is the timer’s CCR register. Set the DMA in circular mode so it continuously updates the PWM, and trigger it with the timer update event. The STM32 HAL examples under TIM PWM with DMA are a good starting point.