HYNIX ZTA3.43MG, ZTA3.64MG, ZTA3.84MG, ZTA4.00MG, ZTB320D Datasheet

...
4-BIT SINGLE CHIP MICROCOMPUTERS
GMS34XXXT SERIES
USER`S MANUAL
• GMS34004T
• GMS34112T
• GMS34140T
Revision 1.1
Published by MCU Application Team in HYNIX Semiconductor Inc. All Right Reserved.
Additional information of this manual may be served by HYNIX Semiconductor Inc.Offices in Korea or Distributors and Representative listed at address directory.
HYNIX Semiconductor Inc.reserves the right to make changes to any Information here at any time without notice.
The information, diagrams, and other data in this manual are correct and reliable; however, HYNIX Semiconductor Inc.is in no way responsible for any violations of patents or other rights of the third party generated by the use of this manual.
Table of Contents
Chapter 1
Introduction
Outline of Characteristics Characteristics Block Diagram Pin Assignment and Terminal Pin Dimension Pin Description and Circuit I/O circuit types and options Electrical Characteristics
Chapter 2
Architecture
Block Description Program Memory (ROM) EPROM Address Register Data Memory (RAM) X-Register (X) Y-Register (Y) Accumulator (Acc) Arithmetic and Logic Unit (ALU) State Counter (SC) Clock Generator Pulse Generator Initial Reset Circuit Watch Dog Timer (WDT) Stop Function Port Operation
Chapter 3
Instruction
Table of Contents
............................................................................................1-1
.................................................................1-1
..................................................................................1-1
..................................................................................1-2
..........................................................1-3
..................................................................................1-4
.................................................................1-7
.............................................................1-8
................................................................1-10
...........................................................................................2-1
.............................................................................2-1
..................................................................2-1
................................................................2-2
........................................................................2-3
...................................................................................2-3
...................................................................................2-4
............................................................................2-4
.......................................................2-4
...........................................................................2-5
...............................................................................2-6
...............................................................................2-7
............................................................................2-8
.................................................................2-8
....................................................................................2-9
..................................................................................2-9
........................................................................................3-1
Table of Contents
Chapter 4
EPROM GMS34004TK/34112TK/34140TK
Mode Define Port Define Programming Data Write/Read Data Conversion Checksum Programming Control Programming DC Specification EPROM read mode(1/2) EPROM read mode (2/2) EPROM write mode (1/2) EPROM write mode (2/2) Lock bit write mode (1/2) Lock bit write mode (2/2) Lock bit read mode (1/2) Lock bit read mode (2/2) GMS34004T/112T/140T (Pin assignment & Package) EPROM (KHz) mode EPROM write only mode
GMS34004TK/34112TK/34140TK
Mode Define Port Define Programming Data Write/Read Data Conversion Checksum Programming Control Programming DC Specification EPROM read mode(1/2) EPROM read mode (2/2) EPROM write mode (1/4) EPROM write mode (2/4) EPROM write mode (3/4) EPROM write mode (4/4) Lock bit write mode (1/3) Lock bit write mode (2/3) Lock bit write mode (3/3) Lock bit read mode (1/2) Lock bit read mode (2/2)
.................................................................................................4-1
.........................................................4-1
.....................................................................................4-1
.......................................................................................4-2
...........................................................................4-2
............................................................4-3
.........................................................................................4-3
........................................................................4-3
.........................................................4-3
...................................................................4-4
..................................................................4-4
..................................................................4-5
..................................................................4-5
..................................................................4-6
..................................................................4-6
..................................................................4-7
..................................................................4-7
.....................4-8
.........................................................................4-9
..................................................................4-9
.............................................................4-10
.....................................................................................4-10
........................................................................................4-11
...........................................................................4-11
............................................................4-12
........................................................................................4-12
......................................................................4-12
........................................................4-12
...................................................................4-13
...................................................................4-13
..................................................................4-14
..................................................................4-14
..................................................................4-15
..................................................................4-15
..................................................................4-16
..................................................................4-16
..................................................................4-16
..................................................................4-18
..................................................................4-18
INTRODUCTION 1
ARCHITECTURE 2
INSTRUCTION 3
EPROM 4
1 - 1
CHAPTER 1. Introduction
OUTLINE OF CHARACTERISTICS
The GMS340 series are remote control transmitter which uses CMOS technology,
and the EPROM version of GMS34XXX series.
This enables transmission code outputs of different configurations, multiple custom code output, and double push key output for easy fabrication. The GMS340 series are suitable for remote control of TV, VCR, FANS, Air­conditioners, Audio Equipments, Toys, Games etc.
Characteristics
Program memory : 512bytes for GMS34004T 1,024 bytes for GMS34112T/140T
Data memory : 32 ¡¿ 4 bits
43 types of instruction set
3 levels of subroutine nesting
1 bit output port for a large current (REMOUT signal)
Operating frequency :300KHz~500KHz at KHz version
2.4MHz~4MHz at MHz version 300KHz~4.2MHz at WIDE version
Instruction cycle : f
OSC
/6 at KHz and WIDE version
f
OSC
/48 at MHz version
CMOS process (3.0V or 5.0V power supply)
Stop mode (Through internal instruction)
Released stop mode by key input
Built in capacitor for ceramic oscillation circuit at KHz version
Built in a watch dog timer (WDT)
Low operating voltage : 2.2~4.5V (at KHz and MHz version)
Normal operating voltage: 4.0~5.0V (at WIDE version)
Table 1-1 GMS34XXXT series members
Chapter 1. Introduction
Series
Program memory Data memory I/O ports Input ports
Output ports Package
KHz version MHz version WIDE version
GMS34004T
512
32 ¡¿ 4
-
4 6
D0 ~ D5
16DIP
GMS34004TK GMS34004TM GMS34004TW
GMS34112T
1,024
¡ç
4
¡ç ¡ç
¡ç
20DIP/SOP/SSOP
GMS34112TK GMS34112TM
GMS34112TW
GMS34140T
¡ç ¡ç ¡ç ¡ç
10
D0 ~ D9
24DIP/SOP GMS34140TK GMS34140TM
GMS34140TW
1 - 2
Block Diagram
Fig 1-1 Block Diagram (In case of GMS34140T)
Chapter 1. Introduction
RAM
16word x
2page x 4bit
RAM Word
Selector
Y-Reg
ACC
ST
R-Latch D-Latch
Pulse
Generator
X-Reg
MUX
MUX
ALU
23 22 7 8 9 4 2110 3 5 6 11 12 13 14 15 16 17 18 19 20
Instruction
Decoder
Program counter
Stack
Reset
Watchdog
timer
1 24
2
10
10
8
ROM
64word ¡¿
16page
¡¿
8bit
8
4
4
2
4 10
4
10
4
4
4
16
4
4
4
4
4
OSC1 OSC2 K0 ~ K3 R0 ~ R3 D0 ~ D9 REMOUT
RESET/Vpp VDD GND
OSC
Control Signal
1 - 3
Pin Assignment and terminals
Pin Assignment
Fig 1-2 GMS34004T Pin Assignment
(16PDIP)
Fig 1-3 GMS34112T Pin Assignment
(20DIP/SOP)
Fig 1-4 GMS34112T Pin Assignment
(20SSOP only)
Chapter 1. Introduction
Fig 1-5 GMS34140T Pin Assignment
(24DIP/SOP)
VDD OSC1 OSC2 REMOUT D5 D4 D3 D2
RESET/Vpp
GND
K0 K1 K2
K3 D0 D1
1 2 3 4 5 6 7 8
16 15 14 13 12 11 10
9
R3 R2 R1 R0 GND RESET/Vpp VDD OSC1 OSC2 REMOUT
K0 K1 K2 K3 D0 D1 D2 D3 D4 D5
1 2 3 4 5 6 7 8 9
10
20 19 18 17 16 15 14 13 12 11
RESET/Vpp VDD OSC1 OSC2 REMOUT D5 D4 D3 D2 D1
GND
R0 R1 R2 R3
K0
K1
K2
K3 D0
1 2 3 4 5 6 7 8 9
10
20 19 18 17 16 15 14 13 12 11
RESET/Vpp
GND
R0 R1 R2 R3 K0 K1 K2 K3 D0 D8
VDD OSC1 OSC2 REMOUT D7 D6 D5 D4 D3 D2 D1 D9
1 2 3 4 5 6 7 8 9
10
24 23 22 21 20 19 18 17 16
15 11 12
14
13
1 - 4
Pin Dimension
Fig 1-6 16PDIP Pin Dimension
1 2 3 4 5 6 7 8
16 15 14 13 12 11 10 9
0.785MAX
0.745MIN
0.040MAX
0.020MIN
0.065MAX
0.015MIN
0.140MAX
0.120MIN
¡æ ¡ç
¡æ ¡ç
0~15¡Ç
0.260MAX
0.240MIN
0.300BSC
0.014MAX
0.008MIN
Outline (Unit:Inch)
0.050MIN
0.022MAX
0.015MIN
0.100BSC
0.125MIN
0.135MAX
0.170MAX
1 2 3 4 5 6 7 8 9 10
20 19 18 17 16 15 14 13 12 11
0.984MAX
0.968MIN
0.065MAX
0.055MIN
0.022MAX
0.015MIN
0.1TYP
0.170MAX
0.015MIN
0.135MAX
0.125MIN
¡æ ¡ç
¡æ ¡ç
0~15¡Ç
0.270MAX
0.250MIN
0.3TYP
0.012MAX
0.008MIN
Outline (Unit : Inch)
Fig 1-7 20PDIP Pin Dimension
Chapter 1. Introduction
1 - 5
0.5118MAX
0.4961MIN
0.020MAX
0.014MIN
0.05TYP
0.0118MAX
0.004MIN
1 2 3 4 5 6 7 8 9 10
20 19 1 8 17 16 15 14 13 12 11
¡æ ¡ç
¡æ
¡ç
0.299MAX
0.292MIN
0.419MAX
0.0125MAX
0.0091MIN
0.104MAX
0.093MIN
0.042MAX
0.016MIN
Outline (Unit : Inch)
0.398MIN
Fig 1-8 20SOP Pin Dimension
Chapter 1. Introduction
0.344MAX
0.337MIN
0.012MAX
0.008MIN
0.025BSC
1 2 3 4 5 6 7 8 9 10
20 19 1 8 17 16 15 14 13 12 11
¡æ ¡ç
¡æ
¡ç
0.010MAX
0.007MIN
0.032MAX
0.022MIN
Outline (Unit : Inch)
Fig 1-9 20SSOP Pin Dimension
0.244MAX
0.234MIN
0.157MAX
0.150MIN
0.066MAX
0.057MIN
0.010MAX
0.004MIN
0-8¢ª
¡é ¡è
1 - 6
Chapter 1. Introduction
Fig 1-11 24SOP Pin Dimension
1 2 3 4 5 6 7 8 9 10 11
12
24 23 22 21 20 19 18 17 16 15 14
13
1.255MAX
1.245MIN
0.065MAX
0.055MIN
0.022MAX
0.015MIN
0.1TYP
0.015MIN
0.135MAX
0.125MIN
¡æ ¡ç
¡æ ¡ç
0~15¢ª
0.270MAX
0.250MIN
0.3TYP
0.012MAX
0.008MIN
Outline (Unit : Inch)
Fig 1-10 24Skinny DIP Pin Dimension
0.170MAX
0.616MAX
0.595MIN
0.020MAX
0.014MIN
0.05TYP
0.018MAX
0.004MIN
1 2 3 4 5 6 7 8 9 10 11 12
24 23 22 21 20 19 18 17 16 15 14
13
¡æ ¡ç
¡æ
¡ç
0.299MAX
0.292MIN
0.419MAX
0.398MIN
0.0125MAX
0.0091MIN
0.042MAX
0.016MIN
Outline (Unit : Inch)
0.104MAX
0.093MIN
1 - 7
Pin Function
Pin Description and Circuit
Pin Description
I/O
Connected to 2.2~4.5V power supply at KHz and MHz version or 4.0 ~ 5.5V power supply at WIDE version.
Connected to 0V power supply. Used to input a manual reset. When the pin goes "L",
the D-output ports and REMOUT-output port are initialized to "L", and ROM address is set to address 0 on page 0. For programming, this pin receives 12.5V programming voltage.
4-bit input port. STOP mode is released by "L" input of each pin.
The output is the structure of N-channel-open-drain. 4-bit I/O port. (Input mode is set only when each of them
output "H".) In outputting, each can be set and reset independently(or at once.) The output is in the form of C-MOS. STOP mode is released by "L" input of each pin.
High current output port. The output is in the form of C-MOS. The state of large current on is "H".
Oscillator input. Input to the oscillator circuit and connection point for ceramic resonator. Internal capacitors available at KHz version. A feedback resistor is connected between this pin and OSC2.
Connect a resonator between this pin and OSC1.
V
DD
GND
RESET
K0~K3
D0~D9
R0~R3
REMOUT
OSC1
OSC2
Input
Input
Output
I/O
Output
Input
Output
-
-
Chapter 1. Introduction
1 - 8
I/O circuit types and options
Hysteresis Input Type. Built in pull-up-resistor, Typical 800
§Ú
Reset/Vpp I
Pin I/O Note
¡æ ¡ç
¡æ ¡ç
CMOS output. "H" output at reset. Built in MOS Tr for pull-up about 120§Ú.
R0~R3 I/O
Built in MOS Tr for pull-up About 120§Ú.
K0~K3 I
Open drain output. "L" output at reset.
D0~D9
O
¡æ ¡ç
CMOS output. "L" output at reset. High current output source.
REMOUT O
I/O circuit
¡ç
¡æ ¡ç
¡æ
¡ç
¡æ ¡ç
¡æ
pull-up
Chapter 1. Introduction
pull-up
1 - 9
Built in feedback-resistor about 1
§Û
OSC2 O
Pin I/O Note
Built in resonance Capacitor at KHz version C1=C2 = 100pF ¡¾15% [C1,C2 are not available for MHz and WIDE version]
OSC1 I
I/O circuit
Built in damping-resistor Rd = 4
§Ú
[No resistor in MHz operation]
¡æ
¡ç
¡æ
¡ç
¡è ¡è
OSC2
Rd
C2
Rf
C1
OSC1
STOP
Chapter 1. Introduction
Frequency Resonator Maker Part Name Load Capacitor
320KHz CQ ZTB320D C1=C2=Open
ZTB500E C1=C2=Open500KHz CQ
3.43MHz CQ ZTA3.43MG C1=C2=30pF TDK FCR3.52M5 C1=C2=33pF
CQ ZTA3.64MG C1=C2=30pF
3.84MHz
TDK FCR3.64M5 C1=C2=33pF
CQ ZTA3.84MG C1=C2=30pF
TDK FCR3.84M5 C1=C2=33pF
CQ recommend 430KHz~500KHz resonator
3.52MHz
3.64MHz
4.00MHz CQ ZTA4.00MG C1=C2=30pF
1 - 10
Parameter
Supply Voltage Programming Voltage Power dissipation
Storage temperature range Input voltage Output voltage
Unit
V V
mW
¡É
V V
Electrical Characteristics
Absolute maximum ratings (Ta = 25¡É)
Symbol
V
DD
V
PP
P
D
Tstg
V
IN
V
OUT
Max. rating
-0.3 ~ 7.0
-0.3 ~ 13.5 700 *
-55 ~ 125
-0.3 ~ VDD+0.3
-0.3 ~ VDD+0.3
* Thermal derating above 25¡É : 6mW per degree ¡É rise in temperature.
Parameter
Supply Voltage
Operating temperature
Unit
V
¡É
Recommended operation condition
Rating
2.2 ~ 4.5
2.2 ~ 4.5
4.0 ~ 5.5
-20 ~ +70
Chapter 1. Introduction
Condition
300 ~ 500KHz
2.4 ~ 4MHz
300KHz ~ 4.2MHz
-
Symbol
V
DD
Topr
Loading...
+ 34 hidden pages