MG87FE/L2051 MEGAWIN [Megawin Technology Co., Ltd], MG87FE/L2051 Datasheet - Page 42

no-image

MG87FE/L2051

Manufacturer Part Number
MG87FE/L2051
Description
8-bits microcontroll
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet
Bit 7: OSCDR, OSC Driving control Register. Default value is load from OR1.b4 inverted value. And it could be
0: The driving of crystal oscillator is enough for oscillation up to 48MHz.
1: The driving of crystal oscillator is reduced. It will helpful in EMI reduction. Regarding application not needing
Bit 6: EN6TR, Enable 6T mode control register. Default value is load from OR1.b0 inverted value. And it could be
0: MG87FE/L2051/4051/6051 will run in 12T mode.
1: MG87FE/L2051/4051/6051 will run in 6T mode.
Bit 5~0: This is set the crystal frequency value to define the time base of ISP/IAP programming. Fill with a proper
value according to OSCin, as listed below.
[XCKS5~XCKS0] = OSCin – 1, where OSCin=1~48 (MHz) in 12T mode.
[XCKS5~XCKS0] = OSCinX2 – 1, where OSCin=0.5~24 (MHz) in 6T mode.
For a 12T examples,
(1) If OSCin=12MHz, then fill [XCKS4~XCKS0] with 11, i.e., 001011B.
(2) If OSCin=6MHz, then fill [XCKS4~XCKS0] with 5, i.e., 000101B.
The default value of XCKS= 6’b001010 for OSCin= 11MHz at 12T mode.
CKCON3: Clock Control Register 3
Address=8FH, read/write, por+RESET=xxxx-xx0x
Bit 7~2: Reserved.
Bit 1: PWDEX, Power-down Exit Mode.
0: wake up from Power-down is internally timed.
1: wake up from Power-down is externally controlled.
Bit 0: EN6TR, Enable 6T mode control register. Default value is load from OR1.b0 inverted value. And it could be
0: MG87FE/L2051/4051/6051 will run in 12T mode.
1: MG87FE/L2051/4051/6051 will run in 6T mode.
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
42/56
high frequency clock, it is recommended to do so.
7
-
read/written by CPU.
read/written by CPU.
get same control function.
read/written by CPU. The access on this bit will affect CKCON2.EN6TR to corresponding operation and
get same control function.
MEGAWIN
MAKE YOU WIN
6
-
OSCin @ 12T
45MHz
46MHz
47MHz
48MHz
1MHz
2MHz
3MHz
4MHz
……
The access on this bit will affect CKCON3.EN6TR to corresponding operation and
5
-
4
-
OSCin @ 6T
22.5MHz
23.5MHz
0.5MHz
1.5MHz
23MHz
24MHz
1MHz
2MHz
……
3
-
MG87FE/L2051/4051/6051
2
-
XCKS Setting
PWDEX
6’b000000
6’b000001
6’b000010
6’b000011
6’b101100
6’b101101
6’b101110
6’b101111
1
……
Preliminary, v 1.03
EN6TR
0

Related parts for MG87FE/L2051