Hynix Semiconductor GMS81C5108 User manual

HYNIX SEMICONDUCTOR INC.
8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C5108
User’s Manual (Ver. 1.0)

Version 1.0
Published by
MCU Application Team
20
2020
200
00
01
11
1Hynix Semiconductor Inc. All rights reserved.
Additional information of this manual may beserved by Hynix Semiconductor offices in Korea orDistributors and Repre-
sentativeslistedat address directory.
Hynix Semiconductor reserves the right to makechanges 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 responsiblefor any violationsof patentsor other rights of the third party generated bytheuseofthismanual.

GMS81C5108
JUNE 2001 Ver 1.0
Table of Contents
1. OVERVIEW ...........................................1
Description .........................................................1
Features .............................................................1
Development Tools ............................................2
OrderingInformation
2. BLOCK DIAGRAM ................................3
3. PIN ASSIGNMENT ...............................4
4. PACKAGE DIAGRAM ...........................5
5. PIN FUNCTION .....................................6
6. PORTSTRUCTURES ...........................8
7. ELECTRICAL CHARACTERISTICS ...11
Absolute Maximum Ratings .............................11
Recommended Operating Conditions ..............11
DC Electrical Characteristics ...........................12
LCD Characteristics .........................................13
A/D Converter Characteristics .........................13
AC Characteristics ...........................................14
SerialI/O Characteristics .................................15
Typical Characteristics..................................... 16
8. MEMORYORGANIZATION ................18
Registers ..........................................................18
ProgramMemory .............................................21
Data Memory ................................................... 24
Addressing Mode............................................. 27
9. I/O PORTS ..........................................31
Registers for Port .............................................31
I/O Ports Configuration ....................................32
10. CLOCK GENERATOR ......................34
Operation Mode ...............................................36
Operation Mode Switching ...............................37
POWER SAVING OPERATION .......................39
11. BASIC INTERVAL TIMER .................43
12. Timer / Counter .................................45
8-Bit Timer/Counter Mode ................................48
16 Bit Timer/Counter Mode ..............................50
8-Bit Capture Mode ......................................... 50
16-bit Capture Mode....................................... 53
8-Bit (16-Bit) Compare OutPutMode.............. 53
PWM Mode ..................................................... 53
13. Watch Timer/Watch Dog Timer......... 56
Watch Timer .................................................... 56
Watch Dog Timer ............................................ 57
14. AnalogTo Digital Converter ..............58
15. Buzzer Output Function ....................60
16. Serial Communication Interface ........62
Data Transmit/Receive Timing........................ 63
The method of Serial I/O ................................. 64
17. INTERRUPTS ...................................65
Interrupt Sequence .......................................... 66
BRK Interrupt .................................................. 68
Multi Interrupt .................................................. 68
External Interrupt ............................................. 69
18. KEY SCAN ........................................70
19. LCD DRIVER.................................... 71
Configuration of LCD driver............................. 71
Control ofLCD DriverCircuit ........................... 72
LCD Display Memory ...................................... 73
Control Methodof LCD Driver ......................... 74
20. Remocon Carrier Generator ............. 76
Remocon Signal Output Control ..................... 76
Carrier Frequency ........................................... 77
21. OSCILLATOR CIRCUIT ....................80
22. RESET ..............................................81
External Reset Input ........................................ 81
Watchdog Timer Reset ................................... 81
23. SUPPLY VOLTAGE DETECTION ....82
24. DEVEMOPMENT TOOLS .................83
OTP Programming .......................................... 83
EmulatorS/W Setting ...................................... 84
A. CONTROL REGISTER LIST................. i
B. INSTRUCTION.................................... iii
Terminology List................................................ iii
Instruction Map ..................................................iv
Instruction Set ....................................................v
C.MASK ORDERSHEET .......................xi

