English
Language : 

AN1504 Datasheet, PDF (1/9 Pages) ON Semiconductor – Metastability and the ECLinPS Family
AN1504
APPLICATION NOTE
STARTING A PWM SIGNAL DIRECTLY
AT HIGH LEVEL USING THE ST7 16-BIT TIMER
by Microcontroller Division Applications
INTRODUCTION
The 16-bit timer is a standard peripheral of the ST7 microcontroller family. This peripheral can
be used for a variety of purposes, including pulse length measurement of up to two input sig-
nals (input capture feature) or generation of up to two output waveforms (output compare and
PWM mode).
This application note is about using the PWM mode of the standard 16 bit timer. It explains
how to synchronize the PWM signal output. In other words, how to make sure it outputs a high
state when the counter restarts after it has been stopped (for any reason) or simply when it
starts at the beginning of the application. In some applications, like motor control, it may be es-
sential to output the high level part of the signal duty cycle when the counter is started.
AN1504/0302
1/9
1