mg84fl54b Megawin Technology, mg84fl54b Datasheet - Page 80
mg84fl54b
Manufacturer Part Number
mg84fl54b
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MG84FL54B.pdf
(94 pages)
- Current page: 80 of 94
- Download datasheet (2Mb)
22. System Clock
22.1. Programmable System Clock
The system clock (or CPU clock) of the device is programmable and source-selectable. The user can program
the system clock frequency by bits CKS2~CKS0 (CKCON.2 ~ CKCON.0) and select the clock source by bit
CK_SEL (CKCON2.0). The block diagram of system clock is shown below.
Block Diagram of System Clock
Note:In the Power down mode, the XTAL oscillating circuit will stop.
CKCON (Address=C7H, Clock Control Register)
XCKS4~XCKS0 (or XCKS[4:0]): Filled with a proper value according to OSCin, as listed below.
[XCKS4~XCKS0] = OSCin – 1, where OSCin=1~32 (MHz).
For examples,
(1) If OSCin=12MHz, then fill [XCKS4~XCKS0] with 11, i.e., 01011B.
(2) If OSCin=6MHz, then fill [XCKS4~XCKS0] with 5, i.e., 00101B.
CKS2~CKS0: System clock divider select bits, as follows.
CKS2 CKS1 CKS0
80
XCKS4
0
0
0
0
1
1
1
1
7
0
0
1
1
0
0
1
1
PLL_CV
XTAL1
XTAL2
XCKS3
0
1
0
1
0
1
0
1
6
Oscillating
Circuit
EN_PLL
XCKS2
Fosc (System Clock)
5
CLKin
CLKin /2
CLKin /4
CLKin /8
CLKin /16
CLKin /32
CLKin /64
CLKin /128
XCKS[4:0]
PLL
XCKS1
MG84FL54B Data Sheet
default
4
CK_SEL
48MHz
XCKS0
3
CKS[2:0]
To USB Logic
CKS2
2
CKS1
1
CKS0
0
MEGAWIN
Related parts for mg84fl54b
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8 Bit Micro-Controller with Voice Synthesizer and Melody
Manufacturer:
Megawin Technology Co., Ltd.
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
1-channel 350v, 50ma/80ma Constant Current Dc Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Universal Pwm Type Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8 Bits Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
A Single-chip Microcontroller Based On A High Performance 1-t Architecture 80c51
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet: