Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNios instability
Hello, I'm using nios II processor with a high_res_timer for different test before continuing my project. The test i'm trying to do is to generate on a pin a square frequency with a 400µs period...
Altera_Forum
Honored Contributor
16 years agoSince you said your Nios is operating at 50MHz (then with a 20ns clock period), a requirement of 40ns precision is a bit too tight, even if your Nios is FULLY dedicated to generate that signal; that means Nios must constantly poll the timer and MUST NOT perform any other task!!!
The usual approach in such cases is to generate your signals with a hardware module: i.e. you simply set the sq wave frequency and duty cycle and the hardware does all the job. Cris