EVADC configuration for multiple channels in same hardware groups

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

cross mob
nsyed
Level 5
Level 5
5 likes given 100 sign-ins 50 sign-ins

Hello,

 

I am using TC377 MCU, and trying to configure the EVADC in the following fashion.

 

Channels of ADC Group8 are logically divided into three different groups as shown below

 

  1. Group8 - CH2      -> This group/channel sampling has highest priority
  2. Group8 - CH3      -> This group/channel sampling has next highest priority
  3. Group8 - CH4-CH15 -> This group sampling has the lowest priority

 

Group8 - CH2         - Start of conversion shall be triggered based on PWM rising edge

Group8 - CH3         - Start of conversion shall be triggered based on different PWM's rising edge

Group8 - CH4-CH15    - Start of conversion for this group shall be triggered by SW

 

Currently, I can successfully configure and test each group individually, but when I integrate all three it does not work.

 

Any thoughts, on how I can accomplish this ?

Is there any example project which I can refer ?

0 Likes
1 Solution
Yuva
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins 100 solutions authored

Hello,

I request to discuss this topic with PDH or local sales as this is MCAL product which is licensed. 

Thanks.

View solution in original post

0 Likes
9 Replies
nsyed
Level 5
Level 5
5 likes given 100 sign-ins 50 sign-ins

Hello Folks, 

Any thoughts on this question ?

0 Likes
nsyed
Level 5
Level 5
5 likes given 100 sign-ins 50 sign-ins

Dear Community Members, 

Any feedback on this question ?

0 Likes
ScottW
Employee
Employee
10 sign-ins First solution authored First like received

I'm afraid there isn't enough detail here to properly diagnose your issue. When you say, "it does not work," for instance, it would be helpful to know if you're getting results for any of the channels, and what you have done to determine that the triggering is not happening. If you can provide the code you used to configure the EVADC, that would be helpful as well.

0 Likes
nsyed
Level 5
Level 5
5 likes given 100 sign-ins 50 sign-ins

Hello Scott, 

Below is my configuration, I am using MCAL for this configuration.  Can you please provide some guidance 

 

nsyed_0-1650594382515.png

 

nsyed_1-1650594480990.png

 

 

0 Likes
nsyed
Level 5
Level 5
5 likes given 100 sign-ins 50 sign-ins

Hello Scott, 

 

Any thoughts ? Your feedback will be greatly appreciated.

0 Likes
Jamber
Level 3
Level 3
25 replies posted 50 sign-ins First like received

Hi, nsyed

ADC not work are commonly caused by mistake trigger configuration, try a check.

Another reason is your result handling configuration, such as service request, different group priority are routed to some specific service request line, please reference MCAL user manual. 

Or you can directly check the RES register in debugger to know whether it is really not work.

Best regards,

Jamber

 

0 Likes
Yuva
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins 100 solutions authored

Hello,

I request to discuss this topic with PDH or local sales as this is MCAL product which is licensed. 

Thanks.

0 Likes
nsyed
Level 5
Level 5
5 likes given 100 sign-ins 50 sign-ins

Hello Yuva, 

Who is PDH ? I tried to contact local sales to get some help, but most of the team here don't have expertize on MCAL.

Or is there any other platform where we should discuss MCAL related topics ? Let me know.

 

0 Likes
Yuva
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins 100 solutions authored

Hello,

You can find the details about PDH in the following link

https://www.infineon.com/cms/en/partner-network/microcontroller-partners/preferred-design-houses/

Thanks.

0 Likes