Setup Example Of Internal Clock - Panasonic MN103S User Manual

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

Chapter 4
Bus Controller
When the CPU clock (MCLK) is 40 MHz or over, change an access to the internal ROM to 3
cycle access (ROMMC[1:0]=10) by the internal ROM access control register (ROMCTR)
before the PLLSEL flag of the PLL control register (PCNT) is switched "0" to "1".
..
The operation that is set to 2 cycle access is not guranteed.
..
4.2.3

Setup Example of Internal Clock

The frequency of the internal clock (MCLK and IOCLK) is determined by setting the PLL control register and the
clock control register.
The following table shows the setting sequence when the oscillator of 10 MHz is connected and operated with 6
multiple by PLL.
Operation clock
System clock
(MCLK)
Peripheral clock
(IOCLK)
(1) Set the multiplication ratio
PCNT (0x0000AFF2)
bp5: PLLSEL=0
bp3: PLLON=0
bp1: CKSEL1=0
bp0: CKSEL0=1
(2) Wait PLL lock time
over 200 µs
(3) Select PLL output
PCNT (0x0000AFF2)
bp5: PLLSEL=1
bp3: PLLON=0
bp1: CKSEL1=0
bp0: CKSEL0=1
(4) Set the frequency of MCLK and IOCLK
CKCTR (0x00008280)
bp5: IOCLK1=1
bp3: IOCLK0=1
bp1: MCK1=1
bp0: MCK0=1
IV - 6
Operation
After reset is released
1/2 of oscillation frequency (5 MHz)
1/4 of oscillation frequency (2.5 MHz)
Setup Procedure
Internal clock
6 multiplication of oscillation frequency (60 MHz)
3 multiplication of oscillation frequency (30 MHz)
(1) Set the PLL multiplication ratio to 6 by the CKSEL 1 and
CKSEL0 of the PLL control register (PCNT).
Note: Set the frequency ( oscillation frequceny
multiplication ratio) to 40MHz≤PLLOUT≤60MHz
µ
(2) Wait 200
s by the execution of the loop program etc.
(3) Set the PLLSEL of the PLL control register (PCNT) to "1"
to select the PLL output to the internal clock.
Note: Do not change the values of PLLON, CKSEL1
and CKSEL0.
(4) Set the cycle division of MCLK and IOCLK. This setting
is not necessary when MCLK=PLLOUT and IOCLK=1/
2PLLOUT.
After the setting
Description
×

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents