sine wave: how to set amplitude?

Thread Starter

jasonkee111

Joined Mar 7, 2009
4
Hi. If i generate a sine wave signal(Full Scale - 24bit - 5Vpp) using the altera NCO, how to generate a 0.8902 Vpp sine wave?

thanks
 

t06afre

Joined May 11, 2009
5,934
This is very simple. The bit weight as I like to call it is given by (range)/(2^(number of bits)) so in you case it will be 5/(2^24)=bw
If you want to create a value equal to 0.4551 volt with your DA volt. just calculate 0.4551/bw = 1527062.20032. Then write the rounded value 1527062 to your AD
 
Top