Hello,
I have generated sine wave using DAC for only +ve amplitudes like +0.6V to 1.2V and 1.2V to 0V using K60 microcontroller. But i could not able to generate for negative amplitudes . I have taken Vref as reference voltage i.e 1.2 V for DAC . Please suggest how to generate for negative amplitude . Below are my coordinates for positive amplitude
SineWave[82]={2047,2330,2570,2729,2920,3071,3303,3412,3600,3720,3753,3811,3856,3968,4009,4026,4043,4060,4095,
4060,4043,4026,4009,3968,3856,3811,3753,3720,3600,3412,3303,3071,2920,2729,2570,2330,2047,1876,1722,
1548,1251,995,825,968,579,470,371,326,282,261,169,125,74,0,36,50,94,121,152,183,237,319,343,412,
545,572,596,661,722,818,886,1023,1169,1473,1633,1705,1876,1890,1900,1950,2000,2020,2047};
Regards,
Mohammedrasool
Solved! Go to Solution.
Hi Mohammedrassl,
K60 DAC can't generate negative amplitude. It's output range is VSS~reference voltage. You have to use external circuit to reverse or move its output signal.
Regards,
Jing
Hi Mohammedrassl,
K60 DAC can't generate negative amplitude. It's output range is VSS~reference voltage. You have to use external circuit to reverse or move its output signal.
Regards,
Jing
Thank You Jing Pan
Regards,
Mohammedrasool