mg84fl54 Megawin Technology, mg84fl54 Datasheet - Page 3

no-image

mg84fl54

Manufacturer Part Number
mg84fl54
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
Features.............................................................................................................. 1
1. General Description ...................................................................................... 6
2. Block Diagram .............................................................................................. 7
3. Pin Configurations ........................................................................................ 8
4. Hardware Option......................................................................................... 11
5. Memory Organization.................................................................................. 13
6. Special Function Registers (SFRs)............................................................. 17
7. System Clock .............................................................................................. 22
8. Reset Sources ............................................................................................ 24
9. Dual Data Pointer Register (DPTR) ............................................................ 26
10. Configurable I/O Ports ................................................................................ 27
11. Three 16-bit Timers..................................................................................... 31
12. Serial Port (UART) ...................................................................................... 40
MEGAWIN
3.1. Pin-out for 48-pin Package ......................................................................................8
3.2. Pin Description.........................................................................................................9
5.1. Program Memory ................................................................................................... 13
5.2. Data Memory .........................................................................................................14
5.3. On-chip expanded RAM (XRAM)...........................................................................15
5.4. Declaration Identifiers in a C51-Compiler .............................................................. 15
6.1. SFR Mapping.........................................................................................................17
6.2. The Standard 8051 SFRs ...................................................................................... 18
6.3. The Auxiliary SFRs ................................................................................................ 20
7.1. Programmable System Clock ................................................................................ 22
7.2. On-chip XTAL Oscillating Driving Control .............................................................. 22
7.3. Clock Register ....................................................................................................... 22
8.1. External Reset .......................................................................................................24
8.2. Power-on Reset .....................................................................................................24
8.3. Watchdog Timer Reset ..........................................................................................24
8.4. Software Reset ......................................................................................................25
10.1. Port Configurations ................................................................................................27
10.2. Maximum Ratings for Port Outputs........................................................................ 29
10.3. Port Register.......................................................................................................... 29
11.1. Timer 0 and Timer 1 ..............................................................................................31
11.2. Timer 2 ..................................................................................................................35
6.2.1.
10.1.1. Quasi-bidirectional.................................................................................................. 27
10.1.2. Open-Drain Output ................................................................................................. 28
10.1.3. Input-Only (Hi-Z)..................................................................................................... 28
10.1.4. Push-Pull Output .................................................................................................... 28
11.1.1. Mode 0: 13-bit Counter........................................................................................... 31
11.1.2. Mode 1: 16-bit Counter........................................................................................... 32
11.1.3. Mode 2: 8-bit Auto-reload ....................................................................................... 32
11.1.4. Mode 3: Timer 0 as Two 8-bit Counter ................................................................... 33
11.1.5. Programmable Clock Output from Timer 0 ............................................................. 33
11.1.6. Timer 0/1 Register .................................................................................................. 33
11.2.1. Capture Mode (CP) ................................................................................................ 35
11.2.2. Auto-Reload Mode (AR) ......................................................................................... 36
11.2.3. Baud-Rate Generator Mode (BRG) ........................................................................ 37
11.2.4. Programmable Clock Output from Timer 2 ............................................................. 38
11.2.5. Timer 2 Register ..................................................................................................... 38
C51 Core Registers ................................................................................................ 18
MG84FL54B Data sheet
Index
3

Related parts for mg84fl54