Pll Operation Start / Stop / Switching Procedure; Fc Setup (Pll Stop >>> Pll Start); Fc Setup (Conduct Pll >>> Pll Stop) - Toshiba TXZ+ TMPM4KLFYAUG Reference Manual

32-bit risc microcontroller
Table of Contents

Advertisement

1.2.5.4. PLL operation start / stop / switching procedure

(1) fc setup (PLL stop >>> PLL start)
As an fc setup, the example of switching procedure from the PLL stop state to the PLL operation state is as
follows.
<< The state before switching >>
[CGPLL0SEL]<PLL0ON> =0
[CGPLL0SEL]<PLL0SEL> =0
[CGPLL0SEL]<PLL0ST> =0
[CGSYSCR]<MCKSEL> =00
<< The example of switching procedure >>
[CGSYSCR]<MCKSEL[1:0]> = 01 or
1
1*
[CGSYSCR] <MCKSELGST>
2
<MCKSELPST> is read
3
[CGPLL0SEL]<PLL0SET[23:0]> =0xX A PLL multiplication value setup is chosen.
4
Wait 100 µs or more.
5
[CGPLL0SEL]<PLL0ON> =1
6
Wait 400 µs or more.
7
[CGPLL0SEL]<PLL0SEL> =1
8
[CGPLL0SEL]<PLL0ST> is read
Note1: 1 and 2 are executed when the ratio of the system clock should be changed.
Note2: 3 to 6 are unnecessary when the state before switching is [CGPLL0SEL]<PLL0ON> = 1.
When changing from the state where the PLL output clock is stable, it can be changed to the PLL
operation state by execution of only 7 and 8.
(2) fc setup (conduct PLL >>> PLL stop)
As an fc setup, the example of switching procedure from the PLL operation state to a PLL stop state is as follows.
<< The state before switching >>
[CGPLL0SEL]<PLL0ON> =1
[CGPLL0SEL]<PLL0SEL> =1
[CGPLL0SEL]<PLL0ST> =1
<< The example of switching sequence >>
1
[CGPLL0SEL]<PLL0SEL> =0
2
[CGPLL0SEL]<PLL0ST> is read
3
[CGPLL0SEL]<PLL0ON> =0
Stops the PLL operation for fsys.
Selects the setting of the PLL for fsys to "PLL is unused (fosc)".
Indicates the status of the PLL for fsys to "PLL is unused (fosc)".
Ratios of (High speed system clock vs Middle speed system clock) and
(High speed prescaler clock vs Middle speed system clock) are 1:1.
Ratios of (High speed system clock vs Middle speed system clock) and
(High speed prescaler clock vs High speed system clock) are changed.
Wait until they become the values set at Step 1.
Latency time after a multiplication setup
PLL operation for fsys is carried out to an oscillation.
PLL output clock stable latency time
PLL selection for fsys is carried out to PLL use (f
It waits until the PLL selection status for fsys becomes PLL use (f
Sets the PLL for fsys to oscillate.
Selects the PLL for fsys to "PLL is used (f
Indicates the status of the PLL for fsys to "PLL is used (f
Selects the PLL for fsys to "PLL is unused (fosc)".
Waits until the status of the PLL for fsys becomes "PLL is unused (fosc)
(=0)".
Sets the PLL operation for fsys to stop.
17 / 68
TMPM4K Group(2)
Clock Control and Operation Mode
).
PLL
)".
PLL
)".
PLL
TXZ+ Family
) (=1).
PLL
2023-12-25
Rev. 3.0

Advertisement

Table of Contents
loading

Table of Contents