GMS81C5108
JUNE 2001 Ver 1.0 1
GMS81C5108
CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
WITH LCD CONTROLLER/DRIVER AND
INFRARED REMOTE CONTROL TRANSMITTERS
1. OVERVIEW
1.1 Description
TheGMS81C5108 is anadvancedCMOS 8-bit microcontroller with 8Kbytesof ROM. The device is oneof GMS800 fam-
ily. The Hynix GMS81C5108 is a powerful microcontroller which provides a highflexibility and cost effective solution to
many LCD applications. TheGMS81C5108 provides the following standard features: 8Kbytesof ROM, 192 bytes of RAM,
37 Nibbles of Display RAM, 8/16-bit timer/counter, on-chip oscillatorand clock circuitry. In addition, the GMS81C5108
supports power saving modestoreduce powerconsumption.
This document is only explainedfor the base ofGMS81C5108, the eliminatedfunctions are same asbelow.
1.2 Features
•8K Bytes of On-chip Program Memory
•192 Bytes ofOn-chip Data RAM
•37 Nibbles ofDisplay RAM
•Instruction Cycle Time:
- 1us at4MHz (2 cycle NOP instruction)
•24 ProgrammableI/O pins
•2V to 4VOperating Range
•Dual Clock Operation
- main : 400kHz ~ 4.2MHz
- sub. : 32.768kHz
•One8-bit Basic Interval Timer/Counter
•Key ScanInterrupt
•Two 8-bit Timer/ Counter
(It can be used one 16-bitTimer/Counter)
•Watch Timer (2Hz, 4Hz,16Hz, 1/64Hz)
•8-bit Serial I/O (SIO)
•One10-bit High Speed PWM Output
•Carrier Generator for Remote Controller
•11 Interrupt sources
- 3 External interrupts (INT0 ~ 2)
- 8 Internal interrupts (BIT, Timer × 2, WT,
A/DC, SIO, REM,Keyscan)
•6-bitBuzzer Driving port
- 500Hz ~ 250kHz (@4MHz)
•4-channel 8-bit On-chip A/D Converter
•Power SavingMode
- STOP, SLEEP, Sub Active mode
•LCD display/controller (LCDC)
- Static Mode (37Seg ×1Com, 1/3 Bias)
- 1/2 Duty Mode (36Seg ×2Com, 1/3 Bias)
- 1/3 Duty Mode (35Seg ×3Com, 1/3 Bias)
- 1/4 Duty Mode (34Seg ×4Com, 1/3 Bias)
•LCD Display Voltage Booster
•Supply Voltage Detector(SVD)
- 2 level detector (2.2V, 1.7V)
Device name ROM Size OTP Size RAM Size I/O Package
GMS81C5108 8Kbytes-192 bytes24 80QFP
GMS87C5108 8Kbytes192bytes24 80QFP

GMS81C5108
2JUNE 2001 Ver 1.0
1.3 Development Tools
Note:Thereareseveral setting switches in the Emulator.
User should read carefully and dosetting properlybefore
developing the program refer to "24.2 Emulator S/W Set-
ting"on page 84. Otherwise, the Emulator may not work
properly.
The GMS81C5108 is supported by a full-featured macro assem-
bler, anin-circuit emulator CHOICE-Dr.TM and OTP program-
mers. There are two different typeprogrammers such as single
type and gang type. For mode detail, refer to OTP Programming
chapter. Macro assembler operates under the MS-Windows 95/
98TM.
Please contact sales partof Hynix Semiconductor.
1.4 Ordering Information
Software- MS- Windowbase assembler
-Linker / Editor / Debugger
Hardware
(Emulator) - CHOICE-Dr.
- CHOICE-Dr. EVA 81C51 B/D
OTP Writer- CHOICE - SIGMA (Singlewriter)
- CHOICE - GANG4(Gang writer)
Device name ROM Size (bytes)RAMsize Package
Mask ROM versionGMS81C5108 8Kbytes192 bytes80QFP
OTP ROM versionGMS87C5108 8K bytes OTP 192 bytes 80QFP

