Not applicable
Dec 04, 2017
11:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2017
11:20 PM
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
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
1 Reply
Jun 13, 2019
11:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 13, 2019
11:24 PM
Will you please share the algorithm ?