GMS97C2051 Hynix Semiconductor, GMS97C2051 Datasheet

no-image

GMS97C2051

Manufacturer Part Number
GMS97C2051
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
Company:
Part Number:
GMS97C2051
Quantity:
4 632
Company:
Part Number:
GMS97C2051
Quantity:
5 632
Part Number:
GMS97C2051 24-P
Manufacturer:
HYUNDAI
Quantity:
3 000
Part Number:
GMS97C2051D-24
Manufacturer:
HYUNDAI
Quantity:
20 000
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 GMS97C2051

GMS97C2051 Summary of contents

Page 1

... 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 ...

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 PORT 3 PORT 1 LATCH LATCH ...

Page 3

... 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 GMS97C2051 as listed below: Port Pin Alternate Functions RXD ( serial input port ) P3.0 TXD ( serial output port ) P3 ...

Page 4

... 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. GMS97C2051/L2051 SFR Map and Reset Values 0F8H B 0F0H 00000000 ...

Page 5

... GF1 TF0 TR0 IE1 M1 M0 GATE T SM2 REN TB8 - - ES ET1 - - PS PT1 AC F0 RS1 RS0 5 HYUNDAI MicroElectonics GMS97C2051/L2051 Bit2 Bit1 Bit0 GF0 PD IDLE IT1 IE0 IT0 RB8 TI RI EX1 ET0 EX0 PX1 PT0 PX0 This Bit Location is reserved Bit manipulation is available ...

Page 6

... Timer/Counter 1 Low Bytes * TMOD Timer/Counter Mode Control Timer/Counter 0 and 1 The GMS97C2051/L2051 has two 16-bit Timer/ Counter register : Timer0 and Timer1 . 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 7

... Eleven bits are transmitted through TXD, or received through RXD  a start bit (0), 8 data bits (LSB first), a programmable ninth data bit , and a stop bit (1) 9-bit UART : The same as Mode 2 except the variable baud rate. 7 HYUNDAI MicroElectonics GMS97C2051/L2051 fosc/12 Timer 0/1 Input Clock ...

Page 8

... Oscillator Timer1 (Timer1 Mode2) Interrupt System The GMS97C2051/L2051 provides 5 interrupt sources ( two external interrupts, two timer inter- rupts and serial port interrupt ) with two priority levels. Figure 4 gives a general overview of the interrupt sources and illustrates the request and control flags. ...

Page 9

... MOVX-related instructions, Data Memory: The GMS97C2051/L2051 contains 128 bytes of inter- nal data memory. Thus, in the GMS97C2051/L2051 the stack depth is limited to 128 bytes, the amount of available RAM. External DATA memory access is SJMP, ...

Page 10

... ORL PCON, #02H HYUNDAI MicroElectronics 8-Bit CMOS Microcontroller Power Down Mode GMS97C2051/L2051 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 ...

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 ) . The GMS97C2051/L2051 contains two signature bytes that can be read and used by an EPROM pro- gramming system to identify the device ...

Page 12

... 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) = 26H ( Indicates GMS97C2051/L2051 ) P3.3 P3.4 P3.2/ PROG 1 0 ...

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 P3.2/ PROG HYUNDAI MicroElectronics 8-Bit CMOS Microcontroller Verification LOGIC 1 ...

Page 15

... Exposure to absolute maximum rating conditions for longer periods may affect device reliability. During overload conditions +0. > Vcc or V < Vss ) the voltage on Vcc pins with IN IN respect to ground (Vss) must not exceed the values defined by the absolute maximum ratings. 15 HYUNDAI MicroElectonics GMS97C2051/L2051 ...

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 High Voltage V (ports 1,3) Logical 0 Input Current (ports 1,3) Logical 1-to-0 Transition Current ...

Page 17

... Vcc+0.5 V IH1 V 0. 0.75Vcc V OH 0.9Vcc I - -750 1uA 200 Vcc Icc Ipd HYUNDAI MicroElectonics GMS97C2051/L2051 for the Test Condition I =6mA,Vcc=2. -30uA -12uA OH V =0.45V IN V =2V IN 0<V <Vcc IN Vcc=3V O Test Freq.=1MHz, TA=25 C Vcc=3V Vcc=3V, P1.0&P1.1=0 or Vcc Vcc=3V, P1.0&P1.1=0 or Vcc ...

Page 18

... Note Inputs during testing are driven at V 0.5V for a logic 1 and 0.45V for a logic 0. Timing measurements are made at V for a logic 1 and V max. for a logic 0. IL HYUNDAI MicroElectronics 8-Bit CMOS Microcontroller t CHCX t CLCH t CLCX t CLCL GMS97L2051/L1051 GMS97C2051/C1051 Min Max Min 83.3 41 ...

Page 19

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

Page 20

... 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, 0.300 Wide, Plastic Gull Wing Small Outline (SOP) 20 SOP HYUNDAI MicroElectronics 8-Bit CMOS Microcontroller Ordering Code ...

Page 21

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

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 ...

Page 23

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 24

GMS97C1051/L1051 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 25

CMOS Microcontorller Table 2. Bit Assignment of SFRs Address Register Bit7 Bit6 DPL H 83 DPH H 87 PCON - H 88 TCON - H 89 TMOD - H 8A TL0 H 8C TH0 H ...

Page 26

GMS97C1051/L1051 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 27

CMOS Microcontorller Figure 3. Time/Counter 0 Input Clock Logic  fosc 12 P3.4/T0 max fosc/ TCON Gate =1 TMOD P3.2/INT0 P3.3/INT1 Interrupt System The GMS97C1051/L1051 provides 3 interrupt sources ( two external interrupts and timer inter- rupt ...

Page 28

GMS97C1051/L1051 Table 5. Interrupt Sources and their corresponding Interrupt Vectors Interrupt External interrupt 0 Timer0 External Interrupt 1 System Reset Table 6. Interrupt Priority-Within-Level Interrupt Source External interrupt 0 Timer0 interrupt External Interrupt 1 Restrictions on Certain Instructions The GMS97C1051/L1051 ...

Page 29

CMOS Microcontorller 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 ...

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 ) . ...

Page 31

CMOS Microcontorller 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 ...

Page 32

GMS97C1051/L1051 Figure 5. Programming the EPROM Memory GMS97C1051 P3 Increment P1 Address Counter PROG P3.2 P3.3 See EPROM P3.4 Programming Modes Tables P3.5 P3.7 XTAL1 4~6MHz RST XTAL2 GND EPROM Programming and Verification Characteristics Table 9. EPROM ...

Page 33

CMOS Microcontorller 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 ...

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 ...

Page 35

... CMOS Microcontorller 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 High Voltage V (ports 1,3) Logical 0 Input Current (ports 1,3) ...

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) ...

Page 37

... TEST POINTS 0.2V - 0.1V CC 0.45V Note Inputs during testing are driven at V 0.5V for a logic 1 and 0.45V for a logic 0. Timing measurements are made at V for a logic 1 and V max. for a logic CHCX t CLCH t CLCX t CLCL GMS97L2015/L1051 GMS97C2051/C1051 Min Max Min 83.3 41 (1) ...

Page 38

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

Page 39

CMOS Microcontorller Ordering Information Speed ( MHz) Power Supply 12 2.7V to3.6V GMS97L1051 GMS97L1051-D 4.25V to 5.5V GMS97C1051 GMS97C1051-D 24 4.25V to 5.5V GMS97C1051-24 GMS97C1051-24D  20 Lead, 0.300 Wide, Plastic Dual Inline Package (PDIP) 20 PDIP  20 ...

Related keywords