GMS81C5108
JUNE 2001 Ver 1.0 3
2. BLOCK DIAGRAM
ALU
LCD Controller/Driver (LCDC)
Accumulator Stack Pointer
Interrupt Controller
Data
Memory
LCD
Memory
DisplayProgram
Memory
DataTable
PC
8-bitBasic
IntervalTimer
High Speed
PC
R1 R0R3 Buzzer
Driver
PSW
Systemcontroller
Timing generator
System
Clock Controller
Clock
Generator
Highfreq.
Low freq.
RESET
XIN
XOUT
SXIN
SXOUT
SegmentDriveOutput
SEG0~SEG33
Common DriveOutput
COM0
R00/ INT0
R01/ INT1
R02/ INT2
R03/ EC0
R04/ BUZ
R05/ SCK
R06/ SO
R07/ SI
R10 / KS0
R11 / KS1
R12 / KS2
R13 / KS3
R14 / KS4
R15 / KS5
R16 / KS6
R17 / KS7
R30
VDD
VSS
Power
Supply
VCL0
VCL1
VCL2
COM1/SEG36
COM2/SEG35
COM3/SEG34
LCD Display
Voltage Booster
CAPH
CAPL
VLCDC
AVDD
AVSS
Power
Supply
Circuit
VREGR20/ AN0
R31 / PWM
R32
R33
R21/ AN1
R22/ AN2
R23/ AN3
8-bit
A/D
Converter
R2
PWM
8/16-bit
Timer/Counter
SIO
Watch/Watch Dog
Timer
WDTOUT
Remocon
(REM)
REMOUT

GMS81C5108
4JUNE 2001 Ver 1.0
3. PIN ASSIGNMENT
AVSS
R23 / AN3
R22 / AN2
R21 / AN1
R20 / AN0
AVDD
SEG0
VSS
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
RESET
VREG
WDTOUT
SXIN
SXOUT
VCL0
VLCDC
VCL1
VCL2
CAPH
CAPL
COM0
SEG36 / COM1
SEG35 / COM2
SEG34 / COM3
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
SEG9
XOUT
XIN
VDD
REMOUT
R07 / SI
R06 / S0
R05 / SCK
R04 / BUZ
R03 / EC0
R02 / INT2
R01 / INT1
R33
R32
R31 / PWM
R30
R17 / KS7
R16 / KS6
R15 / KS5
R14 / KS4
R13 / KS3
R12 / KS2
R11 / KS1
R10 / KS0
R00 / INT0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
32
31
30
29
28
27
26
25
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
GMS81C5108

GMS81C5108
JUNE 2001 Ver 1.0 5
4. PACKAGE DIAGRAM
Figure 4-1Package Diagram
20.10
19.90
24.15
23.65
18.15
17.65
14.10
13.90
3.10 max.
0.45
0.30 0.8 BSC
SEE DETAIL "A"
1.03
0.73
0-7°
0.36
0.10
0.23
0.13
1.95
REF
DETAIL “A”
UNIT: mm
max
min
------------

