Hynix Semiconductor GMS82512 Series User manual

HYNIX SEMICONDUCTOR
8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81508B GMS82512
GMS81516B GMS82516
GMS81524B GMS81524
User’s Manual (Ver. 2.0)
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

Version 2.0
Published by
MCU Application Team
2001
20012001
2001 Hynix Semiconductor Inc. All right reserved.
Additional information of this manual may be served by Hynix Semiconductor offices in Korea or Distributors and Repre-
sentatives listed at address directory.
Hynix Semiconductor 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, Hynix Semiconductor is in no
way responsible for any violations of patents or other rights of the third party generated by the use of this manual.
Revision History
Ver 2.0 (this manual) May, 01, 2001
The manuals of GMS81508B/16B/24B and GMS82512/16/24 are integrated.
Choice-Gang4 writer(for PC) is replaced with Choice-Gang4(for stand alone).
Ver 1.05 (before manual) Sep., 20, 2000
Choice-Dr writer is omitted on the page 76 because it is not available any longer.
For the Hynix MCU on the ALL-07, writer program is only available from Hynix sales part. Please ask to Hynix
sales. Hi-Lo systems does not support the software of ALL-07 in their web site currently.
Ver 1.04 (before version) Dec., 1999
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 1
Table of Contents
1. OVERVIEW ...........................................1
Description .........................................................1
Features .............................................................1
Development Tools ............................................2
Ordering Information
2. BLOCK DIAGRAM ................................3
3. PIN ASSIGNMENT ...............................5
4. PACKAGE DIAGRAM ...........................8
5. PIN FUNCTION ...................................11
6. PORT STRUCTURES .........................13
7. ELECTRICAL CHARACTERISTICS ...15
Absolute Maximum Ratings .............................15
Recommended Operating Conditions ..............15
A/D Converter Characteristics .........................15
DC Electrical Characteristics ...........................16
AC Characteristics ...........................................17
Serial Interface Timing Characteristics ............18
Typical Characteristic Curves ..........................19
8. MEMORY ORGANIZATION ................21
Registers ..........................................................21
Program Memory .............................................24
Data Memory ...................................................27
Addressing Mode .............................................30
9. I/O PORTS ..........................................34
10. BASIC INTERVAL TIMER .................37
11. TIMER/EVENT COUNTER ...............39
8-bit Timer / Counter Mode ..............................41
16-bit Timer / Counter Mode ............................45
8-bit Capture Mode ..........................................46
16-bit Capture Mode ........................................47
12. ANALOG DIGITAL CONVERTER .....49
13. SERIAL COMMUNICATION .............51
Transmission/Receiving Timing .......................53
The Serial I/O operation by SRDY pin ............ 53
The method of Serial I/O ................................. 54
The Method to Test Correct Transmission ...... 54
14. PWM OUTPUT .................................55
15. BUZZER FUNCTION ........................58
16. INTERRUPTS ...................................60
Interrupt Sequence .......................................... 62
BRK Interrupt .................................................. 63
Multi Interrupt .................................................. 64
External Interrupt ............................................. 64
17. WATCHDOG TIMER ........................67
18. POWER DOWN OPERATION ..........69
STOP Mode .................................................... 69
Minimizing Current Consumption .................... 70
19. OSCILLATOR CIRCUIT ....................72
20. RESET ..............................................73
External Reset Input ........................................ 73
Watchdog Timer Reset ................................... 73
21. POWER FAIL PROCESSOR ............74
22. OTP PROGRAMMING ......................76
How to Program .............................................. 76
Pin Function .................................................... 76
Programming Specification ............................. 80
A. CONTROL REGISTER LIST .................i
B. SOFTWARE EXAMPLE ...................... iii
7-segment LED display ....................................iii
C. INSTRUCTION ...................................viii
Terminology List ..............................................viii
Instruction Map ..................................................ix
Alphabetic order table of instruction ...................x
Instruction Table by Function ...........................xv
D. MASK ORDER SHEET ........................xxi
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 1
GMS81508B/16B/24B
GMS82512/16/24
CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
WITH A/D CONVERTER
1. OVERVIEW
1.1 Description
The GMS81508B/16B/24B are advanced CMOS 8-bit microcontrollers with 8K/16K/24K bytes of ROM and 64pin package.
And the GMS82512/16/24 are the same except for 12K/16K/24K bytes of ROM and 42pin package. The GMS825xx is a
cut-down product of GMS815xxB microcontroller, that is, the function and package are reduced. These are powerful micro-
controllers which provide a highly flexible and cost effective solution to many general application. These includes several
peripheral functions such as Timer, A/D converter, Programmable buzzer driver, Serial I/O communication(GMS815xxB
only), Pulse Width Modulation function( GMS815xxB only), etc. The RAM, ROM, and I/O are placed on the same memory
map in addition to simple instruction set. Also, they support power saving mode to reduce power consumption.
The GMS815xxB is functionally 100% compatible with earier GMS81508/16 or GMS81508A/16A, and has better charac-
teristics such as strong EMS, wide operating voltage, temperature, frequency and fast programming time for the OTP.
1.2 Features
• 8K/16K/24K Bytes On-chip Program ROM
(12K/16K/24K Bytes in GMS825xx)
• 448 Bytes of On-chip Data RAM
(Included stack memory)
• Minimum Instruction Execution Time
0.5µ
µµ
µs at 8MHz
• One 8-bit Basic Interval Timer
• Four 8-bit Timer/Event counter
or Two 16-bit Timer/Event counter
• One 6-bit Watchdog timer
• Eight channel 8-bit A/D converter
(Four channel in GMS825xx)
• Two channel 8-bit PWM
(Not support in GMS825xx)
• One 8-bit Serial Communication Interface
(Not support in GMS825xx)
• Four External Interrupt input ports
• Buzzer Driving port
- 500Hz ~ 250kHz@8MHz
• 52 I/O Ports, 4 Input Ports
(35 I/O ports in GMS825xx)
• Twelve Interrupt sources
- Basic Interval Timer: 1
- External input: 4
- Timer/Event counter: 4
- ADC: 1
- Serial Interface: 1(Not support in GMS825xx)
- WDT: 1
• Built in Noise Immunity Circuit
Device name ROM Size RAM Size I/O OTP Package
GMS81508B 8K bytes 448 bytes 52 I/O, 4Input GMS81516BT 64SDIP,64MQFP,
64LQFP
GMS81516B 16K bytes 448 bytes 52 I/O, 4Input GMS81516BT
GMS81524B 24K bytes 448 bytes 52 I/O, 4Input GMS81524BT
GMS82512 12K bytes 448 bytes 35 I/O GMS82524T
42SDIP, 44MQFP
GMS82516 16K bytes 448 bytes 35 I/O GMS82524T
GMS82524 24K bytes 448 bytes 35 I/O GMS82524T
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
2 MAY. 2001 Ver 2.0
- Noise filter
- Power fail processor
• Power Down Mode
- STOP mode
• 2.2V to 5.5V Wide Operating Range
• 1~10MHz Wide Operating Frequency
• 64SDIP, 64MQFP, 64LQFP package types
(42SDIP,44MQFP in GMS825xx)
• Available 16K, 24K bytes OTP version
(Available 24K bytes in GMS825xx)
1.3 Development Tools
The GMS815xxB and GMS825xx are supported by a full-
featured macro assembler, an in-circuit emulator
CHOICE-Dr.TM and OTP programmers. There are two
different type programmers such as single type, gang
type(Stand-alone gang4). For more detail, Refer to “22.
OTP PROGRAMMING” on page 76. Macro assembler
operates under the MS-Windows 95/98TM.
Please contact sales part of Hynix Semiconductor.
1.4 Ordering Information
Device name ROM Size RAM size Package
Mask version
GMS81508B K
GMS81508B Q
GMS81508B LQ
GMS81516B K
GMS81516B Q
GMS81516B LQ
GMS81524B K
GMS81524B Q
GMS81524B LQ
GMS82512 K
GMS82512 Q
GMS82516 K
GMS82516 Q
GMS82524 K
GMS82524 Q
8K bytes
8K bytes
8K bytes
16K bytes
16K bytes
16K bytes
24K bytes
24K bytes
24K bytes
12K bytes
12K bytes
16K bytes
16K bytes
24K bytes
24K bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
64SDIP
64MQFP
64LQFP
64SDIP
64MQFP
64LQFP
64SDIP
64MQFP
64LQFP
42SDIP
44MQFP
42SDIP
44MQFP
42SDIP
44MQFP
OTP version
GMS81516BT K
GMS81516BT Q
GMS81516BT LQ
GMS81524BT K
GMS81524BT Q
GMS81524BT LQ
GMS82524 K
GMS82524 Q
16K bytes OTP
16K bytes OTP
16K bytes OTP
24K bytes OTP
24K bytes OTP
24K bytes OTP
24K bytes
24K bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
448 bytes
64SDIP
64MQFP
64LQFP
64SDIP
64MQFP
64LQFP
42SDIP
44MQFP
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 3
2. BLOCK DIAGRAM
2.1 GMS81508B/GMS81516B/GMS81524B(64 pin package)
ALU A
Interrupt Controller
Data Memory
8-bit
ADC
8-bit
Counter
Timer/
Program
Memory
Data Table
PC
8-bit Basic
Timer
Interval
Watchdog
Timer
PC
R4 R5
R2
PSW
System controller
Timing generator
System
Clock Controller
ClockGenerator
RESET
TEST
XIN
XOUT
R40 / INT0
R41 / INT1
R42 / INT2
R43 / INT3
R44 / EC0
R45 / EC2
R46 / T1O
R47 / T3O
R50 / SIN
R20~R27
VDD
VSS
Power
Supply
8-bit serial
R51 / SOUT
R52 / SCLK
R53 / SRDY
R54 / WDTO
R55 / BUZ
R56 / PWM0
R57 / PWM1
R1
R10~R17
R0
R00~R07
R3
R30~R37
Interface
Buzzer
Driver R6
R60 / AN0
R61 / AN1
R62 / AN2
R63 / AN3
R64 / AN4
R65 / AN5
R66 / AN6
R67 / AN7
(448 bytes)
8-bit PWM
AVDD
AVSS
ADC Power
Supply
Stack Pointer
X Y
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
4 MAY. 2001 Ver 2.0
2.2 GMS82512/GMS82516/GMS82524(42 pin package)
ALU A
Interrupt Controller
Data Memory
8-bit
ADC
8-bit
Counter
Timer/
Program
Memory
Data Table
PC
8-bit Basic
Timer
Interval
Watchdog
Timer
PC
R4 R5
R0
PSW
System controller
Timing generator
System
Clock Controller
ClockGenerator
RESET
TEST
XIN
XOUT
R40 / INT0
R41 / INT1
R42 / INT2
R43 / INT3
R44 / EC0
R00~R07
VDD
VSS
Power
Supply
R54 / WDTO
R55 / BUZ
R2
R20~R27
Buzzer
Driver R6
R64 / AN4
R65 / AN5
R66 / AN6
R67 / AN7
(448 bytes)
AVDD
ADC Power
Supply
Stack Pointer
X Y
R3
R30~R37
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 5
3. PIN ASSIGNMENT
3.1 GMS81508B/GMS81516B/GMS81524B(64 pin package)
VDD
TEST
AVSS
AVDD
R67
R66
R65
R64
R63
R62
R61
R60
R57
R56
R55
R54
AN7
AN6
AN5
AN4
AN3
AN2
AN1
AN0
PWM1
PWM0
BUZ
WDTO R53
R52
R51
R50
R47
R46
R45
R44
R43
R42
R41
R40
RESET
XIN
XOUT
VSS
SRDY
SCLK
SOUT
SIN
T3O
T1O
EC2
EC0
INT3
INT2
INT1
INT0
R30
R31
R32
R33
R34
R35
R36
R37
R00
R01
R02
R03
R04
R05
R06
R07
R10
R11
R12
R13
R14
R15
R16
R17
R20
R21
R22
R23
R24
R25
R26
R27
R66
R36
R35
R34
R33
R32
R31
R30
VDD
TEST
AVSS
AVDD
R67
AN6
AN7 R42
R22
R23
R24
R25
R26
R27
VSS
XOUT
XIN
RESET
R40
R41 INT2
INT0
INT1
R37
R01
R02
R03
R04
R05
R06
R07
R10
R11
R12
R13
R14
R15
R16
R17
R00
R20
R21
R65
R63
R62
R61
R60
R57
R56
R55
R54
R53
R52
R51
R50
R47
R46
R45
R64
R44
R43
AN5
AN3
AN2
AN1
AN0
PWM1
PWM0
BUZ
WDTO
SRDY
SCLK
SOUT
SIN
T3O
T1O
EC2
AN4
EC0
INT3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
51
50
49
32
31
30
29
28
27
26
25
24
23
22
21
20
52
53
54
55
56
57
58
59
60
61
62
63
64
64MQFP
64SDIP 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
GMS81508B/16B/24B
GMS81508B/16B/24B
(Top View)
(Top View)
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
6 MAY. 2001 Ver 2.0
R20
R21
R22
R23
R24
R25
R26
R27
VSS
XOUT
XIN
RESET
R40
R41
R42
R43
R00
R01
R02
R03
R04
R05
R06
R07
R10
R11
R12
R13
R14
R15
R16
R17
R63
R62
R61
R60
R57
R56
R55
R54
R53
R52
R51
R50
R47
R46
R45
R44
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
R37
R36
R35
R34
R33
R32
R31
R30
VDD
TEST
AVSS
AVDD
R67
R66
R65
R64
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
GMS81508B/16B/24B
64LQFP
AN3
AN2
AN1
AN0
PWM1
PWM0
BUZ
WDTO
SRDY
SCLK
SOUT
SIN
T3O
T1O
EC2
EC0
INT2
INT0
INT1
INT3
AN5
AN7
AN6
AN4
(Top View)
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 7
3.2 GMS82512/GMS82516/GMS82524(42 pin package)
R30
VDD
TEST
AVDD
R67
R66
R65
R64
R55
R54
R44
R43
R42
R41
R40
RESET
AN7
AN6
AN5
AN4
BUZ
WDTO
EC0
INT3
INT2
INT1
INT0
XIN
XOUT
VSS
R27
R26
R31
R32
R33
R34
R35
R36
R37
R00
R01
R02
R03
R04
R05
R06
R07
R20
R21
R22
R23
R24
R25
42SDIP 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
GMS82512/16/24
(Top View)
(Top View)
R21
R22
R23
R24
R25
R26
R27
VSS
XOUT
XIN
RESET
R37
R00
R01
R02
R03
R04
R05
R06
R07
N.C.*
R20
R66
R65
R64
N.C.*
R55
R54
R44
R43
R42
R41
R40
1
2
3
4
5
6
7
8
9
10
11
R36
R35
R34
R33
R32
R31
R30
VDD
TEST
AVDD
R67
33
32
31
30
29
28
27
26
25
24
23
17
16
15
14
13
12
34
35
36
37
38
39
40
41
42
43
44
GMS82512/16/24
44MQFP
AN6
AN5
AN4
BUZ
WDTO
EC0
INT3
INT2
INT1
INT0
AN7
18
19
20
21
22
N.C.
*
: No Connection
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
8 MAY. 2001 Ver 2.0
4. PACKAGE DIAGRAM
4.1 GMS81508B/GMS81516B/GMS81524B(64 pin package)
UNIT: INCH
2.280
2.260
0.022
0.016 0.050
0.030 0.070 Typ.
0.140
0.120 min. 0.015
0.680
0.660
0.750 Typ.
0-15°
64SDIP
0.012
0.008
0.205 max.
20.10
19.90
24.15
23.65
18.15
17.65
14.10
13.90
3.18 max.
0.50
0.35 1.00 Typ.
SEE DETAIL “A” 1.03
0.73
0-7°
0.36
0.10
0.23
0.13
1.95
REF
DETAIL “A”
UNIT: MM
64MQFP
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 9
1.60 max.
SEE DETAIL “A”
0.75
0.45
0-7°
0.15
0.05
1.00
REF
DETAIL “A”
UNIT: MM
10.00 Typ.
12.00 Typ.
12.00 Typ.
10.00 Typ.
0.38
0.22 0.50 Typ.
1.45
1.35
64LQFP
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
10 MAY. 2001 Ver 2.0
4.2 GMS82512/GMS82516/GMS82524(42 pin package)
44MQFP
2.35 max.
SEE DETAIL “A”
1.03
0.73
0-7°
0.25
0.10
1.60
Typ.
DETAIL “A”
UNIT: MM
0.45
0.30 0.80 Typ.
2.10
1.95
0.23
0.13
10.10
9.90
13.45
12.95
10.10
9.90
13.45
12.95
UNIT: INCH
1.465
1.455
0.022
0.016 0.045
0.035 0.070 Typ.
0.140
0.120 min. 0.015
0.545
0.535
0.600 Typ.
0-15°
42SDIP
0.012
0.008
0.190 max.
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 11
5. PIN FUNCTION
VDD: Supply voltage.
VSS: Circuit ground.
TEST: Used for Test Mode. For normal operation, it
should be connected to VDD.
RESET: Reset the MCU.
XIN: Input to the inverting oscillator amplifier and input to
the internal main clock operating circuit.
XOUT: Output from the inverting oscillator amplifier.
R00~R07: R0 is an 8-bit CMOS bidirectional I/O port. R0
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R10~R17: R1 is an 8-bit CMOS bidirectional I/O port. R1
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
These pins are NOT served on GMS825xx.
R20~R27: R2 is an 8-bit CMOS bidirectional I/O port. R2
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R30~R37: R3 is an 8-bit CMOS bidirectional I/O port. R3
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R40~R47: R4 is an 8-bit CMOS bidirectional I/O port. R4
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R45, R46, R47 are NOT served on GMS825xx.
In addition, R4 serves the functions of the various follow-
ing special features.
R50~R57: R5 is an 8-bit CMOS bidirectional I/O port. R5
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R50~R53, R56, R57 are NOT served on GMS825xx.
In addition, R5 serves the functions of the various follow-
ing special features.
R60~R67: R6 is an 8-bit CMOS bidirectional I/O port. R6
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R60~R63 are NOT served on GMS825xx.
In addition, R6 is shared with the ADC input.
Note: On the MDS(Choice-Dr, Jr), when the MCU is RE-
SET,R60 cannotbe used digitalinput port. Formoredetail,
refer to "9. I/O PORTS" on page 34.
AVDD: Supply voltage to the ladder resistor of ADC cir-
cuit. To enhance the resolution of analog to digital convert-
er, use independent power source as well as possible, other
than digital power source.
AVSS: ADC circuit ground.
AVSS is NOT served on GMS825xx but it is connected to
VSS internally.
Port pin Alternate function
R40
R41
R42
R43
R44
R45
R46
R47
INT0 (External interrupt 0)
INT1 (External interrupt 1)
INT2 (External interrupt 2)
INT3 (External interrupt 3)
EC0 (Event counter input 0)
EC2 (Event counter input 2)
T1O (Timer/Counter 1 output)
T3O (Timer/Counter 3 output)
Port pin Alternate function
R50
R51
R52
R53
R54
R55
R56
R57
SIN (Serial data input)
SOUT (Serial data output)
SCLK (Serial clock)
SRDY (Serial ready)
WDTO (Watchdog Timer output)
BUZ (Buzzer driver output)
PWM0 (PWM output 0)
PWM1 (PWM output 1)
Port pin Alternate function
R60
R61
R62
R63
R64
R66
R66
R67
AN0 (Analog Input 0)
AN1 (Analog Input 1)
AN2 (Analog Input 2)
AN3 (Analog Input 3)
AN4 (Analog Input 4)
AN5 (Analog Input 5)
AN6 (Analog Input 6)
AN7 (Analog Input 7)
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
12 MAY. 2001 Ver 2.0
*This pins are Not Served on GMS825xx.
1. The parenthesis means alternate function.
PIN NAME In/Out Function
Basic Alternate
VDD - Supply voltage
VSS - Circuit ground
TEST IControls test mode of the chip,
For normal operation, it should be connected at VDD.
RESET I Reset signal input
XIN I Oscillation input
XOUT O Oscillation output
R00~R07 I/O 8-bit general I/O ports
*R10~R17 I/O 8-bit general I/O ports
R20~R27 I/O 8-bit general I/O ports
R30~R37 I/O 8-bit general I/O ports
R40 (INT0) I/O (I)
8-bit general I/O ports
External interrupt 0 input
R41 (INT1) I/O (I) External interrupt 1 input
R42 (INT2) I/O (I) External interrupt 2 input
R43 (INT3) I/O (I) External interrupt 3 input
R44 (EC0) I/O (I) Timer/Counter 0 external input
*R45 (EC2)I/O (I) Timer/Counter 2 external input
*R46 (T1O) I/O (O) Timer/Counter 1 output
*R47 (T3O) I/O (O) Timer/Counter 3 output
*R50 (SIN) I/O (I)
8-bit general I/O ports
Serial data input
*R51 (SOUT) I/O (O) Serial data output
*R52 (SCLK) I/O (I/O) Serial clock I/O
*R53 (SRDY)I/O (I/O) Receive enable I/O
R54 (WDTO) I/O (O) Watchdog timer overflow output
R55 (BUZ) I/O (O) Buzzer driving output
*R56 (PWM0) I/O (O) PWM pulse output
*R57 (PWM1) I/O (O)
*R60~R63 (AN0~AN3) I (I) General input ports Analog voltage input
R64~R67 (AN4~AN7) I/O (I) General I/O ports
*AVSS - Ground level input pin for ADC
AVDD - Supply voltage input pin for ADC
Table 5-1 Port Function Description
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 13
6. PORT STRUCTURES
R00~R07, R10~R17, R20~R27, R30~37
R40/INT0, R41/INT1, R42/INT2, R43/INT3, R44/
EC0, R45/EC2, R50/SIN
R46/T1O, R47/T3O, R51/SOUT, R54/WDTO
R55/BUZ, R56/PWM0, R57/PWM1
R52/SCLK
S53/SRDY
Pin
Data Reg.
Dir.
Rd
VDD
VSS
Reg.
Data Bus
MUX
MUX
Data Bus
VDD
VSS
Pin
Data Reg.
Direction
Reg.
Rd
PMR Selection
Alternate Function
EX) INT0
MUX
Data Bus
VDD
VSS
Pin
Data Reg.
Direction
Reg.
Rd
MUX
Selection
Secondary function
MUX
Data Bus
VDD
VSS
Pin
Data Reg.
Direction
Reg.
Rd
MUX
Selection
SCK Output
MUX
SCK Input
exck
MUX
Data Bus
VDD
VSS
Pin
Data Reg.
Direction
Reg.
Rd
MUX
Selection
SRDY Output
SRDY Input
SRDY
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
14 MAY. 2001 Ver 2.0
R60/AN0 ~ R63/AN3
R64/AN7 ~ R67/AN7
XIN, XOUT
RESET
TEST
VDD
VSS
Rd
To A/D converter
Data bus
Pin
Data Reg.
Dir.
Rd
VDD
VSS
Reg.
Data Bus
MUX
To A/D converter
XIN
VDD
VSS
XOUT VSS
Stop
RESET
VDD
VSS
TEST
VDD
VSS
OTP version: disconnected
Mask version: connected
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 15
7. ELECTRICAL CHARACTERISTICS
7.1 Absolute Maximum Ratings
Supply voltage............................................. -0.3 to +7.0 V
Storage Temperature ..................................-40 to +125 °C
Voltage on any pin with respect to Ground (VSS)
..................................................................-0.3 toVDD+0.3
Maximum current out of VSS pin..........................150 mA
Maximum current into VDD pin ..............................80 mA
Maximum current sunk by (IOL per I/O Pin) ..........20 mA
Maximum output current sourced by (IOH per I/O Pin)
...................................................................................8 mA
Maximum current (ΣIOL)...................................... 100 mA
Maximum current (ΣIOH)........................................ 50 mA
Note: Stresses above those listed under “Absolute Maxi-
mum Ratings” may cause permanent damage to the de-
vice. This is a stress rating only and functional operation of
the device at any other conditions above those indicated in
the operational sections of this specification is not implied.
Exposure to absolute maximum rating conditions for ex-
tended periods may affect device reliability.
7.2 Recommended Operating Conditions
7.3 A/D Converter Characteristics
(TA=25°C, VSS=0V, VDD=AVDD=5.12V@fXIN=8MHz, VDD=AVDD=3.072V@fXIN=4MHz)
Parameter Symbol Condition Specifications Unit
Min. Max.
Supply Voltage VDD
fXIN=1 ~ 10 MHz
fXIN=1 ~ 8 MHz
fXIN=1 ~ 4 MHz
4.5
2.7
2.2
5.5
5.5
5.5 V
Operating Frequency fXIN
VDD=4.5~5.5V
VDD=2.7~5.5V
VDD=2.2~5.5V
1
1
1
10
8
4MHz
Operating Temperature TOPR Normal Version
Temperature Extention Version -20
-40 85
85 °C
Parameter Symbol
Specifications
Unit
Min. Typ.1Max.
fXIN=4MHz fXIN=8MHz
Analog Input Voltage Range VAIN VSS -AVDD AVDD V
Non-linearity Error NNLE -±1.0 ±1.5 ±1.5 LSB
Differential Non-linearity Error NDNLE -±1.0 ±1.5 ±1.5 LSB
Zero Offset Error NZOE -±0.5 ±1.5 ±1.5 LSB
Full Scale Error NFSE -±0.35 ±0.5 ±0.5 LSB
Gain Error NGE -±1.0 ±1.5 ±1.5 LSB
Overall Accuracy NACC -±1.0 ±1.5 ±1.5 LSB
AVDD Input Current IREF -0.51.01.0 mA
Conversion Time TCONV --4020 µs
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
16 MAY. 2001 Ver 2.0
7.4 DC Electrical Characteristics
(TA=-20~85°C, VDD=2.7~5.5V, Ta= -20~85°C, fXIN=8MHz, VSS=0V),
Analog Power Supply Input Range AVDD 0.9VDD VDD 1.1VDD V
1. Data in “Typ” column is at 25°C unless otherwise stated. These parameters are for design guidance only and are not tested.
Parameter Symbol Condition Specifications Unit
Min. Typ.1
1. Data in “Typ.” column is at 4.5V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested.
Max.
Input High Voltage VIH1 VDD=4.5
VDD=2.7
XIN, RESET,
R4, R5, R6 0.8VDD -VDD+0.3 V
VIH2 R0, R1, R2, R3 0.7VDD -VDD+0.3
Input Low Voltage VIL1 VDD=4.5
VDD=2.7
XIN, RESET,
R4, R5, R6 -0.2VDD V
VIL2 R0, R1, R2, R3 - 0.3VDD
Output High Voltage VOH
VDD=4.5
VDD=2.7
IOH1=-2mA
R0,R1,R2,R3,R4,R5
R6 VDD-1.0 --V
Output Low Voltage VOL
VDD=4.5
VDD=2.7
IOL1=5mA
R0,R1,R2,R3,R4,R5
R6 --1.0V
Power Fail Detect
Voltage VPFD VPFD=3.0V
VPFD=2.4V @ TA=25°C0.9V
PFD 1.1VPFD V
Input High
Leakage Current IIH1 VIN=VDD All input pins -5.0 - 5.0 µA
Input Low
Leakage Current IIL VIN=VSS All input pins -5.0 - 5.0 µA
Hysteresis VT+, VT- RESET, EC0, EC2,
SIN, SCLK, INT0~INT3 0.3 0.8 V
Power Current
IDD1
f
XIN
=8MHz All input = V
SS
Crystal Oscillator,
C
L1
=C
L2
=30pF
-820mA
IDD2
f
XIN
=4MHz
410mA
ISTOP
All input = V
SS
-110
µA
Parameter Symbol
Specifications
Unit
Min. Typ.1Max.
fXIN=4MHz fXIN=8MHz
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655

