GMS97C1051 Hynix Semiconductor, GMS97C1051 Datasheet

no-image

GMS97C1051

Manufacturer Part Number
GMS97C1051
Description
ROM/RAM size:2 Kb/128 bytes,4.25-5.5 V, 12 MHz, 8-bit microcontroller
Manufacturer
Hynix Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
GMS97C1051-24
Manufacturer:
HONOR Electronics
Quantity:
3 200
Part Number:
GMS97C1051-I24
Manufacturer:
HYUNDAI
Quantity:
40
Part Number:
GMS97C1051D-24P
Manufacturer:
HYUNDAI
Quantity:
20 000
Part Number:
GMS97C1051D-I
Manufacturer:
HYUNDAI
Quantity:
5
Part Number:
GMS97C1051D-I24
Manufacturer:
HYUNDAI
Quantity:
10 200
8-Bit CMOS Microcontorller
Features
 Compatible with MCS-51
 2 Kbytes of programmable EPROM
 4.25V to 5.5V Operating Range (GMS97C2051)
2.70V to 3.6V Operating Range (GMS97L2051)
 Version for 12MHz / 24 MHz Operating frequency (GMS97C2051)
Only 12MHz Operating frequency (GMS97L2051)
 Two-Level Program Memory Lock with encryption array
 128 bytes SRAM
 15 Programmable I/O Lines
 Two 16-Bit Timer/Counters
 Programmable serial USART
 Five Interrupt Sources
 Direct LED Drive Outputs
 On-Chip Analog Comparator
 Low Power Idle and Power Down Modes
Description
The GMS97C2051/L2051 is a high-performance CMOS 8-bit microcontroller with 2Kbytes of programmable
EPROM. The device is compatible with the industry standard MCS-51
DAI MicroElectronics GMS97C2051/L2051 is a powerful microcontroller which provides a highly flexible and
cost effective solution to many embedded control applications. The GMS97C2051/L2051 provides the following
standard features: 2Kbytes of EPROM, 128 bytes of RAM, 15 I/O lines, two 16-bit timer/counters, a five vector
two-level interrupt architecture, a full duplex serial port, a precision analog comparator, on-chip oscillator and
clock circuitry. In addition, the GMS97C2051/L2051 supports two software selectable power saving modes. The
Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue
functioning. The Power Down Mode saves the RAM contents but freezes the oscillator disabling all other chip
functions until the next hardware reset.
Pin Configuration
(RXD) P3.0
(TXD) P3.1
(
(
INT0
INT1
(T0) P3.4
(T1) P3.5
XTAL2
XTAL1
) P3.3
)P3.2
GND
RST
1
2
3
4
5
6
7
8
9
10
PDIP/SOP
20
19
18
17
16
15
14
13
12
11
TM
Products
VCC
P1.7
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1 (AIN1)
P1.0 (AIN0)
P3.7
1
TM
instruction set and pinout. The HYUN-
HYUNDAI MicroElectonics
GMS97C2051/L2051

Related parts for GMS97C1051

GMS97C1051 Summary of contents

Page 1

CMOS Microcontorller Features  Compatible with MCS-51 TM Products  2 Kbytes of programmable EPROM  4.25V to 5.5V Operating Range (GMS97C2051) 2.70V to 3.6V Operating Range (GMS97L2051)  Version for 12MHz / 24 MHz Operating frequency (GMS97C2051) Only ...

Page 2

GMS97C2051/L2051 Block Diagram VCC RAM ADDR GND B ACC REGISTER TMP2 TIMING INSTRUCTION AND RST REGISTER CONTROL ANALOG COMPARATOR + _ OSC HYUNDAI MicroElectronics 8-Bit CMOS Microcontroller RAM EPROM STACK POINTER TMP1 ALU INTERRUPT, SERIAL PORT AND TIMER BLOCKS PSW ...

Page 3

CMOS Microcontorller Pin Description Vcc Supply voltage. GND Ground. Port 1 Port 8-bit bidirectional I/O port. Port pins P1.2 to P1.7 provide internal pullups. P1.0 and P1.1 re- quire external pullups. P1.0 and P1.1 also serve ...

Page 4

