Pots V DAC for Vref
frank freedman
Posts: 1,983
Hey @"Peter Jakacki" rather than hijacking @idbruce's thread, perhaps a new topic would be better.
Set up a DAC example from AN001. Looked noisy as 7734. Raw square wave looked really horrid. Overshoot and ringing, total mess. PPDB. Significant cleanup by moding PPDB with 100uF on both sides of the chip with 0.1uF across the 100uf. Much improved output, still some ringing. DAC output looks better as well. currently using 100uF and 4.7K with a nicely controlled value 80% gives me 3V. there is still some noise on the output ~200mv @800khz. Does this seem reasonable for just quick RC DAC on the prop?
Set up a DAC example from AN001. Looked noisy as 7734. Raw square wave looked really horrid. Overshoot and ringing, total mess. PPDB. Significant cleanup by moding PPDB with 100uF on both sides of the chip with 0.1uF across the 100uf. Much improved output, still some ringing. DAC output looks better as well. currently using 100uF and 4.7K with a nicely controlled value 80% gives me 3V. there is still some noise on the output ~200mv @800khz. Does this seem reasonable for just quick RC DAC on the prop?
Comments
I just check a Prop fitted with a 220R and 100nF and set the output to 50%. On the scope I measure 1.67V and a few millivolts ripple.
That prop manual must have very strange wording but to say it would not be able to reach 3.3V is incorrect unless it was loaded.
I can type "1860 mv" into Tachyon and I read 1.86V on the scope, then "3300 mv" I read 3.31V.
That glitch shouldn't be there though.
You can also run a Prop pin in A/D mode with a feedback resistor from another pin, caps to ground and Vdd, and a series input resistor. This replies upon the 1/2 Vdd switching threshold of the CMOS input.
If you don't want to add an op amp, at least reduce the R and raise the C (so the RC time contsant is still the same)