Page 1 of 1

Use Pulse Width Modulation to implement DAC

Posted: Fri Oct 22, 2004 4:00 pm
by stephan_cadene
Hi everybody,

Here is a Basic Application Project that allows to implement DAC function to AT91SAM7S Series for the static and quasi-static domain.
This software project is broken into four parts and contains four sub-projects with only one variant: SRAM Debug.
  • What is the minimum program in order to start PWM Peripheral ? This sub-project has been done in this goal.
    How to create a DC voltage by using Resistor and capacitor on PWM output
    A basic function with voltage level as input parameter and output voltage level on PWM output pin: DAC function.
    Use of previous fnction as function generator: only to get out triangle signal.

You...

Posted: Mon Jun 27, 2005 8:52 pm
by CYG_ASSERT(oli);
have to setup the oszilator, maybe the pll (if You want use the USB also), the sytem- and the pheripherie-clocks, the watchdog, the io-ports, the a/b-pheripherie register and last but not least the pwm-registers...

If You run the cpu from a clean, stable supply, maybe you are happy with an simpel low-pass. This can be an passive or an avtive circuit. Otherwise You have to build some switched, current or voltage sources..

The questions are:
What resolution, precision, bandwidht and noise-level You need...

Posted: Tue Feb 21, 2006 2:44 pm
by drot_bigear
it seems like the zip file isn't available.
Will it be up again soon?

I have problems getting the PWM to work atm..

regards

jacob

Re: Use Pulse Width Modulation to implement DAC

Posted: Mon Sep 26, 2011 10:56 pm
by codefreek
why can't I see any attachments!

Re: Use Pulse Width Modulation to implement DAC

Posted: Tue Sep 27, 2011 4:10 pm
by CptTitanic
>>why can't I see any attachments!

Probably because it was removed in December 2005?