Toshiba H1 Series User Manual
Page 33

TMP92CZ26A
92CZ26A-30
Limitation point on the use of PLL0
1. If you stop PLL operation during using PLL0, you should execute following setting in
the same order.
LD
(PLLCR0),X0XXXXXXB
;
Change the clock f
PLL
to f
OSCH
LD
(PLLCR1),0XXXXXXXB
;
Stop
PLL0
X: Don't care
2. If you shift to STOP mode during using PLL, you should execute following setting in the
same order.
LD
(SYSCR2),
XXXX01XXB ;
Set the STOP mode
LD
(PLLCR0),
X0XXXXXXB
;
Change the system clock f
PLL
to f
OSCH
LD
(PLLCR1),
0XXXXXXXB
;
Stop
PLL0
HALT
;
Shift to STOP mode
X: Don't care
Examples of settings are below;
(1) Start Up / Change Control
(OK) High frequency oscillator operation mode(f
OSCH
) PLL0 start up
PLL0 use mode (f
PLL
)
LD
(PLLCR1), 1XXXXXXXB
;
PLL0 start up / lock up start
LUP: BIT
5,(PLLCR0)
;
JR
Z,LUP
;
Check for the flag of lock up end
LD
(PLLCR0), X1XXXXXXB
;
Change the system clock fOSCH to fPLL
X: Don't care
(2) Change / Stop Control
(OK)
PLL0 use mode (f
PLL
) High frequency oscillator operation mode(f
OSCH
)
PLL0 Stop
LD
(PLLCR0),X0XXXXXXB
;
Change the system clock fPLL to fOSCH
LD
(PLLCR1),0XXXXXXXB
;
Stop PLL0
X: Don't care
(OK) PLL0 use mode (f
PLL
) Set the STOP mode
High frequency oscillator operation mode (f
OSCH
) PLL stop
HALT(High frequency oscillator stop)
LD
(SYSCR2),XXXX01XXB
;
Set the STOP mode
(This command can be executed before use of PLL0)
LD
(PLLCR0),X0XXXXXXB
;
Change the system clock f
PLL
to f
OSCH
LD
(PLLCR1),0XXXXXXXB
;
Stop PLL0
HALT
;
Shift to STOP mode
X: Don't care
(NG) PLL0 use mode (f
PLL
) Set the STOP mode
HALT(High frequency oscillator stop)
LD
(SYSCR2),XXXX01XXB
;
Set the STOP mode
(This command can be executed before use of PLL0)
HALT
;
Shift to STOP mode
X: Don't care