Datasheet

Section 5 Clock Pulse Generators
Rev. 3.00 Sep. 14, 2006 Page 81 of 408
REJ09B0105-0300
M
NM
N M
M + 1
M + α
t
A
(µs)
M - 1
φRC
FTIOA input
capture input
Timer W
TCNT
GRA
GRC
Capture 1 Capture 2
M + α
Figure 5.8 Timing Chart of Trimming of On-chip Oscillator Frequency
The on-chip oscillator frequency is gained by the expression below. Since the input-capture input
is sampled by the φ
RC
clock, the calculated result may include a sampling error of ±1 cycle of the
φ
RC
clock.
φRC =
(M + α) - M
(MHz)
t
A
φRC: Frequency of on-chip oscillator (MHz)
t
A
: Period of reference clock (µs)
M: Timer W counter value