![Toshiba TMP91C824F Data Book Download Page 25](http://html.mh-extra.com/html/toshiba/tmp91c824f/tmp91c824f_data-book_428625025.webp)
TMP91C824
91C824-22
3.3.4
Prescaler clock controller
For the internal I/O (TMRA01 to 23, SIO0 to 1) there is a prescaler which can divide the clock.
The
φ
T0 clock input to the prescaler is either the clock f
FPH
divided by 4 or the clock fc/16 divided by
4. The setting of the SYSCR0 <PRCK0 to PRCK1> register determines which clock signal is input.
3.3.5
Clock doubler (DFM)
DFM outputs the f
DFM
clock signal, which is four times as fast as f
OSCH
. It can use the low-frequency
oscillator, even though the internal clock is high-frequency.
A Reset initializes DFM to Stop status, setting to DFMCR0-register is needed before use.
Like an oscillator, this circuit requires time to stabilize. This is called the lock-up time.
The following example shows how DFM is used.
DFMCR0
EQU
00E8H
DFMCR1
EQU
00E9H
LD
(DFMCR1),00001011B
DFM parameter setting
LD
(DFMCR0), 01X0XXXXB
;
Set lock-up time to 2
12
/4 MHz
Enables DFM operation and starts lock-up
.
LUP:
BIT
5, (DFMCR0)
;
JR
NZ, LUP
;
Detects end of lock-up
LD
(DFMCR0), 10X0XXXXB
;
Changes fc from 4 MHz to 16 MHz.
X: Don't care
10
01
Counts up by f
OSCH
During lock-up
ACT1:0
DFM output: f
DFM
Lockup timer
<DLUPFG>
System clock f
SYS
Starts DFM operation.
Starts lock-up.
Ends of lock-up
Changes from 4 MHz to 16 MHz.
After lock-up
(note) Input frequency limitation and correction for DFM
Recommend to use Input frequency(High speed oscillation) for DFM in the following condition.
f
OSCH
= 4 ~ 6.75MHz (Vcc = 2.7~ 3.6V) : write 0BH to DFMCR1
f
OSCH
= 2 ~ 2.5MHz (Vcc = 2.0V ±10%) : write 1BH to DFMCR1