Fujitsu MB96300 series Hardware Manual page 671

F2mc-16fx 16-bit
Hide thumbs Also See for MB96300 series:
Table of Contents

Advertisement

MB96300 Super Series Hardware Manual
If CUTD is initialized with 0x0000 an underflow will occur and the measurement will take (0xFFFF + 1) *
T
CLKSC/CLKRC
In order to achieve a measurement duration of 1 second at a 32kHz oscillation, the CUTD register has to be
loaded with 0x8000 = 32768 dec. This number results from the exact oscillation frequency of the crystal,
which is F
shown in the following table.
32kHz: Ideal measurement results depending on measurement duration
In order to achieve a measurement duration of half a second at a 100kHz oscillation, the CUTD register has
to be loaded with 0xC350 = 50000 dec. This number results from the exact oscillation frequency of
F
=100000 Hz. The ideal values of the measurement results (if a 4.00 MHz crystal is used) are shown in the
osc
following table.
100kHz: Ideal measurement results depending on measurement duration
The duration of the whole process from writing a 1 into the STRT bit until STRT is reset by hardware is
longer than the actual calibration measurement time, due to synchronization between the different clock
domains. Process Duration < (CUTD + 3) * T
The calibration measurement time is CUTD * T
■ Clock Calibration Unit Calibration Timer Data Register (24 bits) (CUTR)
The Clock Calibration Unit Calibration Timer Data Register stores the result of the calibration. When the
calibration is started, the Calibration Timer starts counting up from zero. When the Duration Timer reaches
zero, the Calibration Timer stops counting and the register holds the calibration result until the next
calibration is triggered by software.
Precaution:
Reading this register during calibration results in random values. The end of calibration is indicated by
the INT-bit and the STRT-bit in the CUCR-register.
=32768 Hz. The ideal values of the measurement results (if a 4.00 MHz crystal is used) are
osc
duration of
calibration
2 sec
1.75 sec
1.5 sec
1.25 sec
1 sec
0.75 sec
0.5 sec
0.25 sec
duration of
calibration
0.5 sec
0.25 sec
0.125 sec
0.1 sec
CHAPTER 25 CLOCK CALIBRATION UNIT
CUTD
CUTR
value
value
0x0000
0x7A1200
0xE000
0x6ACFC0
0xC000
0x5B8D80
0xA000
0x4C4B40
0x8000
0x3D0900
0x6000
0x2DC6C0
0x4000
0x1E8480
0x2000
0x0F4240
CUTD
CUTR
value
value
0xC350
0x1E8480
0x61A8
0x0F4240
0x30D4
0x07A120
0x2710
0x061A80
.
CLKSC/CLKRC
.
CLKRC
663

Advertisement

Table of Contents
loading

Table of Contents