C509-L_97 SIEMENS [Siemens Semiconductor Group], C509-L_97 Datasheet - Page 124

no-image

C509-L_97

Manufacturer Part Number
C509-L_97
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Figure 6-22
Output Waveform of Compare Mode 0
Modulation Range of a PWM Signal and Differences between the Two Timer/Compare
Register Configurations in the CCU
There are two timer/compare register configurations in the CCU which can operate in compare
mode 0 (either timer 2 with a CCx (CRC and CC1 to CC4) register or the compare timer with a CMx
register). They basically operate in the same way, but show some differences concerning their
modulation range when used for PWM.
Generally it can be said that for every PWM generation with n-bit wide compare registers there are
2
setting, the maximum possible duty cycle then would be
This means that a variation of the duty cycle from 0% to real 100% can never be reached if the
compare register and timer register have the same length. There is always a spike which is as long
as the timer clock period.
In the C509-L there are two different modulation ranges for the above mentioned two timer/compare
register combinations. The difference is the location of the above spike within the timer period: at
the end of a timer period or at the beginning plus the end of a timer period. Please refer to the
description of the CCU relevant timer/register combination in section 6.3.4 for details.
Semiconductor Group
n
different settings for the duty cycle. Starting with a constant low level (0% duty cycle) as the first
Contents
of a Timer
Register
Compare
Output
(P1.x/CCx)
Interrupt can be generated
on overflow
Timer Count = Reload Value
(1 – 1/2
6-46
n
) x 100 %
On-Chip Peripheral Components
Interrupt can be generated
on compare match
Timer Count = FFFF
Timer Count =
Compare Value
MCT01846
H
1997-10-01
C509-L

Related parts for C509-L_97