Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

User20162
Level 3
Level 3
10 replies posted 10 questions asked 5 replies posted
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.
0 Likes
2 Replies
MoD
Employee
Employee
250 sign-ins 25 likes received 50 solutions authored
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.
0 Likes
teoBits
Employee
Employee
100 replies posted 50 replies posted 25 replies posted
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
0 Likes
This widget could not be displayed.