EasyManua.ls Logo

Renesas M32R/ECU Series - Page 816

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix 4
Appendix 4-11
32180 Group User's Manual (Rev. 1.0)
SUMMARY OF PRECAUTIONS
Appendix 4.8.10 Precautions on Using TML Measure Input
The following describes precautions to be observed when using TML measure input.
If measure event input and write to the counter occur in the same clock period, the write value is set in the
counter, whereas the up-count value (before being rewritten) is latched into the measure register.
If clock bus 1 is selected and any clock other than BCLK/2 is used for the timer, the counter cannot be
written normally. Therefore, when using any clock other than BCLK/2, do not write to the counter.
If clock bus 1 is selected and any clock other than BCLK/2 is used for the timer, the value captured into the
measure register is one count larger the counter value. During the count clock to BCLK/2 period interval,
however, the captured value is exactly the counter value.
The diagram below shows the relationship between counter operation and the valid data that can be captured.
Counter
BACDE
F
ABCDE
When BCLK/2 is selected
BCLK/2
Captured
Counter
BA
C
When clock bus 1 is selected
BCLK/2
Count clock
Captured
BCD
F
Figure 4.8.3 Mistimed Counter Value and the Captured Value
Appendix 4.8 Precautions about the Multijunction Timers

Table of Contents

Related product manuals