Example Of Setting The Pll Clock - Fujitsu MB91150 Series Hardware Manual

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 3 MEMORY SPACE, CPU AND CONTROL UNIT

3.11.11 Example of Setting the PLL Clock

This section gives an example of setting the PLL clock and also provides an example
of the related assembler source code.
I Example of setting the PLL clock
Figure 3.11-9 "Example of setting the PLL clock" gives an example of the procedure for
switching to 33-MHz operation using the PLL.
CHC = 1
Yes
DBLON = 1
Yes
VSTP = 0
Yes
SLCTO <-- 1
CHC <-- 0
Notes:
No particular setting order of the DBLON, VSTP, and SLCT1 bits shown here was specified
in the example.
For a restart of PLL VC0, be sure to program a wait time of at least 300µs to ensure
stabilization.
Ensure that the wait time does not become insufficient by cache ON or OFF operations.
84
Figure 3.11-9 Example of setting the PLL clock
No
Before making the PLL-related settings, be sure to
CHC <-- 1
switch to the clock signal of the divided-by-2
system.
No
The gear is fixed to CPU = 1/1 by setting the
DBLON <-- 1
doubler to ON. The peripheral system can be set
arbitrarily.
(Note: If no external bus is used, the doubler need
not be used. In this case, the CPU gear can
arbitrarily be set as well.)
No
DBLACK = 1
Yes
No
If the PLL stops, it restarts automatically. However,
VSTP <-- 0
for PLL restart, the software needs a stabilization
wait time of 300 s or more.
WAIT 300 s
The output tap from the PLL is switched to 33 MHz.
The clock is switched from the divided-by-2 system
to the PLL system.

Advertisement

Table of Contents
loading

Table of Contents