Posted on October 22, 2013 at 18:49
Hello,
is it possible to configure a DMA job to toggle an GPIO when the ADC conversion finishes?
I'am usingTimer8 to Trigger ADC1 conversion andDMA2 Stream0Channel0 to copy the conversion result (DR-...
Posted on October 28, 2013 at 22:32
Is there an example of DMA reading injected channels?
My DMA stopped working while changing to TIM4 and dualalternate trigger mode.
//###################################################
//# #
//#...
Posted on October 28, 2013 at 21:18
Here is the completeinitialization:
int
i;
for
(i=0; i<133; i++)
{
au16_ADCresult_Buffer[0][i] = 0x0000;
}
for
(i=0; i<133; i++)
{
au16_ADCresult_Buffer[1][i] = 0x0000;
}
au32_TestOut[0] = TESTHIGH;
au...
Posted on October 25, 2013 at 08:31I could do that, but then i need an equation to calculate conversion time and need to setup up antoher TIM and DMA. Despite that I would like to know why the easy way isn't working.