Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem about interval timer
Hi guys now i want to use the interval timer as interrupt to send a 40khz sine wave to i/o port.but when i set the interval timer as 1us which equals the sampling frequecy of ad5547(1mhz),it does'...
Altera_Forum
Honored Contributor
16 years agoBe sure the interrupt vectors are in on chip RAM, use the interrupt vector accelerator (the custom opcode choice in SOPC as it allows an indexed jump to the ISR, not a loop in C looking for the interrupt handler) and finally move your ISR into onchip RAM. You well could just be generating interrupts faster than the NIOS II can run them.
Bill