Question
DMA2 (Can't Configure Seperate Streams for ADC1 and ADC2)
Posted on September 18, 2014 at 17:44
I have the STM32F407 Discovery board.
I am configuring two streams using DMA and ADC The first stream uses Stream 0 channel 0 of the DMA 2 ie ADC1 which reads the value of ADC chanel 9 1N9 and gets sent to circular buffer and send as audio 8Khz. The second stream uses Stream 2 channel 1 of DMA2 ie ADC2 which reads values of ADC channels 2N - 0,1,5,6,7,8 at 1Khz. using DR and Tim3 TRGOut as the trigger. If I configure each stream independently it works (ie I have not configured the other). If I configure both DMA2/Streams/ADCX. The first configured DMA2_streamX_Interupt handler does not fire.