Jan 18, 2017
07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 18, 2017
07:30 AM
Hi there
Encountered the following interrupt problem using a XMC4300 Relax EtherCAT Kit.
I programmed the board as in the example External_Interrupt_XMC45 using the DAVE APPs.
The goal is simply to toggle a LED on pin 4.1 by pushbutton on pin 0.7 via external Interrupt (on falling edge).
So when i push the button (HW debounced) it always runs the interrupt twice for each edge. Meaning twice for
rising and falling edge . But it should only interrupt on falling edge.
Anybody with a similar problem?
Is there any additional programming necessary?
Thanks for your support.
Encountered the following interrupt problem using a XMC4300 Relax EtherCAT Kit.
I programmed the board as in the example External_Interrupt_XMC45 using the DAVE APPs.
The goal is simply to toggle a LED on pin 4.1 by pushbutton on pin 0.7 via external Interrupt (on falling edge).
So when i push the button (HW debounced) it always runs the interrupt twice for each edge. Meaning twice for
rising and falling edge . But it should only interrupt on falling edge.
Anybody with a similar problem?
Is there any additional programming necessary?
Thanks for your support.
Labels
1 Reply
Feb 02, 2017
12:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 02, 2017
12:04 AM
Hey
It seemed to be a signal problem. The signal slope was too bad. Solved it with a schmitt trigger.
Greetings
It seemed to be a signal problem. The signal slope was too bad. Solved it with a schmitt trigger.
Greetings