Duty Cycles - Analog Devices SHARC ADSP-214 Series Hardware Reference Manual

Table of Contents

Advertisement

clock increments in a PWM period (edge aligned mode) or in a half
PCLK
PWM period (center aligned mode) in half a PWM period.
Therefore, the PWM switching period, T
T
= 2 × PWMTM × t
s
T
= PWMTM × t
s
For example, for a 200 MHz
switching frequency of 10 kHz (T
into the
PWMPERIODx
The largest value that can be written to the 16-bit
0xFFFF = 65,535 which corresponds to a minimum PWM switching fre-
quency of:
PWMPERIOD
when the PWM outputs or PWM sync is enabled.

Duty Cycles

The two 16-bit read/write duty cycle registers,
duty cycles of the four PWM output signals on the PWM pins. The
two's-complement integer value in the
cycle of the signals on the
integer value in the
and
PWM_BH
PWM_BL
two's-complement integer counts of the fundamental time unit,
define the desired on-time of the high-side PWM signal produced by the
ADSP-214xx SHARC Processor Hardware Reference
www.BDTIC.com/ADI
(edge aligned)
PCLK
(center aligned)
PCLK
PCLK
s
register is:
PWMPERIOD
------------------------------
=
2
200
f
------------------------- -
=
(
) min
×
PWM
,
2
values of 0 and 1 are not defined and should not be used
and
PWM_AH
register controls the duty cycle of the signals on
PWMB
pins. The duty cycle registers are programmed in
Pulse Width Modulation
, can be written as:
s
and a desired PWM center aligned
= 100 μs), the correct value to load
6
×
200
10
10000
=
3
×
×
10
10
PWMPERIODx
6
×
10
1523
Hz
=
65535
and
PWMA
register controls the duty
PWMA
. The two's-complement
PWM_AL
register is
, control the
PWMB
, and
PCLK
7-7

Advertisement

Table of Contents
loading

Table of Contents