97C2051 Hynix Semiconductor, 97C2051 Datasheet

no-image

97C2051

Manufacturer Part Number
97C2051
Description
Manufacturer
Hynix Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
97C2051
Manufacturer:
HAR
Quantity:
20 000
www.DataSheet4U.com
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 97C2051

97C2051 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 REGISTER TIMING AND RST CONTROL OSC HYUNDAI MicroElectronics RAM ACC TMP2 TMP1 ALU INTERRUPT, SERIAL PORT AND TIMER BLOCKS PSW INSTRUCTION REGISTER PORT 1 ANALOG LATCH COMPARATOR + _ PORT 1 DRIVERS P1.0-P1.7 2 8-Bit CMOS Microcontroller EPROM ...

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 P3.0 RXD ( serial input port ) 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

... Bit7 Bit6 Bit5 Bit4 SMOD - - - TF1 TR1 TF0 TR0 GATE SM0 SM1 SM2 REN RS1 5 GMS97C2051/L2051 Bit3 Bit2 Bit1 Bit0 GF1 GF0 PD IDLE IE1 IT1 IE0 IT0 GATE TB8 RB8 TI RI ET1 EX1 ET0 EX0 PT1 PX1 PT0 PX0 RS0 This Bit Location is reserved ...

Page 6

... PSW * SCON * TCON * TMOD 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

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

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

Page 10

... Idle mode Power-down Mode HYUNDAI MicroElectronics 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. Table 9 gives a general overview of the Power saving modes ...

Page 11

... CMOS Microcontorller Programming The EPROM The GMS97C2051/L2051 is programmed by using a 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

... P3.5 and P3.7 need to be pulled to a logic low. Protection Type Manufacturer ID: (00H) = E0H ( Indicates manufactured by HEI ) No program lock features. Further programming of the Device ID: EPROM is disabled. (01H) = 26H ( Indicates GMS97C2051/L2051 ) Same as mode 2, also verify is disabled. RST P3.3 P3.2/ PROG ...

Page 13

... Programming Modes Tables 4~6MHz RST Vpp Symbol CLCL t AVGL t DVGL t GHDX t PP EHSH t SHGL t GHSL t GLGH t GHGL t ELQV t EHQZ 13 GMS97C2051/L2051 5V GMS97C1051 P3 PGM P1 DATA 5V P3.2 P3.3 P3.4 P3.5 P3.7 XTAL1 RST 5V XTAL2 GND Min Max Units 12.5 13 MHz 48 t CLCL 48 t CLCL ...

Page 14

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

Page 15

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

Page 16

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

Page 17

... IL V 0.5Vcc-0.1 Vcc+0 0.7Vcc Vcc+0.5 IH1 V 0. 0.75Vcc OH 0.9Vcc I - -750 TL I 1uA LI V 200 Vcc Icc 10 Iccidle 5 Ipd 50 17 GMS97C2051/L2051 for the Unit Test Condition =6mA,Vcc=2. -30uA -12uA =0.45V = 0<V <Vcc IN mV Vcc= Test Freq.=1MHz, TA= Vcc=3V mA Vcc=3V, P1.0&P1.1=0 or Vcc uA Vcc=3V, P1.0& ...

Page 18

... Float Waveforms 0. TEST POINTS LOAD 0. Note: 1. For timing purposes, a port pin is no longer min. IH max. for a logic 8-Bit CMOS Microcontroller t t CHCX CHCL t CLCL GMS97C2051/C1051 Min Max 41 ( 0.1V V LOAD OL Timing Reference Points - 0. LOAD OL floating when a 100mV change from load voltage occurs ...

Page 19

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

Page 20

... PDIP 20 Lead, 0.300 20 Lead, 0.300 20 SOP HYUNDAI MicroElectronics Ordering Code GMS97L2051 GMS97L2051-D GMS97C2051 GMS97C2051-D GMS97C2051-24 GMS97C2051-24D Package Type  Wide, Plastic Dual Inline Package (PDIP)  Wide, Plastic Gull Wing Small Outline (SOP) 20 8-Bit CMOS Microcontroller Package Operation Range 20 PDIP 20 SOP ...

Page 21

CMOS Microcontorller Features  Compatible with MCS- 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 12MHz ...

Page 22

GMS97C1051/L1051 Block Diagram VCC RAM ADDR GND B REGISTER TIMING AND RST CONTROL OSC HYUNDAI MicroElectronics RAM ACC TMP2 TMP1 ALU INTERRUPT , TIMER BLOCKS PSW INSTRUCTION REGISTER PORT 1 ANALOG LATCH COMPARATOR + _ PORT 1 DRIVERS P1.0-P1.7 ...

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

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

Page 25

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

Page 26

GMS97C1051/L1051 Table 3. SFR lists and their addresses Symbol * ACC * PSW * TCON * TMOD Timer/Counter 0 The GMS97C1051/L1051 ...

Page 27

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

Page 28

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

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

Page 30

GMS97C1051/L1051 Programming The EPROM The GMS97C1051/L1051 is programmed by using a 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 ...

Page 31

CMOS Microcontorller Lock Bit Protection Modes Program Lock Bits LB1 LB2 unprogrammed programmed EPROM Programming Modes Table 8. EPROM Programming Modes Mode Read Signature Program ...

Page 32

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

Page 33

CMOS Microcontorller EPROM Programming and Verification Waveforms Figure 7. EPROM Programming and Verification RST (VPP) t EHSH P3.2 (PROG) t GLGH P3.4 t DVGL (ENABLE) PORT1 t AVGL P3.0 Figure 8. Programming Waveform P3.2/ PROG P3.2/ PROG Programming ...

Page 34

GMS97C1051/L1051 Absolute Maximum Ratings Ambient temperature under bias (T .)....................... - 40 A Storage temperature (T Voltage on V pin CC with respect to Ground(V Voltage on any pin with respect to Ground(V Input Current on any pin during ...

Page 35

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

Page 36

GMS97C1051/L1051 D.C. Characteristics (3V Version) Vcc = 2.7V to 3.6V, Vss= 0V, T GMS97L2051/L1051 Parameter Input Low Voltage Input High Voltage ...

Page 37

... Float Waveforms 0. TEST POINTS LOAD 0. Note: 1. For timing purposes, a port pin is no longer min. IH max. for a logic GMS97C1051/L1051 t t CHCX CHCL t CLCL GMS97C2051/C1051 Min Max 41 ( 0.1V V LOAD OL Timing Reference Points - 0. LOAD OL floating when a 100mV change from load voltage occurs. A port pin begins to float ...

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 4.25V to 5.5V 24 4.25V to 5.5V 20 Lead, 0.300 20 PDIP 20 SOP 20 Lead, 0.300 Ordering Code GMS97L1051 GMS97L1051-D GMS97C1051 GMS97C1051-D GMS97C1051-24 GMS97C1051-24D Package ...

Related keywords