GMS97C2051/L2051 Special Function Registers A map of the on-chip memory area called the Special Function Register (SFR) space is shown in the Table1, Table 2 and Table 3. Note that not all of the addresses are occupied, and unoccupied addresses ...

Page 5

CMOS Microcontorller Table 2. Bit Assignment of SFRs Address Register Bit7 Bit6 DPL H 83 DPH H 87 PCON SMOD H 88 TCON TF1 TR1 H 89 TMOD GATE TL0 H ...

Page 6

GMS97C2051/L2051 Table 3. SFR lists and their addresses Symbol * ACC Accumulator * B B Register DPH Data Pointer High Byte DPL Data Pointer Low Byte * PSW Program Status Word SP Stack Pointer * IE Interrupt Enable Control * ...

Page 7

CMOS Microcontorller Figure 3. Time/Counter 0 and 1 Input Clock Logic  fosc 12 P3.4/T0 P3.5/T1 max fosc/24 TR 0/1 TCON Gate =1 TMOD P3.2/INT0 P3.3/INT1 Serial Interface (USART) The serial port is full duplex, meaning it can trans- ...

Page 8

GMS97C2051/L2051 Table 6. Formulas for calculating Baud rates Baud Rate Serial Port Mode generated from Oscillator Timer1 (Timer1 Mode2) Interrupt System The GMS97C2051/L2051 provides 5 interrupt sources ( two external interrupts, two timer inter- rupts and serial port interrupt ) ...

Page 9

CMOS Microcontorller Table 7. Interrupt Sources and their corresponding Interrupt Vectors Interrupt External interrupt 0 Timer0 External Interrupt 1 Timer1 Serial Port Interrupt System Reset Table 8. Interrupt Priority-Within-Level Interrupt Source External interrupt 0 Timer0 interrupt External Interrupt 1 ...

Page 10

GMS97C2051/L2051 Idle Mode In idle mode, the CPU puts itself to sleep while all the on-chip peripherals remain active. The mode is in- voked by software. The content of the on-chip RAM and all the special functions registers remain unchanged ...

Page 11