GMS81C5108
6JUNE 2001 Ver 1.0
5. PIN FUNCTION
VDD: Supply voltage.
VSS: Circuit ground.
AVDD:Supply voltagetothe ladder resistor of ADC cir-
cuit. To enhance the resolution of analog to digital convert-
er, use independent power source as well aspossible,other
thandigital power source.
AVSS:ADC circuit ground
RESET:Reset the MCU.
WDTOUT:Output for detection ofa program malfunc-
tion. If the user wants to use this pin, connect it to the RE-
SETpin.
REMOUT: Signal output of an infrared remote controller.
XIN:Input tothe inverting oscillator amplifier and input to
the internal main clock operating circuit.
XOUT:Output from the inverting oscillator amplifier.
SXIN:Input to the internal sub system clockoperating cir-
cuit.
SXOUT:Output from the inverting subsystem oscillator
amplifier.
SEG0~SEG36: Segment signal output pins for the LCD
display. See"19. LCD DRIVER" on page 71for details.
COM0~COM3: Common signal output pins for the LCD
display. See"19. LCD DRIVER" on page 71for details.
SEG34~SEG36 and COM1~COM3 are selectedby LCDD
of the LCR register.
R00~R07: R0 is an8-bit CMOS bidirectional I/O port. R0
pins 1 or 0 written tothe Port Direction Register can be
usedas outputs or inputs. Also, pull-up resistors and open-
drain outputs can beassignedby software.
In addition,R0 serves the functions ofthe variousfollow-
ing special features.
R10~R17: R1 is an8-bit CMOS bidirectional I/O port. R1
pins 1 or 0 written tothe Port Direction Register can be
usedasoutputs or inputs or schmitt trigger inputs. Also, pull-
up resistors and open-drain outputs can be assignedby software.
In addition, R1 serves the functions of the various follow-
ing specialfeatures.
R20~R23:R2 is a 4-bit CMOS bidirectional I/O port. Each
pins1 or 0 written tothe Port Direction Register can be
usedas outputsor inputs. Also, pull-up resistors and open-
drain outputs can be assignedby software.
In addition, R2 serves the functions of the various follow-
ing specialfeatures.
R30~R33:R3 is a 4-bit CMOS bidirectional I/O port. Each
pins1 or 0 written tothe Port Direction Register can be
usedas outputsor inputs. Also, pull-up resistors and open-
drain outputs can be assignedby software.
In addition, R3 serves the functions of the various follow-
ing specialfeatures.
VCL0~VCL2:Power supply pins for the LCD driver. The
voltage on each pin is VCL2>VCL1>VCL0. See "19.
LCD DRIVER" on page 71 for details.
VLCDC: LCD drive voltage booster reference.
CAPH, CAPL: LCD drive voltagebooster capacitor.
VREG: Output of thevoltageregular for thesub clockos-
cillation circuit.Connect external 0.1uF capacitor to this
pin when using thesub system clock.
Port pin Alternatefunction
R00
R01
R02
R03
R04
R05
R06
R07
INT0 (External interrupt 0)
INT1 (External interrupt 1)
INT2 (External interrupt 2)
Event counter input
Buzzer Output
SCK (SPI CLK Input/Output)
SO (SPI SerialData Output)
SI (SPI Serial Data Input)
Portpin Alternate function
R10
R11
R12
R13
R14
R15
R16
R17
KS0 (Key scan input 0)
KS1 (Key scan input 1)
KS2 (Key scan input 2)
KS3 (Key scan input 3)
KS4 (Key scan input 4)
KS5 (Key scan input 5)
KS6 (Key scan input 6)
KS7 (Key scan input 7)
Port pin Alternate function
R20
R21
R22
R23
AN0 (Analog InputPort0)
AN1 (Analog InputPort1)
AN2 (Analog InputPort2)
AN3 (Analog InputPort3)
Port pin Alternate function
R31 PWM(PWMOutput)

GMS81C5108
JUNE 2001 Ver 1.0 7
PIN NAME Pin No. Primary Function SecondaryFunction State @ ResetState@ STOP
I/ODescription I/O Description
VDD 62 -Supply Voltage - - - -
VSS 33 -Circuit Ground - - - -
AVDD 35 -Supply Voltage for
ADC -- - -
AVSS 40 -Ground forADC- - - -
RESET 65 IReset (lowactive) - - ‘L’input‘H’ input
WDTOUT 67 OWatchdog output - - Floating (To be
connectPull-up)State of before
STOP
REMOUT 61 ORemocon output- - ‘L’output
XIN, XOUT63, 64I,OMain clock oscillator - - Oscillation‘L’, ‘L’
SXIN, SXOUT68, 69I,OSub clock oscillator - - Oscillation
VREG66 -Sub clock voltage - - - -
VCL0~VCL2 70,72,73 -LCD drive voltage - - Internal VCL0
ConnectedState of before
STOP
VLCDC 71 -LCD drive voltage
boosterreference -- - -
CAPH,CAPL 74,75 -LCD drive voltage
booster capacitor--Internal VCL0
ConnectedState of before
STOP
SEG0 ~ SEG3334, 32~1OLCD segment output - - Segment output
COM0 76 OLCD common output- - Common output
SEG34/COM3
SEG35/COM2
SEG36/COM179~77 OLCDcommon output. -LCD segment
outputCommon output
State of before
STOP
R00/INT0 41 I/O
General I/Oport
I Interrupt Input
Inputport
R01/INT1 54 I/OI Interrupt Input
R02/INT2 55 I/OI Interrupt Input
R03/EC0 56 I/O IEventcounter input
R04/BUZ57 I/O OBuzzer output
R05/SCK 58 I/OI/O Serial clock I/O
R06/SO 59 I/O O Serial Data Output
R07/SI 60 I/OISerial Data Input
R10 ~ R17/
KS0 ~ KS742~49 I/OIKey wake-up input
R20 ~ R23/
AN0 ~ AN3 36~39 I/OIA/D converter
analog input
R30,R32,R33 50,52,53 I/O- -
R31/PWM51 I/O OPWMoutput
Table 5-1 Port Function Description

