Operation Modes; Waveform Modes; Edge-Aligned Mode - Analog Devices SHARC ADSP-214 Series Hardware Reference Manual

Table of Contents

Advertisement

Operation Modes

4. Emergency Dead Time Insertion
5. Output Polarity
Operation Modes
The following sections provide information on the operating modes of the
PWM module.

Waveform Modes

The PWM module can operate in both edge- and center-aligned modes.
These modes are described in the following sections.

Edge-Aligned Mode

In edge-aligned mode, shown in
left-justified in the period window. A duty value of zero, programmed
through the
PWMAx
cycle. For even values of period, the PWM pulse width is exactly period/2,
whereas for odd values of period, it is equal to period/2 (rounded up).
Therefore for a duty value programmed in two's-complement, the PWM
pulse width is given by:
To generate constant logic high on PWM output, program the duty regis-
ter with the value ≥ + period/2.
To generate constant logic low on PWM output, program the duty regis-
ter with the value ≥ – period/2.
For example, using an odd period of p = 2n + 1, the counter within the
PWM generator counts as (–n...0...+n). If the period is even (p = 2n) then
the counter counts as (–n+1...0...n).
7-18
www.BDTIC.com/ADI
Figure
registers, produces a PWM waveform with 50% duty
ADSP-214xx SHARC Processor Hardware Reference
7-5, the PWM waveform is

Advertisement

Table of Contents
loading

Table of Contents