Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

GPIO Interrupt setup

$
0
0
Hello,

I have a keypad connected to GPIO's. At first I tried polling the keys in the while(1) loop and that worked fine as long as there were no other interrupts. Now I have an ADC configured that's in background scan mode so it keeps interrupting. I want to connect the keypad using ERU to an NVIC so I can use interrupts but it won't work.
I have set up the pins that should go up when I press using IO002 apps, connected the pad signal to ERU001 signal input a, connected ERU001 trigger pulse output to ERU002 trigger input, connected ERU002 gated output to NVIC interrupt node. What am I doing worng? Did I miss something?

Viewing all articles
Browse latest Browse all 9892


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>