Skip to main content
jacksons1976
Associate
November 29, 2004
Question

PWM frequency

  • November 29, 2004
  • 2 replies
  • 797 views
Posted on November 29, 2004 at 02:44

PWM frequency

This topic has been closed for replies.

2 replies

jacksons1976
Associate
November 25, 2004
Posted on November 25, 2004 at 15:12

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

jatin
Visitor II
November 29, 2004
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.