TC1784
General Purpose Timer Array (GPTA
®
v5)
User´s Manual
21-44
V1.1, 2011-05
GPTA
®
v5, V1.14
Figure 21-30 Observation and Comparator Windows (timer is a power of 2)
The scalable and signed greater/equal comparator scheme leads to a limitation that
must be considered when programming the GPTA
®
v5 Module. If the timer range is not
a power of 2, the comparator window (always a power of 2) will no longer match the timer
period. This will impact the observation window as described in the following paragraph.
Observation window for reloaded timers (period is not a power of 2)
In that case, the comparator window must exceed the timer period. The user must find
the comparator window (by selecting the scale factor k) which fits best the timer period.
The following equation must apply:
2
k
< Period
≤
2
×
2
k
(21.1)
show that one part of the comparator window must be
discarded in order to avoid inconsistency, resulting in the observation window.
MCT05939
Before
After
T
Comparator Window (= 2 × 2
k
)
Observation Window (= Period)
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...