Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
Hello,
The IRQ line should be set by the interrupt source and cleared by the interrupt handler itself; just doing a pulse A) doesn't guarantee the interrupt will be recognised and http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif if the pulse is too long, the interrupt handler could be called more times than you expect. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by steve360@Jun 15 2005, 06:52 AM hello,the irq line should be set by the interrupt source and cleared by the interrupt handler itself; just doing a pulse a) doesn't guarantee the interrupt will be recognised and http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/cool.gif if the pulse is too long, the interrupt handler could be called more times than you expect. --- Quote End --- steve360,thank you.but i can't find the information of this problem,is it the same as common MCU?can you tell me how can i find the information.!
- Altera_Forum
Honored Contributor
If you are using the PIO in level mode, there is no way to guarantee that the interrupt will be active for any period of time. If you require knowledge that the state transitioned and/or don't want to have unknown cause interrupts, you will need to use the edge interrupt option of the PIO.