Question
ADC Scan Mode - Help please
Posted on July 21, 2015 at 20:56
Hi.
I have to make 8 AD conversions (Channel 0 - Channel 7) and I would like to put converted values in a predetermined array via DMA. I am trying to achieve that with a SCAN mode (but NOT continuous). Now my questions are:Do all of the 8 converted values appear simultaneously in my predetermined array or one by one? If the second is true, than I have to worry about that, I'm not reading some of the new and some of the old conversions. Do I have to wait for a TCIF (Transfer Complete Flag) and only than read values from an array?Also, if I have to wait for that flag, can I wait for it in a ''while'' loop and make some other computations in that time?Thank you very much for your help #stm32f1 #dma #adc