GMS81508B/16B/24B, GMS82512/16/24
MAY. 2001 Ver 2.0 17
7.5 AC Characteristics
(TA=-20~+85°C, VDD=5V±10%, VSS=0V)
Figure 7-1 Timing Chart
Parameter Symbol Pins Specifications Unit
Min. Typ. Max.
Operating Frequency fXIN XIN 1.0 - 10.0 MHz
Oscillation Stabilizing
Time tST XIN, XOUT - - 20 ms
External Clock Pulse
Width tCPW XIN 40 - - ns
External Clock Transi-
tion Time tRCP,tFCP XIN --20ns
Interrupt Pulse Width tIW INT0, INT1, INT2, INT3 2 - - tSYS
RESET Input Width tRST RESET 8--
tSYS
Event Counter Input
Pulse Width tECW EC0, EC2 2--
tSYS
Event Counter Transi-
tion Time tREC,tFEC EC0, EC2 --20ns
tRCP tFCP
XIN
INT0~INT3
0.5V
VDD-0.5V
0.2VDD
0.8VDD
0.2VDD
RESET
tREC tFEC
0.2VDD
0.8VDD
EC0, EC2
tIW
tIW
tRST
tECW
tECW
tSYS = 1/fXIN tCPW tCPW
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655
This manual suits for next models
26
Table of contents
Other Hynix Semiconductor Microcontroller manuals
Popular Microcontroller manuals by other brands

Broadcom
Broadcom WICED Sense quick start

Littlebits
Littlebits Arduino Coding Kit Invention Guide

Silicon Laboratories
Silicon Laboratories EFM32 Application note

Dialog Semiconductor
Dialog Semiconductor DA14530/1 Hardware user manual

mikroElektronika
mikroElektronika MIKROE-1993 instruction manual

STMicroelectronics
STMicroelectronics STM32L151CB manual