Skip to main content
Associate
June 10, 2024
Solved

Using the DMABurst feature to generate an abitrary waveform

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.
Sarra.SBest answer
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.

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

2 replies

Sarra.SBest answer
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.

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
BertlAuthor
Associate
August 6, 2024

Hi, thanks for the answer!

Meanwhile, I managed to get it work :)