cancel
Showing results for 
Search instead for 
Did you mean: 

Seting up DMA with STM32F10x_StdPeriph_Lib_V3.2.0 ?

danielviksporre9
Associate II
Posted on April 14, 2010 at 16:14

Seting up DMA with STM32F10x_StdPeriph_Lib_V3.2.0 ?

2 REPLIES 2
danielviksporre9
Associate II
Posted on May 17, 2011 at 13:47

I guess that I found some of the answers myself. Have I got this right?

/* This will set it to it's defaults, as it were set after a reset */

DMA_DeInit(DMA1_Channel4);  /* DMA1 channel4 */

/* This will enable the clock for DMA1 */

RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE);

danielviksporre9
Associate II
Posted on May 17, 2011 at 13:47

Does any one know if there is any example of DMA with circular buffer, and with interrupt on the full and half full flag? I can't find any...