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 agoThanks a lot.
Now I set the cpu clock as 160MHz,and I set the timer period value in the Nios IDE. It occurs a new problem,I set the timer as 0X0050,that means 80 clocks-- 2MHz sampling frequency.The result is 38KHz sine wave. It confused me so much:confused: