Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNCO phase drift
Hello, I have an NCO generating a 60 Hz sine output. input clk = 10 khz phase accumulator precision = 32 bits angular resolution = 32 bits magnitude precision = 10 bits phase incr...
Altera_Forum
Honored Contributor
14 years agoIt is true that if your tuning word is rounded(in any way) it means phase drift will occur no matter what resolution you use. see my matlab model here:
http://www.dsprelated.com/showcode/240.php For 60Hz you will need your clock to be integer multiple of 60 e.g. 60KHz and then your modulo can not be power of 2.