Page 2 - 001 Hynix semiconductor All right reserved.
Version 3.1a Published byMCU Application Team 2001 Hynix semiconductor All right reserved. Additional information of this manual may be served by Hynix semiconductor offices in Korea or Distributorsand Representatives listed at address directory. Hynix semiconductor reserves the right to mak...
Page 3 - Device Naming Structure; XX
GMS90 Series Oct. 2000 Ver 3.1a Device Naming Structure GMS90X5X Frequency Package Type Blank: 24:40: 12MHz 24MHz40MHz Blank:PL:Q: 40PDIP44PLCC44MQFP ROM Code serial No. ROM size 1:2:4: 4k bytes8k bytes16k bytes 6:8: 24k bytes32k bytes Operating Voltage C:L: 4.25~5.5V2.7~3.6V H y n ix s emi c on du ...
Page 4 - GMS90 Series Selection Guide
GMS90 Series Oct. 2000 Ver 3.1a GMS90 Series Selection Guide Operating Voltage (V) ROM size (bytes) RAM size (bytes) Device Name Operating Frequency (MHz) MASK OTP 4.25~5.5 ROM-less 128256 GMS90C31GMS90C32 12/24/4012/24/40 4K8K16K24K32K ----- 128256256256256 GMS90C51GMS90C52GMS90C54GMS90C56GMS90C58 ...
Page 5 - Block Diagram; RAM
GMS90 Series Oct. 2000 Ver 3.1a 1 GMS90C31/51, 97C51GMS90L31/51, 97L51 (Low voltage versions) • Fully compatible to standard MCS-51 microcontroller • Wide operating frequency up to 40MHz (for more detail, see “GMS90 Series Selection Guide”) • 4K × 8 (EP)ROM • 128 × 8 RAM • 64K external program memor...
Page 8 - PIN CONFIGURATION
GMS90 Series 4 Oct. 2000 Ver 3.1a PIN CONFIGURATION 44-PLCC Pin Configuration (top view) P0.4 / AD4 P0.5 / AD5 P0.6 / AD6 P0.7 / AD7 EA / V PP N.C.* ALE / PROG PSEN P2.7 / A15 P2.6 / A14 P2.5 / A13 P1.5 P1.6 P1.7 RESET RxD / P3.0 N.C.* TxD / P3.1 INT0 / P3.2 INT1 / P3.3 T0 / P3.4 T1 / P3.5 WR /P 3 ....
Page 11 - Logic Symbol
GMS90 Series Oct. 2000 Ver 3.1a 7 Logic Symbol XTAL1 XTAL2 RESET Port 08-bit Digital I/O Port 18-bit Digital I/O Port 28-bit Digital I/O Port 38-bit Digital I/O EA/V PP ALE/PROG PSEN V CC V SS
Page 12 - PIN DEFINITIONS AND FUNCTIONS; Symbol; Timer/counter 2 external count input
GMS90 Series 8 Oct. 2000 Ver 3.1a PIN DEFINITIONS AND FUNCTIONS Symbol Pin Number In p u t/ O u tp u t Function PLCC- 44 PDIP- 40 MQFP- 44 P1.0-P1.7 2-9 23 2 1-8 12 1 40-44, 1-3 4041 40 I/O Port1Port 1 is an 8-bit bidirectional I/O port with internalpull-ups. Port 1 pins that have 1s written to them...
Page 13 - permits power-on reset using
GMS90 Series Oct. 2000 Ver 3.1a 9 XTAL1 21 19 15 I XTAL1Input to the inverting oscillator amplifier and input tothe internal clock generator circuits.To drive thedevice from an external clock source, XTAL1 shouldbe driven, while XTAL2 is left unconnected. There areno requirements on the duty cycle o...
Page 15 - FUNCTIONAL DESCRIPTION; Figure 1 shows a block diagram of the GMS90 series
GMS90 Series Oct. 2000 Ver 3.1a 11 FUNCTIONAL DESCRIPTION The GMS90 series is fully compatible to the standard 8051 microcontroller family. It is compatible with the general 8051 family. While maintaining all architectural and operational characteristicsof the general 8051 family. Figure 1 shows a b...
Page 16 - CPU; Special Function Register PSW; Reset value of PSW is 00; CY; PSW
GMS90 Series 12 Oct. 2000 Ver 3.1a CPU The GMS90 series is efficient both as a controller and as an arithmetic processor. It has extensive facilities forbinary and BCD arithmetic and excels in its bit-handling capabilities. Efficient use of program memory resultsfrom an instruction set consisting of...
Page 17 - SPECIAL FUNCTION REGISTERS
GMS90 Series Oct. 2000 Ver 3.1a 13 SPECIAL FUNCTION REGISTERS All registers, except the program counter and the four general purpose register banks, reside in the special func-tion register area. The 28 special function registers (SFR) include pointers and registers that provide an interface between...
Page 23 - TIMER / COUNTER 0 AND 1
GMS90 Series Oct. 2000 Ver 3.1a 19 TIMER / COUNTER 0 AND 1 Timer/Counter 0 and 1 can be used in four operating modes as listed in Table 4: In the "timer" function (C/T = "0") the register is incremented every machine cycle. Therefore the count rate isf OSC /12. In the "counter...
Page 24 - TIMER 2; falling edge; Mode; Off
GMS90 Series 20 Oct. 2000 Ver 3.1a TIMER 2 Timer 2 is a 16-bit timer/Counter with an up/down count feature. It can operate either as timer or as an eventcounter which is selected by bit C/T2 (T2CON.1). It has three operating modes as shown in Table 5. Note: ↓ = falling edge Table 5. Timer/Counter 2 ...
Page 26 - INTERRUPT SYSTEM; Figure 3. Interrupt Request Sources
GMS90 Series 22 Oct. 2000 Ver 3.1a INTERRUPT SYSTEM The GMS90 series provides 5 (4K bytes ROM version) or 6 (above 8K bytes ROM version) interrupt sourceswith two priority levels. Figure 3 gives a general overview of the interrupt sources and illustrates the request andcontrol flags. Figure 3. Inter...
Page 27 - TI; Interrupt Source; High
GMS90 Series Oct. 2000 Ver 3.1a 23 A low-priority interrupt can itself be interrupted by a high-priority interrupt, but not by another low priority in-terrupt. A high-priority interrupt cannot be interrupted by any other interrupt source. If two requests of different priority level are received simu...
Page 28 - Power Saving Modes; In the Power Down mode of operation, V; can be reduced to minimize power consumption. It must be ensured,; is not reduced before the Power Down mode is invoked, and that V; is restored to its normal; is restored to its normal operating; Idle mode
GMS90 Series 24 Oct. 2000 Ver 3.1a Power Saving Modes Two power down modes are available, the Idle Mode and Power Down Mode. The bits PDE and IDLE of the register PCON select the Power Down mode or the Idle mode, respectively. Ifthe Power Down mode and the Idle mode are set at the same time, the Pow...
Page 29 - ELECTRICAL CHARACTERISTICS; Absolute Maximum Ratings; Ambient temperature under bias (T; Voltage on V; pins with respect to ground (V; Voltage on any pin with respect to ground (V; or V
GMS90 Series Oct. 2000 Ver 3.1a 25 ELECTRICAL CHARACTERISTICS Absolute Maximum Ratings Ambient temperature under bias (T A ) ...................................................................................... -40 to + 85 ° C Storage temperature (T ST ) ...............................................
Page 30 - DC Characteristics; Input high voltage to XTAL1
GMS90 Series 26 Oct. 2000 Ver 3.1a DC Characteristics DC Characteristics for GMS90C31/32, GMS90C51/52/54/56/58 V CC = 5V + 10%, -15%; V SS =0V; T A = 0 ° C to 70 ° C Parameter Symbol Limit Values Unit Test Conditions Min. Max. Input low voltage(except EA, RESET) V IL -0.5 0.2V CC - 0.1 V - Input low...
Page 33 - Input low voltage
GMS90 Series Oct. 2000 Ver 3.1a 29 DC Characteristics for GMS90L31/32, GMS90L51/52/54/56/58 V CC = 3.3V + 0.3V, -0.6V; V SS =0V; T A = 0 ° C to 70 ° C Parameter Symbol Limit Values Unit Test Conditions Min. Max. Input low voltage V IL -0.5 0.8 V - Input high voltage V IH 2.0 V CC + 0.5 V - Output lo...
Page 35 - AC Characteristics; Explanation of the AC Symbols; Parameter; Unit
GMS90 Series Oct. 2000 Ver 3.1a 31 AC Characteristics Explanation of the AC Symbols Each timing symbol has 5 characters. The first character is always a ‘t’ (stand for time). The other characters,depending on their positions, stand for the name of a signal or the logical status of that signal. The f...
Page 36 - Address to valid instruction in; ns
GMS90 Series 32 Oct. 2000 Ver 3.1a † Interfacing the GMS90 series to devices with float times up to 75 ns is permissible. This limited bus contention will not cause any damage to port 0 Drivers. Address to valid instruction in t AVIV - 302 - 5t CLCL -115 ns Address float to PSEN t AZPL 0 - 0 - ns Pa...
Page 38 - AC Characteristics for GMS90 series (16MHz version); External Program Memory Characteristics
GMS90 Series 34 Oct. 2000 Ver 3.1a AC Characteristics for GMS90 series (16MHz version) V CC = 3.3V + 0.3V, − 0.6V; V SS = 0V; T A = 0 ° C to 70 ° C (C L for port 0. ALE and PSEN outputs = 50pF; C L for all other outputs = 50pF) External Program Memory Characteristics † Interfacing the GMS90 series t...
Page 40 - AC Characteristics for GMS90 series (24MHz version)
GMS90 Series 36 Oct. 2000 Ver 3.1a AC Characteristics for GMS90 series (24MHz version) V CC = 5V + 10%, − 15%; V SS = 0V; T A = 0 ° C to 70 ° C (C L for port 0. ALE and PSEN outputs = 100pF; C L for all other outputs = 80pF) External Program Memory Characteristics † Interfacing the GMS90 series to d...
Page 42 - AC Characteristics for GMS90 series (33MHz version)
GMS90 Series 38 Oct. 2000 Ver 3.1a AC Characteristics for GMS90 series (33MHz version) V CC = 5V + 10%, − 15%; V SS = 0V; T A = 0 ° C to 70 ° C (C L for port 0. ALE and PSEN outputs = 100pF; C L for all other outputs = 80pF) External Program Memory Characteristics † Interfacing the GMS90 series to d...
Page 44 - AC Characteristics for GMS90 series (40MHz version)
GMS90 Series 40 Oct. 2000 Ver 3.1a AC Characteristics for GMS90 series (40MHz version) V CC = 5V + 10%, − 15%; V SS = 0V; T A = 0 ° C to 70 ° C (C L for port 0. ALE and PSEN outputs = 100pF; C L for all other outputs = 80pF) External Program Memory Characteristics † Interfacing the GMS90 series to d...
Page 46 - Figure 4. External Program Memory Read Cycle; ALE
GMS90 Series 42 Oct. 2000 Ver 3.1a Figure 4. External Program Memory Read Cycle t LHLL t PXAV t PXIZ t PXIX t LLAX t LLIV t PLIV t PLPH t AZPL t LLPL t AVLL A0-A7 INSTR. IN A0-A7 A8-A15 A8-A15 t AVIV ALE PSEN PORT 0 PORT 2
Page 48 - AC Inputs during testing are driven at V; Timing measurements are made a V; occurs and begins to float when a 100mV change from the loaded V
GMS90 Series 44 Oct. 2000 Ver 3.1a Figure 7. AC Testing: Input, Output Waveforms Figure 8. Float Waveforms Figure 9. External Clock Cycle AC Inputs during testing are driven at V CC − 0.5V for a logic ‘1’ and 0.45V for a logic ‘0’. 0.2V CC + 0.9 0.2V CC − 0.1 Test Points V CC − 0.5V 0.45V Timing mea...
Page 49 - OSCILLATOR CIRCUIT; Figure 10. Recommended Oscillator Circuits; 0pF for Crystals
GMS90 Series Oct. 2000 Ver 3.1a 45 OSCILLATOR CIRCUIT Figure 10. Recommended Oscillator Circuits Oscillation circuit is designed to be used either with a ceramic resonator or crystal oscillator. Since each crystaland ceramic resonator have their own characteristics, the user should consult the cryst...
Page 50 - OTP ROM Verification Characteristics; ROM Verification Mode 1; Figure 11. OTP ROM Verification Mode 1
GMS90 Series 46 Oct. 2000 Ver 3.1a OTP ROM Verification Characteristics ROM Verification Mode 1 Figure 11. OTP ROM Verification Mode 1 Parameter Symbol Limit Values Unit Min. Max. Address to valid data t AVQV - 48t CLCL ENABLE to valid data t CLCL - 48t CLCL ns Data float after ENABLE t EHQZ 0 48t C...
Page 51 - EPROM CHARACTERISTICS; fers from older methods in the value used for V; (programming supply voltage) and in the width and number; Reading the Signature Bytes :; need to be pulled to a logic low.; Quick-pulse programming; Device
GMS90 Series Oct. 2000 Ver 3.1a 47 EPROM CHARACTERISTICS The GMS97C5X, 97L5X are programmed by using a modified Quick-Pulse Programming TM algorithm. It dif- fers from older methods in the value used for V PP (programming supply voltage) and in the width and number of the ALE/PROG pulses. The GMS97C...
Page 52 - Figure 12. Programming Configuration; Program Verification; 5 pulses to GND
GMS90 Series 48 Oct. 2000 Ver 3.1a encryption table is disabled. However, the other security bit can still be programmed. Note that the EA/V PP pin must not be allowed to go above the maximum specified V PP level for any amount of time. Even a narrow glitch above that voltage can cause permanent dam...
Page 53 - Table 11. EPROM programming modes
GMS90 Series Oct. 2000 Ver 3.1a 49 Program Memory Lock Bits The two-level Program Lock system consists of 2Lock bits and a 32-byte (64-byte for GMS97X54/56/58) Encryption Array which are used to protectthe program memory against software piracy. Encryption Array: Within the EPROM array are 32 bytes ...
Page 55 - EPROM Programming and Verification Characteristics; Figure 15. EPROM Programming and Verification
GMS90 Series Oct. 2000 Ver 3.1a 51 EPROM Programming and Verification Characteristics T A = 21 ° C to 27 ° C, V CC = 5V + 10%, − 15%; V SS =0V; Figure 15. EPROM Programming and Verification Parameter Symbol Limit Values Unit Min. Max. Programming supply voltage V PP 12.5 13.0 V Programming supply cu...
Page 59 - MASK ORDER & VERIFICATION SHEET; P l e a s e c o n f i r m o u r v e r i fi c a t i o n d a ta .; (Please check mark into; Hynix semiconductor; Customer should write inside thick line box.; C u s to m e r ’s p a rt n u m b e r; Without
MASK ORDER & VERIFICATION SHEET GMS90X5X-GB 1. Customer Information Company Name 2. Device Information 3. Marking Specification 4. Delivery Schedule Customer Sample Date Risk Order YYYY MM DD Quantity Hynix Confirmation Application Order Date Y Y Y Y M M D D Tel: Fax: Name &Signature: Packag...