cancel
Showing results for 
Search instead for 
Did you mean: 

Using the DMABurst feature to generate an abitrary waveform

Bertl
Associate

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)?

1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

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.

View solution in original post

2 REPLIES 2
Sarra.S
ST Employee

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.

Hi, thanks for the answer!

Meanwhile, I managed to get it work 🙂