I use I2C,control waveform generator enerate sine wave,but some santooth shape is on the sine wave. How to eliminate this sawtooth wave?thanks.
Analog input not used.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Zhang,
Can you share a scope capture of the sawtooth wave on the sine wave? Also can you share your I2C script?
Thank you,
Jeff McPherson
Hi Zhang,
I use I2C,control waveform generator enerate sine wave,but some santooth shape is on the sine wave. How to eliminate this sawtooth wave?
What is the frequency and amplitude of the sinewave? I would think the DAC output might have big steps (sawtooth) if the frequency is low and magnitude is high.
Brian
as follows:
usage example: setWave 0 0 0 128 19 2 0
$1 | --Mode: 0:Digital 1:Analog, Default 0
$2 | --Waveform: 0:Sin, Default:0
$3 | --Voltage Gain: 0:50 1:100 2:150 3:200, Default:0
$4 | --Amplitude:0:no-signal 128:half-scale 255:Full-scale, Default:128
$5 | --Frequency: 19:150hz 26:200hz 32:250hz 38:300hz, Default:19
$6 | --NumberOfCycles: 1,2...10, Default:2
$7 | --Rise/Fall Time: 0:No Envelope 1:32 2:64 3:96 4:128 5:160...15:2048, Default:0
Hi Zhang,
This doesn't look like a TI tool. Is it custom?
Also, are you taking a single ended measurement? What you are likely seeing is the boost converter switching. This part is designed for only differential output, which cancels out the boost converter switching.
Best regards,
Jeff McPherson
as follows:
Hi,
The waveform is unipolar above 0v, and so it's not a sinewave. Is this a custom waveform that written into the memory?
Brian