Forum Discussion
Altera_Forum
Honored Contributor
15 years agothe resulting frequency at the output of your dac depends upon the speed you feed the dac with new values. the faster the cpu is and or its clock, the faster the while (1) loop will be executed the faster the dac gets its next value, hence the output frequency will increase.
but you will also get jitter, if the cpu is executing some kind of interupt and during that time cannot feed the dac with new values. if you want to get rid of jitter and cpu dependencies. you should use hardware instead of software to feed your dac to provide a stable and well known updating frequency of your dac data.