AT90PWM216-16SE ATMEL [ATMEL Corporation], AT90PWM216-16SE Datasheet - Page 142

no-image

AT90PWM216-16SE

Manufacturer Part Number
AT90PWM216-16SE
Description
8-bit Microcontroller with 16K Bytes In-System Programmable flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
142
AT90PWM216/316
fractional divider number. The resulting output frequency is the average of the frequencies in the
frame. The fractional divider (d) is given by OCRnRB[15:12].
The PSC output period is directly equal to the PSCOUTn0 On Time + Dead Time (OT0+DT0)
and PSCOUTn1 On Time + DeadTime (OT1+DT1) values. These values are 12 bits numbers.
The frequency adjustment can only be done in steps like the dedicated counters. The step width
is defined as the frequency difference between two neighboring PSC frequencies:
with k is the number of CLK
with f
example, in normal mode, with maximum operating frequency 160 kHz and f
equals 400. The resulting resolution is Delta F equals 64MHz / 400 / 401 = 400 Hz.
In enhanced mode, the output frequency is the average of the frame formed by the 16 consecu-
tive cycles.
f
Then the frequency resolution is divided by 16. In the example above, the resolution equals 25
Hz.
b1
and f
OP
b2
is the output operating frequency.
are two neightboring base frequencies.
Δf
PSC
=
f
period in a PSC cycle and is given by the following formula:
AVERAGE
f1 f2
f
AVERAGE
=
=
=
f
--------- -
16 d
-------------- -
PLL
k
n
16 d
-------------- -
16
16
=
f
----------
----------- -
k
×
f
f
PSC
PLL
OP
+
×
f
--------- -
PLL
1
n
f
b1
=
+
+
----- -
16
f
----- -
16
d
PSC
d
×
×
×
----------- -
n
f
f
b2
PLL
------------------- -
k k
+
(
1
1
+
1
)
PLL
7710D–AVR–08/09
= 64 Mhz, k

Related parts for AT90PWM216-16SE