Negative Amplitude Sine Wave Generation using DAC for K60

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Negative Amplitude Sine Wave Generation using DAC for K60

跳至解决方案
1,733 次查看
mdrasool_yadwad
Contributor II

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

0 项奖励
回复
1 解答
1,658 次查看
jingpan
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,659 次查看
jingpan
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
1,658 次查看
mdrasool_yadwad
Contributor II

Thank You Jing Pan

 

Regards,

   Mohammedrasool 

0 项奖励
回复