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

XMC™ Forum Discussions

jsmith678x
Level 3
Level 3
First solution authored 50 sign-ins 10 replies posted

Hi,

I'm looking for the ADC channel event interrupt enable flag. I've found similar for result event (GXRCRy.SRGEN) however I don't see the similar enable flag for the channel event. Channel event raised for example fast compare.

0 Likes
1 Solution
ncbs
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @jsmith678x.,

Could you please check out CHEVMODE of GxCHCTRy in page 19-97 of XMC4500 Reference Manual? When CHEVMODE = 00, a channel event is not generated.

ncbs_0-1649853329428.png

Regards,
Nikhil

 

View solution in original post

0 Likes
5 Replies
ncbs
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @jsmith678x.,

Could you please check out CHEVMODE of GxCHCTRy in page 19-97 of XMC4500 Reference Manual? When CHEVMODE = 00, a channel event is not generated.

ncbs_0-1649853329428.png

Regards,
Nikhil

 

0 Likes

In my case CHEVMODE  is not zero

0 Likes
ncbs
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @jsmith678x,

Can you make CHEVMODE equal to zero and check the functionality?

Regards,
Nikhil

0 Likes
jsmith678x
Level 3
Level 3
First solution authored 50 sign-ins 10 replies posted

No

0 Likes
ncbs
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @jsmith678x,

Could you please elaborate on your response?

Are you able to change the CHEVMODE or are you not seeing any change in functionality when CHEVMODE is changed?

regards
Nikhil

0 Likes