ChipFind - документация

Электронный компонент: UPA102G-E1

Скачать:  PDF   ZIP
GMS81508A
GMS81516A
USER'S MANUAL
Revision History
Rev 2.2 (Dec. 1998)
Add the package dimension for 64LQFP on page 3-1, 4-1.
Rev 2.1 (Nov. 1998)
Operating Temperature, -10~75
C is extended to -20~85
C.
Add the unused port guidance on page 55.
Correct errata for opcode of "EOR [dp+X], EOR [dp]+Y, EOR {X}" in "Instruction Set".
Add the OTP device programming guidance, recommend using "Intelligent Mode".
Add the chapter for OTP programming manual as an appendix.
Rev 2.0 (Sep. 1997)
- CONTENTS -
1. OVERVIEW...........................................................................................................................................1
1.1. FEATURES ..........................................................................................................................................1
1.2. BLOCK DIAGRAM..............................................................................................................................2
1.3. PIN ASSIGNMENT ..............................................................................................................................3
1.4. PACKAGE DIMENSION .....................................................................................................................4
1.5. PIN DESCRIPTION..............................................................................................................................5
2. FUNCTIONS..........................................................................................................................................7
2.1. REGISTERS .........................................................................................................................................7
2.1.1. A - Register....................................................................................................................................8
2.1.2. X- Register.....................................................................................................................................8
2.1.3. Y- Register .....................................................................................................................................8
2.1.4. Stack Pointer .................................................................................................................................8
2.1.5. Program Counter .........................................................................................................................10
2.1.6. Program Status Word...................................................................................................................10
2.2. MEMORY SPACE..............................................................................................................................12
2.2.1. RAM area ....................................................................................................................................12
2.2.2. Peripheral Register area ..............................................................................................................12
2.2.3. Program ROM area .....................................................................................................................12
2.2.4. Peripheral Register List ...............................................................................................................14
2.3. CLOCK GENERATION CIRCUIT .....................................................................................................16
2.3.1. Oscillation Circuit .......................................................................................................................16
2.3.2. Prescaler .....................................................................................................................................17
2.4. BASIC INTERVAL TIMER................................................................................................................18
2.4.1. Control of Basic Interval Timer ....................................................................................................18
2.5. WATCH DOG TIMER........................................................................................................................19
2.5.1. Control of Watch Dog Timer ........................................................................................................19
2.5.2. The output of WDT signal.............................................................................................................20
2.6. TIMER................................................................................................................................................21
2.6.1. Control of Timer ..........................................................................................................................23
2.6.2. Interval Timer ..............................................................................................................................24
2.6.3. Event Counter ..............................................................................................................................24
2.6.4. Pulse Output ................................................................................................................................24
2.6.5. Input Capture...............................................................................................................................24
2.7. EXTERNAL INTERRUPT..................................................................................................................26
2.8. A/D CONVERTER .............................................................................................................................27
2.8.1. Control of A/D Converter .............................................................................................................27
2.9. SERIAL I/O ........................................................................................................................................29
2.9.1. Data Transmission/Receiving Timing ...........................................................................................31
2.9.2. The Serial I/O operation by Srdy pin ............................................................................................31
2.9.3. The method of Serial I/O ..............................................................................................................32
2.9.4. The Method to Test Correct Transmission with S/W ......................................................................32
2.10. PWM ................................................................................................................................................33
2.10.1. Controls of PWM .......................................................................................................................33
2.11. BUZZER DRIVER............................................................................................................................35
2.11.1. Buzzer Driver Operation ............................................................................................................36
2.12. INTERRUPTS...................................................................................................................................37
2.12.1. Interrupt Circuit Configuration and Kinds..................................................................................37
2.12.2. Interrupt Control........................................................................................................................38
2.12.3. Interrupt Priority .......................................................................................................................39
2.12.4. Interrupt Sequence..................................................................................................................... 40
2.12.5. Software Interrupt ..................................................................................................................... 41
2.12.6. Multiple Interrupt ...................................................................................................................... 42
2.13. STANDBY FUNCTION ................................................................................................................... 44
2.13.1. STOP Mode ............................................................................................................................... 45
2.13.2. STOP Mode Release .................................................................................................................. 45
2.14. RESET FUNCTION ......................................................................................................................... 47
3. I/O PORTS........................................................................................................................................... 48
3.1. R0 PORT............................................................................................................................................ 48
3.2. R1 PORT............................................................................................................................................ 49
3.3. R2 PORT............................................................................................................................................ 50
3.4. R3 PORT............................................................................................................................................ 51
3.5. R4 PORT............................................................................................................................................ 52
3.6. R5 PORT............................................................................................................................................ 53
3.7. R6
PORT ............................................................................................................................................ 54
3.8. TERMINAL TYPES........................................................................................................................... 56
4. ELECTRICAL CHARACTERISTICS............................................................................................... 60
4.1. ABOULUTE MAXIMUM RATINGS................................................................................................. 60
4.2. RECOMMENDED OPERATING CONDITIONS............................................................................... 60
4.3. A/D CONVERTER CHARACTERISTICS ......................................................................................... 60
4.4. DC CHARACTERISTICS .................................................................................................................. 61
4.5. AC CHARACTERISTICS .................................................................................................................. 62
4.5.1. Input Conditions.......................................................................................................................... 62
4.5.2. Serial Transfer ............................................................................................................................ 63
4.5.3. Microprocessor Mode I/O Timing ................................................................................................ 64
4.5.4. Bus Holding Timing..................................................................................................................... 65
5. INSTRUCTION SET........................................................................................................................... 66
GMS81508/16
1
1. OVERVIEW
GMS81508/16 is a single chip microcomputer designed CMOS technology. The use of CMOS
process enables extremely low power consumption.
This device using the G8MC Core includes several peripheral functions such as Timer, A/D
Converter, Programmable Buzzer Driver, Serial I/O, Pulse Width Modulation Function, etc.
ROM,RAM,I/O are placed on the same memory map in addition to simple instruction set.
1.1. FEATURES
GMS81508
GMS81516
ROM(Bytes)
8K
16K
RAM(Bytes)
448 bytes(includes stack area)
Execution Time
0.5us (@Xin=8MHz)
Basic Interval Timer
8bit
!
1ch.
Watch Dog Timer
6bit
!
1ch.
Timer
8bit
!
4ch.(or 16bit
!
2ch.)
ADC
8bit
!
8ch.
PWM
8bit
!
2ch.
Serial I/O
8bit
!
1ch.
External Interrupt
4ch.
Buzzer Driver
Programmable Buzzer Driving Port
I/O Port
4 - Input only
52 - Input/Output
Power Save Mode
STOP Mode
Operating Voltage
4.5
5.5V ( @ Xin=8MHz )
Operating Frequency
1
8MHz
Package
64SDIP, 64QFP
OTP
GMS81516T
Application
Home Appliances, LED Applications
HYUNDAI MicroElectronics
2
1.2. BLOCK DIAGRAM
A/D
CONVERTER
PWM
BUZZER
W.D.T
S.I.C
TIMER
INTERRUPT
CLOCK GEN.
/
SYSTEM
CONTROL
G8MC
CORE
RAM
(448 BYTE)
ROM
(8/16K BYTE)
PRESCALER
/
B.I.T
R6
PORT
R5
PORT
R4
PORT
R3
PORT
R2
PORT
R1
PORT
R0
PORT
AVref AVss
R60~R67
(AN0~AN7)
R57/PWM1
R55/BUZ
R56/PWM0
R54/WDTO
R53/Srdy
R52/Sclk
R51/Sout
R50/Sin
R47/T3 O
R46/T1 O
R45/EC2
R44/EC0
R43/INT3
R42/INT2
R41/INT1
R40/INT0
MP
RESET
Xin
Xout
Vdd Vss
R60
:
R63
R64
:
R67
R50
:
R57
R40
:
R47
R30
:
R37
R20
:
R27
R10
:
R17
R00
:
R07