Forum Discussion
Altera_Forum
Honored Contributor
19 years ago- better to use edge triggered interrupts in your input pio
- i don't know if you need a system timer, this normally has IRQ0 assigned. does your program runs normal in debugger e.g let a led blink in while loop ? .. .. while(1) { usleep(100000); led ^= 0x01; IOWR_ALTERA_AVALON_PIO_DATA(LED_PIO_BASE,led); }