GMS97C2051 Hynix Semiconductor, GMS97C2051 Datasheet
GMS97C2051
Available stocks
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 ...