Skip to main content
Visitor II
June 10, 2024
Solved

Using the DMABurst feature to generate an abitrary waveform

  • June 10, 2024
  • 1 reply
  • 922 views

Hello forum!

I'm struggling to enable the burst feature described in the applicationnote from stm.

I'm using cube IDE and I configured timer1 along with DMA1 to generate a specific waveform.

Problem is, that after enabling the PWM via "HAL_TIM_PWM_START_DMA()",

the call to HAL_TIM_DMAburst_Multiwrite() failes with HAL_BUSY.

 

The initial values are set but the update does not work. Are there any experiences to use 

this feature using cubeIDE (Cubemx)?

    This topic has been closed for replies.
    Best answer by Sarra.S

    Hello @Bertl, welcome to ST Community, sorry for the delayed answer!

    Could you specify what stm32 are you using?

    You can start from the existent cube example of TIM_DMABurst here.

     

     

    1 reply

    Sarra.SAnswer
    ST Employee
    August 6, 2024

    Hello @Bertl, welcome to ST Community, sorry for the delayed answer!

    Could you specify what stm32 are you using?

    You can start from the existent cube example of TIM_DMABurst here.

     

     

    BertlAuthor
    Visitor II
    August 6, 2024

    Hi, thanks for the answer!

    Meanwhile, I managed to get it work :)