2019-01-03 11:54 PM
I am using STM32F756 Eval board and trying ADC+DMA example.
Example, is about one ADC conversion and the data is stored in variable using DMA.
I am looking out for changes to be done in the configuration such that,
After I start ADC conversion, I must get DMA interrupt after 3 ADC conversions are done. and the converted values are available in buffer of size 3. this buffer i shall pass to DMA while configuring DMA.
thanks and best regards,
Jagdish
Solved! Go to Solution.
2019-01-07 05:39 AM
Thank you so much for your inputs.
I have used the DAQ TC interrupt.
Jagdish
2019-01-04 06:42 AM
Are ADC conversions running continuously or triggered by signal?
To reduce the MCU time stress, sometime it is easier to have a big buffer to store enough data and get interrupt at half transfer event to process them, or use another DMA for memory to memory transfer, although in the end you'll have to process push the data with the leftover time left after moving data around. What's the sampling rate?
2019-01-04 07:11 AM
Best to have an array of 6 and use HT/TC interrupts to flag the inactive half.
But yes, you could trigger the ADC, have an array of 3, and use the DMA TC interrupt as the ADC x3 EOC
2019-01-07 05:39 AM
Thank you so much for your inputs.
I have used the DAQ TC interrupt.
Jagdish