cancel
Showing results for 
Search instead for 
Did you mean: 

Using DMA Burst with OCToggle mode on F722ZE

Julian Carneiro
Associate II
Posted on June 20, 2018 at 19:00

Hi all,

I'm using the HAL drivers and STM32CubeMX to generate DMA Burst transfers from memory to TIM1 in OCToggle mode on the Nucleo F722ZE.

Old versions of the HAL drivers had a function called

HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim,

                                                   uint32_t BurstBaseAddress,

                                                   uint32_t BurstRequestSrc,

                                                   uint32_t* BurstBuffer,

                                                   uint32_t BurstLength,

                                                   uint32_t BufferLength)

which is identical to the

HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim,

                                                   

uint32_t BurstBaseAddress,

                                                   

uint32_t BurstRequestSrc,

                                                   

uint32_t* BurstBuffer,

                                                   

uint32_t BurstLength)

except the 

BufferLength 

#dma #output-compare #hal #dma-burst #burst-mode #toggle #timer
0 REPLIES 0