avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] ATmega16 PWM


From: Thomas D. Dean
Subject: Re: [avr-gcc-list] ATmega16 PWM
Date: Thu, 26 Jul 2007 15:50:24 -0700 (PDT)

I discovered the spectrum of the PWM wave was strange.

I used the Fast PWM mode, 31kHz and a sinewave 600Hz modulation
frequency, sampled 8 to 32 times per cycle.  IOW, I changed the PWM
pulse width 8 to 32 times per cycle of the modulation sine wave.  The
modulation sine wave sampling rate seemed to make little difference in
the FFT of the output as displayed on a TDS 2014.

I can post the code and FFT, if anyone is interested.

tomdean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]