Fujitsu MB91F109 FR30 Hardware Manual page 130

Fr30 series 32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 3 CLOCK GENERATOR AND CONTROLLER
[Example]
DOUBLER-OFF
Code as follows to use the PLL clock after the clock doubler function is disabled:
[Example]
DOUBLER-OFF
Note on Enabling or Disabling the Clock Doubler Function
Enabling or disabling the clock doubler function may cause a dead cycle in the internal clock. A
dead cycle appears as an error if it occurs during time measurement by a timer or UART
transfer.
Operating Frequency Combinations Depending on whether the Clock Doubler Function is Enabled or
Disabled
Table 3.14.1 lists the operating frequencies of this device that are applicable depending on the
combination of settings in the GCR register and the SLCT1 and SLCT0 bits of the PCTR
106
LDI:20
#GCR,R0
BORL
#0001B,@R0
BANDH
#1110B,@R0
LDI:20
#GCR,R0
BORL
#0001B,@R0
BANDH
#1110B,@R0
LDI:20
#PCTR,R1
LDI:8
#01000000B,R2
STB
R2,@R1
BANDL
#1110,@R0
; Switches to the divide-by-two clock
(CHC = 1)
; Disables the clock doubler function
(DBLON = 0)
; Switches to the divide-by-two clock
(CHC = 1)
; Disables the clock doubler function
(DBLON = 0)
; PLL=25 MHz
; Switches to the PLL clock (CHC = 0)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91f109

Table of Contents