formula for duty cycle calculation with an st7 lite ST7LITEU05B6
Company  
ST Home | Microcontrollers

Index  »  ST7  »  formula for duty cycle calculation with an st7 lite ST7LITEU05B6
     
   formula for duty cycle calculation with an st7 lite ST7LITEU05B6
 Moderated by :   »  Jatin  -  laubey  -  Setler

Author
beginning argument    ( Replies received: 2 )
Spectre   Posted 08-07-2008 at 13:53   



Registered on :
11-06-2005

From Italy

Messages : 147

 OFF-Line

hi,

I see in the datasheet that there is only a formula for the frequency calculation of the pwm (fcounter/(4096 - atr).

Is there a formula for the duty cycle calculation ? thanks to all

Spectre



 Profile   Quote  
woro   Posted 11-07-2008 at 15:11   



Registered on :
07-17-2003

From Germany

Messages : 189

 OFF-Line

Hi Spectre,

if you need a formula, in Wikipedia you'll find the term duty cycle : ....the term duty cycle is used to describe the fraction of time that a system is in an "active" state.

So the formula you'll get for the duty cycle must be (DCR-ATR)/(4096-ATR) or (4096-DCR)/(4096-ATR) according to the polarity you chose. Right?

Regards,
WoRo



 Profile   Quote  
Spectre   Posted 14-07-2008 at 15:42   



Registered on :
11-06-2005

From Italy

Messages : 147

 OFF-Line

thanks woro

bye

Spectre



 Profile   Quote  
On Top

Search in the forums
 
Jump To