GMS81C5108
8JUNE 2001 Ver 1.0
6. PORTSTRUCTURES
R00~R03/INT0~INT2, R03/EC0, R07/SI
R04/BUZ,R06/SO
R05/SCK
R10~R17/KS0~KS7
R20~R23/AN0~AN3
Pin
Data Reg.
Dir. Reg.
Noise
Canceller
INT0 ~ INT2
Pull up
Reg.
MUX
RD
VDD
VSS
Pull-up Tr.
EC0,SI
OpenDrain
Reg.
RD
Data Bus
PMR<0:3,7>
Pin
Data Reg.
Dir. Reg.
Pull up
Reg.
MUX
RD
VDD
VSS
Pull-up Tr.
Open Drain
Reg.
BUZ,SO
RD
DataBus
Pin
Data Reg.
Dir. Reg.
Pull up
Reg.
MUX
RD
VDD
VSS
Pull-up Tr.
Open Drain
Reg.
SCK(OUT)
Noise
Canceller
SCK(IN) RD
Data Bus
SCK(IN)_EN
Pin
DataReg.
Dir. Reg.
Pull up
Reg.
MUX
RD
VDD
VSS
Pull-up Tr.
Open Drain
Reg.
Key Scan
Key Scan
Enable
KS0 ~ KS7Noise
Canceller
RD
Data Bus
KSMR<0:7>
Pin
Data Reg.
Dir. Reg.
Pull up
Reg.
MUX
RD
VDD
VSS
Pull-up Tr.
OpenDrain
Reg.
A/D converter
AN0 ~ AN3
A/D Enable
channel select
RD
Data Bus

GMS81C5108
JUNE 2001 Ver 1.0 9
R30, R32, R33
R31
SEG0 ~ SEG33
COM0
COM1/SEG36, COM2/SEG35, COM3/SEG34
VCL0 ~ VCL2, CAPH, CAPL
VLCDC, VREG
Pin
Data Reg.
Dir. Reg.
Pull up
Reg.
MUX
RD
VDD
VSS
Pull-up Tr.
OpenDrain
Reg.
RD
Data Bus
Pin
Data Reg.
Dir. Reg.
Pull up
Reg.
MUX
RD
VDD
VSS
Pull-up Tr.
Open Drain
Reg.
PWMO
RD
DataBus
Pin
LCD Data
DB
VCL2 or VCL1
VCL1 or VSS
LCD Control
Reg.
Frame Counter
VCL2
Pin
VCL2 or VCL1
VCL1 or VSS
LCD Control
Frame Counter
VCL2
Pin
LCD Data
DB
VCL2 or VCL1
VCL1 or VSS
LCD Control
Reg.
Frame Counter
VCL2
Pin
VCL0~ VCL2, CAPH, CAPL
Pin
VDD
VCLDC, VREG

GMS81C5108
10 JUNE 2001 Ver 1.0
REMOUT
RESET
WDTOUT
XIN, XOUT (Crystalor Ceramic resonator Option)
XIN, XOUT (RC Option)
SXIN, SXOUT
Pin
VDD VDD
REMOUT
RESET
VSS
Noise
Canceller
GMS87C5108 (OTP)
InternalRESET
RESET
VDD
VSS
Noise
Canceller
VDD
Mask Option
Default no pull-up
InternalRESET
GMS81C5108 (MASK)
Pin
WDTOUT
WDTOUTEN
STOP
XOUT
XIN
VDD
VSS
VDD
VSS VDD
Main frequency
clock
XOUT
XIN
VDD
VSS
VDD
VSS VDD
STOP
Main frequency
clock
RC
Oscillator
Internal Cap.
= 5.0pF
SXIN
SXOUT
VSS
VDD
VSS VDD
VDD
VSS
Subclock

