Use Pulse Width Modulation to implement DAC

Discussion about SAM7 Series and ARM7TDMI based products.

Moderator: nferre

User avatar
Location: Atmel Corp.
Posts: 163
Joined: Thu Feb 12, 2004 7:48 pm

Use Pulse Width Modulation to implement DAC

Fri Oct 22, 2004 4:00 pm

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.
Last edited by stephan_cadene on Thu Dec 15, 2005 12:00 pm, edited 1 time in total.
Posts: 2
Joined: Mon Jun 27, 2005 5:47 pm


Mon Jun 27, 2005 8:52 pm

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...
Location: Denmark
Posts: 21
Joined: Thu Nov 17, 2005 5:42 pm

Tue Feb 21, 2006 2:44 pm

it seems like the zip file isn't available.
Will it be up again soon?

I have problems getting the PWM to work atm..


Posts: 6
Joined: Wed Sep 21, 2011 3:41 pm

Re: Use Pulse Width Modulation to implement DAC

Mon Sep 26, 2011 10:56 pm

why can't I see any attachments!
Posts: 877
Joined: Sat Oct 30, 2010 6:04 pm

Re: Use Pulse Width Modulation to implement DAC

Tue Sep 27, 2011 4:10 pm

>>why can't I see any attachments!

Probably because it was removed in December 2005?

Return to “SAM7 ARM7TDMI MCU”

Who is online

Users browsing this forum: No registered users and 3 guests