Download Print this page

Hynix Semiconductor GMS90C320 series User Manual

8-bit single-chip microcontrollers

Advertisement

Quick Links

查询GMS90C320供应商
捷多邦,专业PCB打样工厂,24小时加急出货
HYNIX SEMICONDUCTOR INC.
8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS90C320
User's Manual (Ver. 1.2)

Advertisement

loading
Need help?

Need help?

Do you have a question about the GMS90C320 series and is the answer not in the manual?

Questions and answers

Summary of Contents for Hynix Semiconductor GMS90C320 series

  • Page 1 查询GMS90C320供应商 捷多邦,专业PCB打样工厂,24小时加急出货 HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS GMS90C320 User’s Manual (Ver. 1.2)
  • Page 2 Hynix semiconductor reserves the right to make changes to any information here in at any time without notice. The information, diagrams and other data in this manual are correct and reliable; however, Hynix semiconductor is in no way responsible for any violations of patents or other rights of the third party generated by the use of this manual.
  • Page 3 GMS90C320 Device Naming Structure H(G)MS90X320 XXXX Frequency Blank: 24MHz 40MHz 50MHz Package Type Blank: 40PDIP 44PLCC 44MQFP Enhanced ROM-less version Operating Voltage Normal voltage Low voltage OCT. 2000 Ver 1.2...
  • Page 4 GMS90C320 GMS90C320 ordering information Operating ROM size RAM size Operating max. Device Name Package Type Voltage (V) (bytes) (bytes) Frequency (MHz) GMS90C320 40 40PDIP GMS90C320 PL40 ROM-less 44PLCC GMS90C320 Q40 44MQFP 4.25~5.5 GMS90C320 50 40PDIP GMS90C320 PL50 ROM-less 44PLCC GMS90C320 Q50 44MQFP GMS90L320 40PDIP...
  • Page 5 GMS90C320 GMS90C320/L320 CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER ROM-less Version for 90C52 Operating Operating Voltage (V) Device Name Frequency (MHz) 256 × × × × 8bit 4.25~5.5 GMS90C320 ROM-less 40/50 256 × × × × 8bit 2.7~5.5 GMS90L320 ROM-less Features • Fully compatible to standard MCS-51 microcontroller •...
  • Page 6 GMS90C320 44-PLCC Pin Configuration (top view) (P-LCC-44) P0.4/AD4 P1.5 P1.6 P0.5/AD5 P0.6/AD6 P1.7 P0.7/AD7 RESET RxD/P3.0 N.C. N.C. TxD/P3.1 PSEN INT0/P3.2 P2.7/A15 INT1/P3.3 P2.6/A14 T0/P3.4 T1/P3.5 P2.5/A13 OCT. 2000 Ver 1.2...
  • Page 7 GMS90C320 40-PDIP Pin Configuration (top view) (P-DIP-40) T2/P1.0 T2EX/P1.1 P0.0/AD0 P1.2 P0.1/AD1 P1.3 P0.2/AD2 P1.4 P0.3/AD3 P1.5 P0.4/AD4 P1.6 P0.5/AD5 P1.7 P0.6/AD6 RESET P0.7/AD7 RxD/P3.0 TxD/P3.1 INT0/P3.2 PSEN INT1/P3.3 P2.7/A15 T0/P3.4 P2.6/A14 T1/P3.5 P2.5/A13 WR/P3.6 P2.4/A12 RD/P3.7 P2.3/A11 XTAL2 P2.2/A10 XTAL1 P2.1/A9 P2.0/A8...
  • Page 8 GMS90C320 44-PLCC Pin Configuration (top view) (P-MQFP-44) P0.4/AD4 P1.5 P0.5/AD5 P1.6 P0.6/AD6 P1.7 RESET P0.7/AD7 RxD/P3.0 N.C. N.C. TxD/P3.1 PSEN INT0/P3.2 P2.7/A15 INT1/P3.3 T0/P3.4 P2.6/A14 P2.5/A13 T1/P3.5 OCT. 2000 Ver 1.2...
  • Page 9 GMS90C320 XTAL1 Port 0 8-bit Digital I/O XTAL2 Port 1 8-bit Digital I/O RESET Port 2 8-bit Digital I/O Port 3 8-bit Digital I/O PSEN Logic Symbol OCT. 2000 Ver 1.2...
  • Page 10 GMS90C320 Pin Definitions and functions Pin Number Input/ Symbol Function Output P-MQFP- P-LCC-44 P-DIP-40 P1.0-P1.7 40-44, Port1 is an 8-bit bidirectional I/O port with internal pull-ups. Port 1 pins that have 1s written to them are pulled high by the internal pull-up resistors and can be used as inputs.
  • Page 11 GMS90C320 Pin Number Input/ Symbol Function Output P-MQFP- P-LCC-44 P-DIP-40 P2.0-P2.7 24-31 21-28 18-25 Port 2 Port 2 is an 8-bit bidirectional I/O port with internal pull-ups. Port 2 pins that have 1s written to them are pulled high by the internal pull-up resistors and can be used as inputs.
  • Page 12 GMS90C320 Function Description The GMS90 series is fully compatible to the standard 8051 microcontroller family. It is compatible with the standard 80C32. While maintaining all architectural and operational characteristics of the standard 80C32, the GMS90C320 incorporates some enhancements in the Timer 2 unit. Figure 1 shows a block diagram of the GMS90C320 XTAL1 256 x 8...
  • Page 13 GMS90C320 The GMS90C320 is efficient both as a controller and as an arithmetic processor. It has extensive facilities for binary and BCD arithmetic and excels in its bit-handling capabilities. Efficient use of program memory results from an instruction set con- sisting of 44% one-byte, 41% two-byte, and 15% three-byte instructions.
  • Page 14 GMS90C320 Special Function Registers All registers, except the program counter and the four general purpose register banks, reside in the special function register area. The 27 special function registers (SFR) include pointers and registers that provide an interface between the CPU and the other on-chip peripherals.
  • Page 15 GMS90C320 Table 1 Special Function Registers in numeric order of their addresses (cont’d) Contents after Contents after Address Register Address Register Reset Reset reserved H 2) H 2) reserved reserved H 2) H 2) reserved reserved H 2) H 2) reserved reserved reserved...
  • Page 16 GMS90C320 Table 2 Special Function Registers - Functional Blocks Content Block Symbol Name Address after Reset Accumulator B-Register Data Pointer, High Byte Data Pointer, Low Byte Program Status Word Register H 1) Stack Pointer Interrupt System Interrupt Enable Register 0X000000 Interrupt Priority Register XX000000 Ports...
  • Page 17 GMS90C320 Table 3 Contents of SFRs, SFRs in Numeric Order Address Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PCON SMOD IDLE TCON TMOD GATE GATE SCON SBUF T2CON EXF2 RCLK TCLK EXEN2 C/T2...
  • Page 18 GMS90C320 Table 3 Contents of SFRs, SFRs in Numeric Order (cont’d) Address Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RC2L RC2H SFR bit and byte addressable SFR not bit addressable This bit location is reserved.
  • Page 19 GMS90C320 Timer / Counter 0 and 1 Timer/Counter 0 and 1 can be used in four operating modes as listed in Table 4: Table 4 Timer/Counter 0 and 1 Operating Modes TMOD Input Clock Mode Description External GATE Internal (Max.) ƒ...
  • Page 20 GMS90C320 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 event counter which is selected by bit C/T2 (T2CON.1). It has three operating modes as shown in Table 5. Table 5 Timer/Counter 2 Operating Modes Input Clock...
  • Page 21 GMS90C320 Serial Interface (USART) The serial port is full duplex and can operate in four modes (one synchronous mode, three asynchronous modes) as illustrated in Table 6. The possible baud rates can be calculated using the formulas given in Table 7. Table 6 USART Operating Modes SCON...
  • Page 22 GMS90C320 Interrupt System The GMS90C320 provides 6 interrupt sources with two priority levels. Figure 3 gives a general overview of the interrupt sources and illustrates the request and control flags. High Priority Low Priority Timer 0 Overflow TCON.5 IE.1 IP.1 Timer 1 Overflow TCON.7 IE.3...
  • Page 23 GMS90C320 Table 8 Interrupt Sources and their Corresponding Interrupt Vectors Source (Request Flags) Vector Vector Address External interrupt 0 0003 Timer 0 interrupt 000B External interrupt 1 0013 Timer 1 interrupt 001B RI+TI Serial port interrupt 0023 TF2+EXF2 Timer 2 interrupt 002B A low-priority interrupt can itself be interrupted by a high-priority interrupt, but not by another low priority interrupt.
  • Page 24 GMS90C320 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. If the Power Down mode and the Idle mode are set at the same time, the Power Down mode takes precedence.
  • Page 25 GMS90C320 Absolute Maximum Ratings Ambient temperature under bias (T ) .......................-40 to + 85°C Storage temperature (T )..........................-65 to + 150°C Voltage on V pins with respect to ground (V )..................-0.5 V to 6.5 V Voltage on any pin with respect to ground (V )..................-0.5 to V + 0.5 V Input current on any pin during overload condition ..................-10 mA to + 10 mA...
  • Page 26 GMS90C320 DC Characteristics DC Characteristics for GMS90C320 = 5V + 10%, -15%; V =0V; T = 0°C to 70°C Limit Values Parameter Symbol Unit Test Conditions Min. Max. Input low voltage 0.2V - 0.1 -0.5 (except EA, RESET) Input low voltage (EA) -0.5 0.2V - 0.3...
  • Page 27 GMS90C320 Capacitive loading on ports 0 and 2 may cause spurious noise pulses to be superimposed on the V of ALE and port 3. The noise is due to external bus capacitance discharging into the port 0 and port 2 pins when these pins make 1-to-0 transitions during bus operation.
  • Page 28 GMS90C320 DC Characteristics for GMS90L320 = 3.3V + 0.3V, -0.6V; V =0V; T = 0°C to 70°C Limit Values Parameter Symbol Unit Test Conditions Min. Max. Input low voltage -0.5 Input high voltage + 0.5 Output low voltage = 1.6mA 0.45 (ports 1, 2, 3) 0.30...
  • Page 29 GMS90C320 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 following is a list of all the characters and what they stand for.
  • Page 30 GMS90C320 AC Characteristics for 12MHz version = 5V + 10%, −15%; V = 5V: = 0V; T = 0°C to 70°C for port 0. ALE and PSEN outputs = 100pF; C for all other outputs = 80pF) = 3.3V + 0.3V, −0.6V; V = 3.3V: = 0V;...
  • Page 31 GMS90C320 AC Characteristics for 12MHz version External Data Memory Characteristics Variable Oscillator 12 MHz Oscillator = 3.5 to 12MHz C LCL Parameter Symbol Unit Min. Max. Min. Max. -100 RD pulse width R LR H C LC L WR pulse width -100 W LW H C LC L...
  • Page 32 GMS90C320 AC Characteristics for 16MHz version = 5V + 10%, −15%; V = 5V: = 0V; T = 0°C to 70°C for port 0. ALE and PSEN outputs = 100pF; C for all other outputs = 80pF) = 3.3V + 0.3V, −0.6V; V = 3.3V: = 0V;...
  • Page 33 GMS90C320 AC Characteristics for 16MHz External Data Memory Characteristics Variable Oscillator 16 MHz Oscillator = 3.5 to 16MHz C LCL Parameter Symbol Unit Min. Max. Min. Max. -100 RD pulse width R LR H C LC L WR pulse width -100 W LW H C LC L...
  • Page 34 GMS90C320 AC Characteristics for 24MHz version = 5V + 10%, −15%; V = 5V: = 0V; T = 0°C to 70°C for port 0. ALE and PSEN outputs = 100pF; C for all other outputs = 80pF) = 3.3V + 0.3V, −0.6V; V = 3.3V: = 0V;...
  • Page 35 GMS90C320 AC Characteristics for 24MHz External Data Memory Characteristics Variable Oscillator 24 MHz Oscillator = 3.5 to 24MHz C LCL Parameter Symbol Unit Min. Max. Min. Max. RD pulse width R LR H C LC L WR pulse width W LW H C LC L Address hold after ALE LLA X 2...
  • Page 36 GMS90C320 AC Characteristics for 40MHz version = 5V + 10%, − 15%; V = 0V; T = 0°C to 70°C for port 0. ALE and PSEN outputs = 100pF; C for all other outputs = 80pF) External Program Memory Characteristics Variable Oscillator 40 MHz Oscillator = 3.5 to 40MHz...
  • Page 37 GMS90C320 AC Characteristics for 40MHz External Data Memory Characteristics Variable Clock at 40 MHz Clock = 3.5 to 40MHz C LCL Parameter Symbol Unit Min. Max. Min. Max. RD pulse width R LR H C LC L WR pulse width W LW H C LC L Address hold after ALE...
  • Page 38 GMS90C320 AC Characteristics for 50MHz version = 5V + 10%, − 15%; V = 0V; T = 0°C to 70°C for port 0. ALE and PSEN outputs = 100pF; C for all other outputs = 80pF) Variable Clock : V = 5V, 1/ = 3.5MHz to 50 MHz C LC L...
  • Page 39 GMS90C320 AC Characteristics for 50MHz External Data Memory Characteristics Variable Clock at 50 MHz Clock = 3.5 to 50MHz C LCL Parameter Symbol Unit Min. Max. Min. Max. RD pulse width R LR H C LC L WR pulse width W LW H C LC L Address hold after ALE...
  • Page 40 GMS90C320 LHLL LLPL AV LL PLP H LLIV PLIV PSEN P X AV AZP L P X IZ LLAX PX IX INSTR. PORT 0 A0-A7 A0-A7 AV IV PORT 2 A8-A15 A8-A15 Figure 4 External Program Memory Read Cycle OCT. 2000 Ver 1.2...
  • Page 41 GMS90C320 LHLL W HLH PSEN LLDV LLW L RLR H RHDZ AV LL RLD V LLA X 2 R HDX RLA Z A0-A7 from PORT 0 DATA IN A0-A7 from PCL INSTR. IN RI or DPL A VW L A V DV PORT 2 P2.0-P2.7 or A8-A15 from DPH A8-A15 from PCH...
  • Page 42 GMS90C320 −0.5V + 0.9 0.2V Test Points − 0.1 0.2V 0.45V −0.5V for a logic ‘1’ and 0.45V for a logic ‘0’. AC Inputs during testing are driven at V Timing measurements are made a V for a logic ‘1’ and V for a logic ‘0’.
  • Page 43 GMS90C320 OSCILLATOR CIRCUIT CRYSTAL OSCILLATOR MODE DRIVING FROM EXTERNAL SOURCE N.C. XTAL2 XTAL2 P-LCC-44/Pin 20 P-LCC-44/Pin 20 P-DIP-40/Pin 18 P-DIP-40/Pin 18 M-QFP-44/Pin 14 M-QFP-44/Pin 14 External Oscillator Signal XTAL1 XTAL1 P-LCC-44/Pin 21 P-LCC-44/Pin 21 P-DIP-40/Pin 19 P-DIP-40/Pin 19 M-QFP-44/Pin 15 M-QFP-44/Pin 15 C1, C2 = 30pF ±10pF for Crystals For Ceramic Resonators, contact resonator manufacturer.
  • Page 44 GMS90C320 Plastic Package P-LCC-44 (Plastic Leaded Chip-Carrier) 44PLCC UNIT: INCH 0.695 0.685 min. 0.020 0.656 0.650 0.012 0.050 BSC 0.0075 0.120 0.090 0.180 0.165 OCT. 2000 Ver 1.2...
  • Page 45 GMS90C320 Plastic Package P-DIP-40 (Plastic Dual in-Line Package) 40DIP UNIT: INCH 2.075 2.045 0.600 BSC 0.550 0.530 0.022 0.065 0.100 BSC 0.015 0.045 0-15° OCT. 2000 Ver 1.2...
  • Page 46 GMS90C320 Plastic Package P-MQFP-44 (Plastic Metric Quad Flat Package) P-MQFP-44 13.45 12.95 UNIT: MM 10.10 9.90 0-7° SEE DETAIL “A” 1.03 2.35 max. 0.73 1.60 0.45 0.80 BSC 0.30 DETAIL “A” OCT. 2000 Ver 1.2...