GMS81C5108
JUNE 2001 Ver 1.011
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 respectto Ground (VSS)
............................................................... -0.3toVDD+0.3
Maximumcurrent sunk by (IOL per I/OPin) ........20 mA
Maximum output current sourced by(IOH per I/O Pin)
...............................................................................15 mA
Maximumcurrent (ΣIOL)....................................100 mA
Maximum current(ΣIOH)......................................60 mA
Note:Stressesabove those listed under “Absolute Maxi-
mumRatings”may causepermanentdamage tothe de-
vice. Thisisa stress rating onlyand functional operation of
the deviceatanyotherconditionsabovethose indicated in
the operational sectionsof thisspecification is not implied.
Exposureto absolute maximum rating conditions for ex-
tended periods mayaffect device reliability.
7.2 Recommended Operating Conditions
Parameter Symbol Condition Specifications Unit
Min. Typ. Max.
Supply VoltageVDD fMAIN=4MHz
fSUB=32.768kHz 2.0-4.0V
Main Operating FrequencyfMAIN VDD=2~4V0.4-4.2MHz
Sub Operating Frequency fSUBVDD=2~4V-32.768 -kHz
Operating TemperatureTOPR -20-70 °C

GMS81C5108
12 JUNE 2001 Ver 1.0
7.3 DC Electrical Characteristics
(TA=-20~70°C, VDD=AVDD=2~4V, VSS=AVSS=0V)
Parameter Symbol Condition SpecificationsUnit
Min. Typ. Max.
Input High Voltage
VIH1R0~R3 0.7VDD -VDD
V
VIH2RESET, XIN, INT0~INT2, EC0, SI, SCK 0.8VDD -VDD
VIH3SXIN 0.8VREG-VREG
Input LowVoltage
VIL1R0~R3 0-0.3 VDD
V
VIL2RESET, XIN, INT0~INT2, EC0, SI, SCK 0-
0.2VDD
VIL3SXIN 0-0.2VREG
OutputHigh Voltage
VOH1R0~R3, IOH1=-0.7mA VDD-0.3 --
V
VOH2XOUT, IOH2=-50µAV
DD-0.5 --
VOH3SXOUT, IOH3=-5µAVREG-0.3 - -
Output Low Voltage
VOL1R0~R3,WDTOUT, IOL1=1mA --0.4
V
VOL2XOUT, IOL2=50µA--0.5
VOL3SXOUT, IOL3=5µA--0.5
Input High
Leakage Current IIH R0~R3,VIN=VDD --1
µA
Input Low
Leakage Current IIL R0~R3,VIN=0V---1
OutputHigh
Leakage Current IOH REMOUT, VDD=3V, VOH= VDD-1.0V-30 --5 mA
OutputLow
Leakage Current IOL REMOUT, VDD=3V, VOL= 1.0V 0.5 -3
Pull-up ResisterRP1 R0~R3,VDD=3V50 100 200 kΩ
RP2 RESET, VDD=3V
(GMS81C5108 Mask Option)30 60 120
FeedBack ResisterRF1 Main OSC Feedback Resister VDD=3V0.5 -1.5MΩ
RF2 Sub OSC Feedback ResisterVDD=3V5. -15
RC Oscillator
Frequency FRC R=30kΩ, VDD=3V123MHz
VREG Voltage VREG VREG=0.2uF2.0 2.2 2.4V
SupplyCurrent
IDD1Main ActiveMode
VDD=4V±10%, XIN=4MHz,SXIN=0 -2.74.0
mA
IDD2
Main SleepMode
VDD=4V±10%, XIN=4MHz,SXIN=0 -0.471.2
IDD3
Stop Mode
VDD=4V
±
10%,
XIN=0, SXIN=0 -2.010
µA
IDD4Sub Active mode1
VDD=3V±10%, XIN=0, SXIN=
32.768kHz
-35(70)80(150)
IDD5Sub Sleep mode
VDD=4V±10%, XIN=0, SXIN=
32.768kHz
-6.015
1. IDD4 istested by onlynop operation.The value of ( )istested atOTP.

