PWM DMA generation with variable period
Hi all,
I am trying to generate a PWM signal with both variable pulse width and period. I think the HAL_TIM_Base_Start_DMA function can only generate it with variable pulse width but not variable period. I have checked the timer cookbook and found the corresponding document at CH5 (p.44). (https://www.st.com/resource/en/application_note/an4776-generalpurpose-timer-cookbook-for-stm32-microcontrollers-stmicroelectronics.pdf) However, I still fail to realize it after copying the code provided on p.55. The pulse generated is a repeatable pulse with ARR and CRR as predefined value, the aSRC_buffer seems not able to load into the register. Can anyone tell me why, or provide me a same code which could work? Thanks a lot.
