Get an interrupt when at least of 1 pin of a port changes

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

cross mob
User11185
Level 1
Level 1
I have an 8 bits gray encoder connected to the port P5.0 ...P5.7 of the XMC4500.
Is there the possibility to get an interrupt every time a single pin changes its status ? Is the only solution to connect each single pin to an ERU channel or is there a simpler way to do it ?

Actually we are using an extra signal generated by the logic XOR of the 8 pins. This signal is than connected to an ERU channel.

Thank you for the help
0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi Enzo,

ERU is the hardware available to meet your request. You may do trigger combination options where multiple triggers are ORed together.

Best Regards,
Vasanth

View solution in original post

0 Likes
1 Reply
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked
Hi Enzo,

ERU is the hardware available to meet your request. You may do trigger combination options where multiple triggers are ORed together.

Best Regards,
Vasanth
0 Likes