Page 2 - HYUNDAI MicroElectronics All right reserved.
Version 1.0 Published byMCU Application Team 2001 2001 2001 2001 HYUNDAI MicroElectronics All right reserved. Additional information of this manual may be served by HYUNDAI MicroElectronics offices in Korea or Dis-tributors and Representatives listed at address directory. HYUNDAI MicroElectronic...
Page 3 - HYUNDAI MicroElectronics; Device Naming Structure
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 Device Naming Structure GMS90X5XC Series Selection Guide Operating Voltage (V) ROM size (bytes) RAM size (bytes) Device Name Operating Frequency (MHz) MASK 4.25~5.5 4K8K 16K 128256256 GMS90C51CGMS90C52CGMS90C54C 12/24/4012/24/4012/24/40 2.7...
Page 4 - Block Diagram; RAM
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 GMS90C51CGMS90L51C(Low voltage versions) • Fully compatible to standard MCS-51 microcontroller • Wide operating frequency up to 40MHz (for more detail, see “GMS90X5XC Series Selection Guide”) • X2 Speed Improvement capability (6 clocks/mach...
Page 6 - PIN CONFIGURATION
HYUNDAI MicroElectronics GMS90X5XC Series 2 Jan. 2001 Ver 1.0 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 T...
Page 9 - Logic Symbol
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 5 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 10 - PIN DEFINITIONS AND FUNCTIONS; Symbol
HYUNDAI MicroElectronics GMS90X5XC Series 6 Jan. 2001 Ver 1.0 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 ...
Page 11 - permits power-on reset using
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 7 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 requ...
Page 12 - PROG; to FFFF
HYUNDAI MicroElectronics GMS90X5XC Series 8 Jan. 2001 Ver 1.0 ALE / PROG 33 30 27 O The Address Latch Enable / Program pulseOutput pulse for latching the low byte of the addressduring an access to external memory. In normaloperation, ALE is emitted at a constant rate of 1/6 theoscillator frequency, ...
Page 13 - FUNCTIONAL DESCRIPTION; Figure 1 shows a block diagram of the GMS90X5XC series
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 9 FUNCTIONAL DESCRIPTION The GMS90X5XC 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 ...
Page 14 - CPU; Special Function Register PSW; Reset value of PSW is 00; CY; PSW
HYUNDAI MicroElectronics GMS90X5XC Series 10 Jan. 2001 Ver 1.0 CPU The GMS90X5XC series is efficient both as a controller and as an arithmetic processor. It has extensive facili-ties for binary and BCD arithmetic and excels in its bit-handling capabilities. Efficient use of program memoryresults fro...
Page 15 - SPECIAL FUNCTION REGISTERS
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 11 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 ...
Page 18 - Table 3. Contents of SFRs, SFRs in Numeric Order
HYUNDAI MicroElectronics GMS90X5XC Series 14 Jan. 2001 Ver 1.0 81H SP 82H DPL 83H DPH 87H PCON S M O D - - - GF1 GF0 PDE IDLE 88H TCON TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 89H TMOD GATE C/T M1 MT GATE C/T M1 M0 8AH TL0 8BH TL1 8CH TH0 8DH TH1 8EH AUXR0 - - - - - - - A0 8FH CKCON - - - - - - - X2 90H P1 9...
Page 19 - Address
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 15 † indicates resident in the GMS90X52C/54C, not in 90X51C. Table 3. Contents of SFRs, SFRs in Numeric Order (cont’d) Address Register Bit 7 6 5 4 3 2 1 0 C8H T2CON TF2 EXF2 RCLK TCLK E X E N 2 TR2 C/T2 C P /R L 2 C9H T2MOD - - - - - - T 2...
Page 20 - X2 MODE; • Increase CPU power by 2 while keeping same crystal frequency.; X2 Mode Description; rising edge to avoid glitches when switching from X2 to STD mode.; CAUTION
HYUNDAI MicroElectronics GMS90X5XC Series 16 Jan. 2001 Ver 1.0 X2 MODE The GMS90X5XC core needs only 6 clock periods per machine cycle. This feature called ”X2” provides thefollowing advantages: • Divide frequency crystals by 2 (cheaper crystals) while keeping same CPU power. • Save power consumptio...
Page 21 - Figure 3. Mode Swithcing Waveforms; CPU Clock
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 17 Figure 3. Mode Swithcing Waveforms . XTAL1 CPU Clock XTAL1:2 X2 Mode X2 bit STD Mode STD Mode
Page 22 - TIMER / COUNTER 0 AND 1
HYUNDAI MicroElectronics GMS90X5XC Series 18 Jan. 2001 Ver 1.0 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...
Page 23 - TIMER 2; Mode
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 19 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 ed...
Page 25 - INTERRUPT SYSTEM; Figure 5. Interrupt Request Sources
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 21 INTERRUPT SYSTEM The GMS90X5XC series provides 5 (4K bytes ROM version) or 6 (above 8K bytes ROM version) interruptsources with two priority levels. Figure 5 gives a general overview of the interrupt sources and illustrates therequest an...
Page 26 - Vectors; TI; Interrupt Source; High
HYUNDAI MicroElectronics GMS90X5XC Series 22 Jan. 2001 Ver 1.0 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 prio...
Page 27 - 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
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 23 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 s...
Page 28 - 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
HYUNDAI MicroElectronics GMS90X5XC Series 24 Jan. 2001 Ver 1.0 ELECTRICAL CHARACTERISTICS Absolute Maximum Ratings Ambient temperature under bias (T A ) ...................................................................................... -40 to + 85 ° C Storage temperature (T ST ) ...................
Page 29 - DC Characteristics; Parameter; Input high voltage to XTAL1; Pin capacitance
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 25 DC Characteristics DC Characteristics for GMS90C51C/52C/54C 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...
Page 31 - Input low voltage
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 27 DC Characteristics for GMS90L51C/52C/54C 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...
Page 32 - AC Characteristics; Explanation of the AC Symbols; Unit
HYUNDAI MicroElectronics GMS90X5XC Series 28 Jan. 2001 Ver 1.0 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 ...
Page 34 - AC Characteristics for GMS90X5XC series (12MHz)
HYUNDAI MicroElectronics GMS90X5XC Series 30 Jan. 2001 Ver 1.0 AC Characteristics for GMS90X5XC series (12MHz) External Data Memory Characteristics Advance Information (12MHz) External Clock Drive Parameter Symbol 12 MHz Oscillator Variable Oscillator 1/t CLCL = 3.5 to 12MHz Unit Min. Max. Min. Max....
Page 35 - AC Characteristics for GMS90X5XC series (16MHz version); External Program Memory Characteristics
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 31 AC Characteristics for GMS90X5XC 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 ...
Page 36 - AC Characteristics for GMS90X5XC series (16MHz)
HYUNDAI MicroElectronics GMS90X5XC Series 32 Jan. 2001 Ver 1.0 AC Characteristics for GMS90X5XC series (16MHz) External Data Memory Characteristics Advance Information (16MHz) External Clock Drive Parameter Symbol 16 MHz Oscillator Variable Oscillator 1/t CLCL = 3.5 to 16MHz Unit Min. Max. Min. Max....
Page 37 - AC Characteristics for GMS90X5XC series (24MHz version)
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 33 AC Characteristics for GMS90X5XC 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 † I...
Page 38 - AC Characteristics for GMS90X5XC series (24MHz)
HYUNDAI MicroElectronics GMS90X5XC Series 34 Jan. 2001 Ver 1.0 AC Characteristics for GMS90X5XC series (24MHz) External Data Memory Characteristics Advance Information (24MHz) External Clock Drive Parameter Symbol 24 MHz Oscillator Variable Oscillator 1/t CLCL = 3.5 to 24MHz Unit Min. Max. Min. Max....
Page 39 - AC Characteristics for GMS90X5XC series (33MHz version)
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 35 AC Characteristics for GMS90X5XC 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 † I...
Page 40 - AC Characteristics for GMS90X5XC series (33MHz)
HYUNDAI MicroElectronics GMS90X5XC Series 36 Jan. 2001 Ver 1.0 AC Characteristics for GMS90X5XC series (33MHz) External Data Memory Characteristics Advance Information (33MHz) External Clock Drive Parameter Symbol 33 MHz Oscillator Variable Oscillator 1/t CLCL = 3.5 to 33MHz Unit Min. Max. Min. Max....
Page 41 - AC Characteristics for GMS90X5XC series (40MHz version)
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 37 AC Characteristics for GMS90X5XC 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 † I...
Page 42 - AC Characteristics for GMS90X5XC series (40MHz)
HYUNDAI MicroElectronics GMS90X5XC Series 38 Jan. 2001 Ver 1.0 AC Characteristics for GMS90X5XC series (40MHz) External Data Memory Characteristics Advance Information (40MHz) External Clock Drive Parameter Symbol at 40 MHz Clock Variable Clock 1/t CLCL = 3.5 to 40MHz Unit Min. Max. Min. Max. RD pul...
Page 43 - Figure 6. External Program Memory Read Cycle; ALE
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 39 Figure 6. 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 44 - Figure 7. External Data Memory Read Cycle
HYUNDAI MicroElectronics GMS90X5XC Series 40 Jan. 2001 Ver 1.0 Figure 7. External Data Memory Read Cycle Figure 8. External Data Memory Write Cycle t LHLL P2.0-P2.7 or A8-A15 from DPH A8-A15 from PCH ALE PSEN PORT 0 PORT 2 RD t LLWL DATA IN A0-A7 from PCL INSTR. IN A0-A7 from t LLAX2 t AVWL t AVLL t...
Page 45 - Figure 10. Float Waveforms; 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
GMS90X5XC Series HYUNDAI MicroElectronics Jan. 2001 Ver 1.0 41 Figure 9. AC Testing: Input, Output Waveforms Figure 10. Float Waveforms Figure 11. 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 Point...
Page 46 - OSCILLATOR CIRCUIT; Figure 12. Recommended Oscillator Circuits; 0pF for Crystals
HYUNDAI MicroElectronics GMS90X5XC Series 42 Jan. 2001 Ver 1.0 OSCILLATOR CIRCUIT Figure 12. 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 u...
Page 51 - MASK ORDER & VERIFICATION SHEET; P l e a s e c o n f i r m o u r v e r i f i c a t i o n d a t a .; Customer should write inside thick line box.; ROM Protection
MASK ORDER & VERIFICATION SHEET GMS90X5XC-GC 1. Customer Information Company Name 2. Device Information 3. Marking Specification 4. Delivery Schedule Customer Sample Date Risk Order YYYY MM DD Quantity HME Confirmation Application Order Date Y Y Y Y M M D D Tel: Fax: Name &Signature: Package...