GMS81C5108
JUNE 2001 Ver 1.013
7.4 LCD Characteristics
(TA=-20~70°C, VDD=AVDD=2~4V, VSS=AVSS=0V)
7.5 A/D Converter Characteristics
(TA=25°C, VDD=3V, AVDD=3.072V, VSS=AVSS=0V)
ParameterSymbol Condition Specifications Unit
Min. Typ. Max.
VLCDC Output VoltageVLCDC VDD=3V,TA=25°C,
R1=1MΩ, R2=300kΩ0.7 0.91.1V
LCD Reference
OutputVoltage VCL0 External Variable Resistance
(0 to 1MΩ) 0.9-2.0
Double Output Voltage VCL1C1~C4=0.47uF1.9VCL0 2.0VCL0 -V
Triple OutputVoltage VCL2C1~C4=0.47uF2.85VCL0 3.0VCL0 -
LCD Common
OutputCurrentICOMOutputVoltage Deviation=0.2V 30 - - µA
LCDSegment
OutputCurrentISEG OutputVoltage Deviation=0.2V 5-−
Parameter Symbol Condition SpecificationsUnit
Min. Typ. Max.
Analog Power Supply Input Voltage Range AVDD -AVSS -AVDD V
Analog Input Voltage Range VAN -AVSS-0.3 -AVDD+0.3
CurrentFollowing Between AVDD and AVSS IAVDD ---200
µA
Overall Accuracy CAIN - - ±1.0±2.0
LSB
Non Linearity ErrorNNLE- - ±1.0±2.0
Differential Non Linearity ErrorNDNLE - - ±1.0±2.0
Zero Offset ErrorNZOE - - ±0.5±1.5
Full ScaleError NFSE- - ±0.25 ±0.5
GainError NGE - - ±1.0±1.5
Conversion TimeTCONVfMAIN=4MHz --30
µS

GMS81C5108
14 JUNE 2001 Ver 1.0
7.6 AC Characteristics
(TA=25°C, VDD=4V, AVDD=4V, VSS=AVSS=0V)
Figure 7-1 AC Timing Chart
Parameter Symbol Pins Specifications Unit
Min. Typ. Max.
Main Operating FrequencyfMCPXIN 0.455 -4.19 MHz
Sub Operating Frequency fSCPSXIN 30 32.768 35 kHz
System Clock Frequency1tSYS -0.477 -4.395 µS
Main Oscillation
StabilizationTime(4MHz)
tMSTXIN, XOUT
--20
mS
Main Oscillation
StabilizationTime(910kHz) --60
Main Oscillation
StabilizationTime(455kHz) --100
Sub Oscillation
StabilizationTimetSST SXIN, SXOUT-12S
External Clock
“H” or “L” Pulse Width tMCPW XIN 80 - - nS
tSCPW SXIN 5--
µS
InterruptPulse WidthtIW INT0, INT1, INT2 2- - tSYS
RESET Input Pulse “L” Width tRSTRESET 8--
tSYS
Event Counter Input
“H” or “L” Pulse Width tECWEC0 2- - tSYS
1.SCMR=XXXX000X that is fMAIN/2
XIN 0.2VDD
0.8VDD
0.2VDD
RESET
0.2VDD
0.8VDD
EC0
tRST
tECW
tECW
1/fMCPtMCPWtMCPW
SXIN 0.2VDD
0.8VDD
1/fSCPtSCPWtSCPW
tSYS

GMS81C5108
JUNE 2001 Ver 1.015
7.7 Serial I/O Characteristics
(TA=25°C, VDD=AVDD=2~4V, VSS=AVSS=0V)
Figure 7-2 Serial I/O Timing Chart
Parameter Symbol Pins Specifications Unit
Min. Typ. Max.
SCK Input Clock Pulse Period tSCYC
SCK
2tSYS+200 --
nS
SCK Input Clock “H” or “L” PulseWidthtSCKW tSYS+70--
SCK OutputClock Cycle Time tSCYC 4tSYS -16tSYS
SCK output Clock “H” or“L” Pulse Width tSCKW 2tSYS-30--
SCK output Clock Delay Time tDS - - 100
SI input Setup Time (ExternalSCK) tESUS
SI
100 - -
SI input Setup Time (InternalSCK)tISUS100 - -
SI input Hold Time tHS tSYS+100 --
SCK
tSCKW
0.2VDD
tSCKW
tSCYC
0.8VDD
tDS
tSUStHS
0.2VDD
0.8VDD
0.2VDD
0.8VDD
SO
SI

