Question
Timer + PWM + DMA
Hi,
I’m looking for some tutorial (or any other learning staff) related to Timer + PWM + DMA.
Unfortunately, I couldn’t find much info related to these issues.
I’d like to learn:
- LL_TIM_CC_EnableChannel() and LL_TIM_CC_DisableChannel():
- What exactly do these func do? When should IO use them?
- Is it available only while using DMA?
- What is the sequence of calling this func?
- Do I have to start DMA first using HAL_TIM_PWM_Start_DMA()?
- Will LL_TIM_CC_DisableChannel() stop/pause the DMA operation, or I must call HAL_TIM_PWM_Stop_DMA()?
- What is the flow chart (i.e.: sequence) of the MCU while using Timer + PWM + DMA? As far as I understood (please fix me:( Timer event --> “Send” data using to PWM DMA --> PWM operation on gpio (according to data)
- ...
Thanks,
Aviv
