Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

XMC1400 triggered multiple analog-to-digital conversion (vadc)

$
0
0
Hi,
I want to start the ADC by a timer. It works just as well. The ADC should then perform 3,5 or 7 conversions. Then an interrupt is to be triggered.
I am currently using ADC_SCAN_APP with 3 channels.
I get the results with the following commands:
val[0] = ADC_MEASUREMENT_ADV_GetResult(&ADC_MEASUREMENT_ADV _Channel_A_handle);
val[1] = ADC_MEASUREMENT_ADV_GetResult(&ADC_MEASUREMENT_ADV _Channel_B_handle);
val[2] = ADC_MEASUREMENT_ADV_GetResult(&ADC_MEASUREMENT_ADV _Channel_C_handle);
Channels A, B and C are all connected to the same analog port.
But how can I increase the number of conversions?
What settings do I have to make in the ADC_QEUE_APP?

Thank you very much!

Norgmis

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>