GMS81C5108
16 JUNE 2001 Ver 1.0
7.8 Typical Characteristics
These graphsand tables are for design guidance only and
are not tested or guaranteed.
Insome graphs or tables, the datas presented are out-
side specified operating range (e.g. outside specified
VDD range).This is forinformation only and devices
are guaranteed tooperateproperly only within the
specified range.
The data is a statistical summary of data collected onunits
from different lots overa period of time. “Typical” repre-
sents the mean of the distribution while “max” or “min”
represents (mean + 3σ) and (mean − 3σ)respectively
where σis standard deviation
IOL−VOL, VDD=4.2V
(mA)
IOL
1.0 3.02.0VOL
(V)
IOH−VOH, VDD=4.2V
-8
-6
-4
-2
0
(mA)
IOH
1.0 2.0 VOH
(V)
70°C
R0,R1,R2,R3 pin
R−
−−
−Ta
200
100
0
(kΩ)
-25 025 75 Ta
(°C)
R
VDD=4.0V
R−
−−
−Ta
100
50
0
(kΩ)
-25 025 75 Ta
(°C)
RESETpin
R
fMAIN=4MHz
VDD−VIH1
4
3
2
1
0
(V)
VIH1
22.533.54VDD
(V)
Ta=25°C
R0~R3 pin
40
30
10
-10
-12
-14
3.0
20
fMAIN=4MHz
VDD−VIH2
4
3
2
1
0
(V)
VIH2
22.533.54VDD
(V)
Ta=25°C
RESET,XIN,INT0~INT2,EC0.SI.SCK
-16
4.0
25°C
-20
°
C
4.0
-20°C
70°C
25°C
50
50
VDD=4.0V
fMAIN=4MHz
VDD−VIL2
2
1
0
(V)
VIL1
22.533.54VDD
(V)
Ta=25°C
RESET,XIN,INT0~INT2,EC0.SI.SCK
fMAIN=4MHz
VDD−VIL1
2
1
0
(V)
VIL1
22.533.54VDD
(V)
Ta=25°C
R0~R3 pin

GMS81C5108
JUNE 2001 Ver 1.017
ISLEEP (IDD5)−VDD
8
6
4
2
0
(µA)
IDD
22.533.54
VDD
(V)
Sleep Mode (Sub opr.)
Ta= -20~70°C
(Main-clock)
Ta=25°C
fMAIN−VDD
4
3
2
1
0
(MHz)
fMAIN
2 2.5 3 3.5 4VDD
(V)
Ta=25°C
R = 47kΩ
IDD1−VDD
4
3
2
1
0
(mA)
IDD
22.533.54
VDD
(V)
Normal Mode (Main opr.)
6
4
2
1
0
(MHz)
fMAIN
22.533.5 4.5
VDD
(V)
Operating Area
ISTOP (IDD3)−VDD
4
3
2
1
0
(µA)
IDD
22.533.54VDD
(V)
Stop Mode
IDD4−VDD
100
75
50
25
0
(µA)
IDD
22.533.54
VDD
(V)
NormalMode (Sub opr.)
ISLEEP (IDD2)−VDD
400
300
200
100
0
(µA)
IDD
22.533.54VDD
(V)
Sleep Mode (Main opr.)
fMAIN=4MHz
fSXIN=32kHz
Ta=25°C
Ta=25°C
fMAIN=0Hz
R = 68kΩ
f
SXIN
=32kHz
Ta=25°C
Ta=25°C
fMAIN=4MHz
5
3
4
R = 100kΩ
R = 20kΩ
Table of contents
Other Hynix Semiconductor Microcontroller manuals
Popular Microcontroller manuals by other brands

Magtek
Magtek oDynamo 21060861 Quick installation guide

Beck
Beck IPC@CHIP SC01 Hardware manual

Cypress
Cypress PSoC quick start guide

Swift Navigation
Swift Navigation Piksi Multi manual

Teledyne SP Devices
Teledyne SP Devices ADQ3 Series user guide

Silicon Laboratories
Silicon Laboratories EFM32 EFM32GG11 Giant Gecko Series quick start guide

Texas Instruments
Texas Instruments MSP430F5638 manual

Atmel
Atmel SMART ATSAMC21MOTOR manual

Maxim Integrated
Maxim Integrated Alameda MAXREFDES24# quick start guide

Fibocom
Fibocom G600 user manual

Espressif
Espressif ESP32-WROOM-DA user manual

Texas Instruments
Texas Instruments CC2652RSIP installation guide