Jun 04, 2021
05:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2021
05:22 AM
Hi,
i am trying ADC in TC377TP, i am configuring group8 all 16 channels. i am trying to arrange 12 channel in queue 0 and 4 channel in queue 1.
queue 1 is refilling method and queue 0 is one time sampling method. queue 1 is low priority and queue 1 is high priority.
queue 1 startqueue called in init function,but queue 0 startqueue will call once in every 100ms, but i am getting only one interrupt from queue 0(very first time), but i am calling start queue in every 100ms.
what will be the issue.
my understanding of no queue refill concept is we have call startqueue function when it is required??? please correct me if i am wrong.
i am trying ADC in TC377TP, i am configuring group8 all 16 channels. i am trying to arrange 12 channel in queue 0 and 4 channel in queue 1.
queue 1 is refilling method and queue 0 is one time sampling method. queue 1 is low priority and queue 1 is high priority.
queue 1 startqueue called in init function,but queue 0 startqueue will call once in every 100ms, but i am getting only one interrupt from queue 0(very first time), but i am calling start queue in every 100ms.
what will be the issue.
my understanding of no queue refill concept is we have call startqueue function when it is required??? please correct me if i am wrong.
2 Replies
Jun 04, 2021
06:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2021
06:46 AM
If you don't use the refill feature then you must refill the queue by software before you start the queue. In this case is the queue empty when all conversions are finished. If you start now otherwise you will do this with an empty queue and no conversion starts also no interrupt is generated.
Jun 06, 2021
11:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 06, 2021
11:56 PM
Hi,
As MoD said, if you don't use the refill feature then you must refill the queue by software, you can find an example on this training: DMA_ADC_Transfer_1_KIT_TC375_LK and its tutorial
In the training the queue is filled everytime you want to get a new result from the VADC.
hope it helps,
teoBits
As MoD said, if you don't use the refill feature then you must refill the queue by software, you can find an example on this training: DMA_ADC_Transfer_1_KIT_TC375_LK and its tutorial
In the training the queue is filled everytime you want to get a new result from the VADC.
hope it helps,
teoBits
This widget could not be displayed.