Skip to main content
jacksons1976
Associate
Nov 29, 2004 1:44 AM UTC
Question

PWM frequency

Posted on November 29, 2004 at 02:44

PWM frequency

This topic has been closed for replies.

2 replies

jacksons1976
Associate
Nov 25, 2004 2:12 PM UTC
Posted on November 25, 2004 at 15:12

How to vary the frequency of the PWM, using ATR ?

jatin
Visitor II
Nov 29, 2004 1:44 AM UTC
Posted on November 29, 2004 at 02:44

You can vary the PWM frequency by varying the ATR register value. The ATR value is loaded into the counter register at each overflow(OVF) event. You can calculate the ATR value for selecting a particluar frequency according to your counter clock selection.