294
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
Figure 10-17:
Multiplexed Inputs for Timer C Sub Oscillator Calibration Function
To use the sub oscillator calibration feature, the watch timer clock must be derived from the sub
oscillator.
This is the flow for sub oscillator calibration:
(1)
Disable Timer C0
(2)
Enable sub oscillation calibration feature in Jupiter clock controller by setting the CMODE bit in the
PSM register to "1".
(3)
Enable Timer C0 and set CCC01 to capture mode.
(4)
On the next watch timer wake up interrupt, the captured value of CCC01 gives the modulo counter
for main oscillator clocks per watch timer interrupt. To achieve a higher accuracy measurement,
capture value of the n-th watch timer interrupt should be taken as the result.
Sub
OSC
Watch
Timer
Main
OSC
PSM.CMODE
Sub Clock
Calibration
TIC01
Edge
Detection
INTWT
f
PCLK
f
X
CCC01
f
COUNT
Prescale
r
f
XT
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......