Operation Modes
7-18
ADSP-214xx SHARC Processor Hardware Reference
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
registers, produces a PWM waveform with 50% duty
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).
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...