Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- You must write 1 to the edge capture bit in order to clear irq. Then the correct command in irq handler should be: IOWR_ALTERA_AVALON_PIO_EDGE_CAP(LOAD_BASE, 1); Probably the problem is simply here: irq is not cleared, thus keeps on retriggering and your code gets stuck. --- Quote End --- Hello Cris72, I have do the change as you suggest, but it stiil stuck at same place....no change ...!!