Document
HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS82512 GMS82516 GMS82524
User’s Manual (Ver. 1.00)
MicroElectronics
Semiconductor Group of Hyundai Electronics Industrial Co., Ltd.
Version 1.00 Published by MCU Application Team ©2000 HYUNDAI MicroElectronics All right reserved.
Additional information of this manual may be served by HYUNDAI MicroElectronics offices in Korea or Distributors and Representatives listed at address directory. HYUNDAI MicroElectronics reserves the right to make changes to any information here in at any time without notice. The information, diagrams and other data in this manual are correct and reliable; however, HYUNDAI Micro Electronics is in no way responsible for any violations of patents or other rights of the third party generated by the use of this manual.
HYUNDAI MicroElectronics
GMS82512/16/24
Table of Contents
1. OVERVIEW ...........................................1
Description .........................................................1 Features .............................................................1 Development Tools ............................................2 Ordering Information ..........................................2
12. ANALOG DIGITAL CONVERTER ....43 13. BUZZER FUNCTION ........................45 14. INTERRUPTS ...................................47
Interrupt Sequence .......................................... 49 BRK Interrupt .................................................. 50 Multi Interrupt .................................................. 51 External Interrupt ............................................. 51
2. BLOCK DIAGRAM ................................3 3. PIN ASSIGNMENT ...............................4 4. PACKAGE DIAGRAM .............................. 5 5. PIN FUNCTION .....................................6 6. PORT STRUCTURES ...........................8 7. ELECTRICAL CHARACTERISTICS ...10
Absolute Maximum Ratings .............................10 Recommended Operating Conditions ..............10 A/D Converter Characteristics .........................10 DC Electrical Characteristics ...........................11 AC Characteristics ...........................................12 Typical Characteristic Curves ..........................13
15. WATCHDOG TIMER ........................54 16. POWER DOWN OPERATION ..........56
STOP Mode .................................................... 56 Minimizing Current Consumption .................... 57
17. OSCILLATOR CIRCUIT ....................59 18. RESET ..............................................60
External Reset Input ........................................ 60 Watchdog Timer Reset ................................... 60
19. POWER FAIL PROCESSOR ............61 20. OTP PROGRAMMING ......................63
How to Program .............................................. 63 Pin Function .................................................... 63 Programming Specification ............................. 65
8. MEMORY ORGANIZATION ................15
Registers ..........................................................15 Program Memory .............................................18 Data Memory ...................................................21 Addressing Mode .............................................24
A. CONTROL REGISTER LIST ................. i B. SOFTWARE EXAMPLE ....................... ii
7-segment LED display .....................................ii
9. I/O PORTS ..........................................28 10. BASIC INTERVAL TIMER .................31 11. TIMER/EVENT COUNTER ...............33
8-bit Timer / Counter Mode ..............................35 16-bit Timer / Counter Mode ............................39 8-bit Capture Mode ..........................................40 16-bit Capture Mode ........................................41
C. INSTRUCTION ................................... vii
Terminology List ............................................... vii Instruction Map ................................................ viii Alphabetic order table of instruction ..................ix Instruction Table by Function .......................... xiv
D. MASK ORDER SHEET ......................... xx
FEB. 2000 Ver 1.00
1
HYUNDAI MicroElectronics
GMS82512/16/24
GMS82512/16/24
CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER WITH A/D CONVERTER
1. OVERVIEW
1.1 Description
The GMS82512/16/24 are advanced CMOS 8-bit microcontrollers with 12K/16K/24K bytes of ROM. The device is one of GMS800 family. This device using the GMS800 family CPU includes several peripheral functions such as Timer, A/D converter, Programmable buzzer driver, etc. The RAM, ROM, and I/O are placed on the same memory map in addition to simple instruction set.
Device name GMS82512 GMS82516 GMS82524
ROM Size 12K bytes 16K bytes 24K bytes
RAM Size 448 bytes 448 bytes 448 bytes
OTP GMS82524T GMS82524T GMS82524T
Package
42SDIP, 44QFP
1.2 Features
• 12K/16K/24K Bytes On-chip Program Memory • 448 Bytes of On-chip Data RAM .