cancel
Showing results for 
Search instead for 
Did you mean: 

Hi STM32g474 do not have the function "HAL_DMAEx_MultiBufferStart_IT()", i want to realize two DMA buffer for ADC,are there any examples for ping-pong buffer? Thank you

YGao.3
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

The STM32G4 doesn't have the double-buffer DMA capability (DBM=1) that some other families do.

You can use a single buffer and use the HT and TC interrupts to process each half of the buffer.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Guru

The STM32G4 doesn't have the double-buffer DMA capability (DBM=1) that some other families do.

You can use a single buffer and use the HT and TC interrupts to process each half of the buffer.

If you feel a post has answered your question, please click "Accept as Solution".

Thank you for reply.