TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-92
V1.1, 2011-05
GPTA
®
v5, V1.14
Programmable PWM Signal Generation with 4 LTCs (local coherent update)
As shown in
, a logical cell of four LTCs can be used to generate a PWM
signal with a programmable duty cycle and local coherent update of this duty cycle. In
this example, LTC00 up to LTC03 are used to generate a PWM signal at the output of
LTC03.
Figure 21-62 PWM Signal Generation with LTCs (Local Coherent Update)
LTC00 is configured in Reset Timer Mode thus providing all subsequent cells with a time
base. LTC00 is clocked by a clock signal at the LTC00IN which has been selected by the
LTC input multiplexer. LTC00 counts after reseted by LTC01 or LTC02 from FFFF
H
,
0000
H
, 0001
H
… LTCXR01.X or LTCXR01.X. The period of the generated PWM is
therefore LTCXR01.X +2 or LTCXR02.X + 2.
LTC01 is configured in Compare Mode. It is always active and responsible for the
LTC03OUT signal generation in Phase 1. With the programmed value from
,
the LTC03OUT signal of Phase 1 has a period of 1000
D
(= 3E8
H
) clocks of the LTC00IN
clock signal and a duty cycle of 20% (= 200
D
or C8
H
).
LTC01 is configured in such a way (LTCCTR01.OCM = 011
B
) that its output LTC01OUT
is set to 1 whenever the LTC00 timer value LTCXR00.X is equal to the LTC01 compare
value LTCXR01.X.
LTC02 and LTC03 are configured in Compare Mode. They are responsible for the
LTC03OUT signal generation in Phase 2. With the programmed values from
,
the LTC03OUT signal of Phase 2 has a duty cycle of 77% (= 770
D
or 302
H
).
Local Timer Cell LTC00
M1I M0I
TI
EO
SI
M1O
TI
EI
SO
YI
YO
Local Timer Cell LTC01
M1I M0I
LTC00IN
TI
EO
SI
M1O
TO
EI
SO
YI
YO
MCA05967_II
LTC03OUT
Reset
Timer
Period
Compare
Local Timer Cell LTC02
M1I M0I
TI
EO
SI
M1O
TO
EI
SO
YI
YO
Duty Cycle
Compare
Local Timer Cell LTC03
M1I M0I
TI
EO
SI
M1O
TO
EI
SO
YI
YO
Duty Cycle
Compare
M0O
M0O
M0O
M0O
M3I M2I
M3O
M3I M2I
M3O
M3I M2I
M3O
M3I M2I
M3O
M2O
M2O
M2O
M2O
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...