Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHELP,I can't generate Hardware interrupt
I need help,please What I want is : When I press a button ON Board, Nios Let LEDs lights.Of course,the LEDs is turned off before.(The board is DIY,Just a cyclone ep1c3t144c8 without flash and s...
Altera_Forum
Honored Contributor
20 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); }