CMOS Microcontorller Programming The EPROM The GMS97C2051/L2051 is programmed by using a TM modified Quick-Pulse Programming differs from older methods in the value used for V (programming supply voltage) and in the width and number of the P3.2( PROG ...

Page 12

GMS97C2051/L2051 Lock Bit Protection Modes Program Lock Bits LB1 LB2 Protection Type program lock features. Further programming of the EPROM is disabled. Same as mode 2, also verify disabled. ...

Page 13

... V 12 CLCL AVGL CLCL DVGL CLCL GHDX CLCL EHSH CLCL t 10 SHGL t 10 GHSL t 90 GLGH t 10 GHGL t ELQV t 0 EHQZ T = 21 HYUNDAI MicroElectonics GMS97C2051/L2051 5V GMS97C1051 V CC PGM P1 DATA RST 5V Max Units 13 MHz us us 110 CLCL 48 t CLCL = 5.0  10% CC ...

Page 14

GMS97C2051/L2051 EPROM Programming and Verification Waveforms Figure 7. EPROM Programming and Verification Programming VPP RST t SHGL (VPP) t EHSH P3.2 (PROG) t GLGH P3.4 t DVGL (ENABLE) DATA IN PORT1 t AVGL P3.0 Figure 8. Programming Waveform P3.2/ PROG ...

Page 15

CMOS Microcontorller Absolute Maximum Ratings Ambient temperature  under bias (T .)....................... - Storage temperature (T ) ..... -65 ST Voltage on V pin CC with respect to Ground(V )...........-0.5V to 6.5V SS Voltage on any ...

Page 16

GMS97C2051/L2051 D.C. Characteristics (5V Version) Vcc = 4.25V to 5.5V, Vss= 0V GMS97C2051/C1051 Parameter Symbol Input Low Voltage Input High Voltage (Except XTAL1, RST) Input High Voltage V (XTAL1, RST) Output Low Voltage (ports 1,3) Output ...

Page 17

CMOS Microcontorller D.C. Characteristics (3V Version) O Vcc = 2.7V to 3.6V, Vss= 0V GMS97L2051/L1051 Parameter Symbol Input Low Voltage Input High Voltage (Except XTAL1, RST) Input High Voltage V (XTAL1, RST) Output Low Voltage ...

Page 18

GMS97C2051/L2051 External Clock drive waveforms t CHCX 0.1V CC 0.45V External Clock Drive Symbol Parameter 1/t Oscillator Frequency CLCL t Clock Period CLCL t High Time CHCX t Low ...

Page 19

CMOS Microcontorller Package Dimension 20 PDIP 20 SOP GMS97C2051/L2051 unit : mm ( inch ) 19 HYUNDAI MicroElectronics ...

Page 20

GMS97C2051/L2051 Ordering Information Speed ( MHz) Power Supply 12 2.7V to 3.6V GMS97L2051 GMS97L2051-D 4.25V to 5.5V GMS97C2051 GMS97C2051-D 24 4.25V to 5.5V GMS97C2051-24 GMS97C2051-24D  20 Lead, 0.300 Wide, Plastic Dual Inline Package (PDIP) 20 PDIP  20 Lead, ...

Page 21

... In addition, the GMS97C1051/L1051 supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power Down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset ...

Page 22

... GMS97C1051/L1051 Block Diagram VCC RAM ADDR GND B ACC REGISTER TMP2 TIMING INSTRUCTION AND RST REGISTER CONTROL ANALOG COMPARATOR + _ OSC HYUNDAI MicroElectronics 8-Bit CMOS Microcontroller RAM EPROM STACK POINTER TMP1 ALU INTERRUPT , TIMER BLOCKS PSW PORT 3 PORT 1 LATCH LATCH PORT 1 DRIVERS PORT 3 DRIVERS P1 ...

Page 23

... As inputs, Port 3 pins that are externally being pulled low will source current (I ) because of the pullups. IL Port 3 also serves the functions of various special fea- ture of the GMS97C1051/L1051 as listed below: Port Pin Alternate Functions P3.2 INT0 (external interrupt 0) P3.3 INT1 (external interrupt 1) P3 ...

Page 24

... Note that not all of the addresses are occupied, and unoccupied addresses may not be implemented on the chip. Read accesses to these addresses will in general return random data, and write accesses will have an indeterminate effect. Table 1. GMS97C1051/L1051 SFR Map and Reset Values 0F8H B 0F0H 00000000 ...

Page 25

... H E0 ACC Bit5 Bit4 Bit3 - - - GF1 - TF0 TR0 IE1 - - - GATE - - - - - - - - AC F0 RS1 RS0 25 GMS97C1051/L1051 Bit2 Bit1 Bit0 GF0 PD IDLE IT1 IE0 IT0 EX1 ET0 EX0 PX1 PT0 PX0 This Bit Location is reserved Bit manipulation is available Bit manipulation is not available HYUNDAI MicroElectronics ...

Page 26

... TL0 Timer/Counter 0 Low Bytes * TMOD Timer/Counter Mode Control Timer/Counter 0 The GMS97C1051/L1051 has one 16-bit Timer/ Counter register : Timer0 . As a Timer, the register is incremented every machine cycle. Thus, the register counts machine cycle. Since a machine cycle consists of 12 oscillator periods, the count rate is 1/12 of the oscillator frequency ...

Page 27

... TMOD P3.2/INT0 P3.3/INT1 Interrupt System The GMS97C1051/L1051 provides 3 interrupt sources ( two external interrupts and timer inter- rupt ) with two priority levels. Figure 4 gives a general overview of the interrupt sources and illus- trates the request and control flags. A low-priority interrupt can itself be interrupted by a high-priority interrupt, but not by another low priority interrupt ...

Page 28

... MOVX-related instructions, Data Memory: The GMS97C1051/L1051 contains 64 bytes of internal data memory. Thus, in the GMS97C1051/L1051 the stack depth is limited to 64 bytes, the amount of avail- able RAM. External DATA memory access is not ...

Page 29

... Power-down Mode ORL PCON, #02H GMS97C1051/L1051 Power Down Mode GMS97C1051/L1051 have two power saving modes, Idle and Power Down. The bits PD and IDLE of the register PCON select the Power Down mode and the Idle mode, respectively are written to PD and IDLE at the same time, PD takes precedence. Table 7 gives a general overview of the Power saving modes ...

Page 30

... GMS97C1051/L1051 Programming The EPROM The GMS97C1051/L1051 is programmed by using a TM modified Quick-Pulse Programming differs from older methods in the value used for V (programming supply voltage) and in the width and number of the P3.2( PROG ) . The GMS97C1051/L1051 contains two signature bytes that can be read and used by an EPROM pro- gramming system to identify the device ...

Page 31

... The signature bytes are read by the same procedure as a normal verification of locations 000H and 001H, except that P3.5 and P3.7 need to be pulled to a logic low. Manufacturer ID: (00H) = E0H ( Indicates manufactured by HEI ) Device ID: (01H) = 16H ( Indicates GMS97C1051/L1051 ) P3.3 P3.4 P3.2/ PROG 1 0 ...

Page 32

... GND Symbol Min V 12 CLCL AVGL CLCL DVGL CLCL GHDX CLCL EHSH CLCL t 10 SHGL t 10 GHSL t 90 GLGH t 10 GHGL t ELQV t 0 EHQZ T = 21 GMS97C1051 V CC PGM P1 DATA RST 5V Max Units 13 MHz us us 110 CLCL 48 t CLCL = 5.0  10% CC ...

Page 33

... EHSH P3.2 (PROG) t GLGH P3.4 t DVGL (ENABLE) DATA IN PORT1 t AVGL P3.0 Figure 8. Programming Waveform P3.2/ PROG P3.2/ PROG Verification LOGIC 1 LOGIC 0 t GHSL t GHGL t GHDX t ELQV DATA OUT Address (N) 10 PULSES    10 MIN 100 ± HYUNDAI MicroElectronics GMS97C1051/L1051 t EHQZ Address (N+1) ...

Page 34

... GMS97C1051/L1051 Absolute Maximum Ratings Ambient temperature  under bias (T .)....................... - Storage temperature (T ) ..... -65 ST Voltage on V pin CC with respect to Ground(V ).........-0.5V to +6.6V SS Voltage on any pin with respect to Ground(V )... -0. Input Current on any pin during overload condition.........-10mA to +10mA Absolute sum of all input current during overload condition................... | 100 mA | ...

Page 35

... I -750 1uA 200 Vcc Icc Icc Ipd 100 uA 35 GMS97C1051/L1051 for the Test Condition I =10mA,Vcc= -80uA, Vcc=5V 10 -30uA -12uA OH V =0.45V IN V =2V IN 0<V <Vcc IN Vcc=5V O Test Freq.=1MHz, TA=25 C Vcc=5.0V Vcc=5.0V, P1.0&P1.1=0 or Vcc Vcc=5.0V Vcc=5.0V, P1.0&P1.1=0 or Vcc Vcc=5.0V, P1.0&P1.1=0 or Vcc ...

Page 36

... GMS97C1051/L1051 D.C. Characteristics (3V Version) O Vcc = 2.7V to 3.6V, Vss= 0V GMS97L2051/L1051 Parameter Symbol Input Low Voltage Input High Voltage (Except XTAL1, RST) Input High Voltage V (XTAL1, RST) Output Low Voltage (ports 1,3) Output High Voltage V (ports 1,3) Logical 0 Input Current (ports 1,3) Logical 1-to-0 Transition Current ...

Page 37

... LOAD V - 0.1V LOAD - CC Note: 1. For timing purposes, a port pin is no longer floating when a 100mV change from load min. IH voltage occurs. A port pin begins to float when a 100mV change from the loaded V /V level occurs HYUNDAI MicroElectronics GMS97C1051/L1051 t CHCL Units Max 24 MHz 0. Points ...

Page 38

... GMS97C1051/L1051 Package Dimension 20 PDIP 20 SOP HYUNDAI MicroElectronics 8-Bit CMOS Microcontroller unit : mm ( inch ) 38 ...

Page 39

... GMS97C1051-24 GMS97C1051-24D  20 Lead, 0.300 Wide, Plastic Dual Inline Package (PDIP) 20 PDIP  20 SOP 20 Lead, 0.300 Wide, Plastic Gull Wing Small Outline (SOP) Ordering Code Package 20 PDIP 20 SOP 20 PDIP 20 SOP 20 PDIP 20 SOP Package Type 39 HYUNDAI MicroElectronics GMS97C1051/L1051 Operation Range Commercial   ( ...

Related keywords