Hyundai GMS90X54C, GMS90X51C, GMS90X52C user manual X2 Mode, Clock Generation Diagram

Page 20

HYUNDAI MicroElectronics

GMS90X5XC Series

X2 MODE

The GMS90X5XC core needs only 6 clock periods per machine cycle. This feature called ”X2” provides the following advantages:

Divide frequency crystals by 2 (cheaper crystals) while keeping same CPU power.

Save power consumption while keeping same CPU power (oscillator power saving).

Save power consumption by dividing dynamically operating frequency by 2 in operating and idle modes.

Increase CPU power by 2 while keeping same crystal frequency.

In order to keep the original C51 compatibility, a divider by 2 is inserted between the XTAL1 signal and the main clock input of the core (phase generator). This divider may be disabled by software.

X2 Mode Description

The clock for the whole circuit and peripheral is first divided by two before being used by the CPU core and peripherals. This allows any cyclic ratio to be accepted on XTAL1 input. In X2 mode, as this divider is bypassed, the signals on XTAL1 must have a cyclic ratio between 40 to 60%. Figure 2. shows the clock generation block diagram. X2 bit is validated on XTAL1÷2 rising edge to avoid glitches when switching from X2 to STD mode. Figure 3.shows the mode switching waveforms:

XTAL1 fOSC

÷2

0

 

State Machine: 6 clokc cyles

 

 

1

 

CPU control

 

 

 

X2

CKCON Register

Figure 2. Clock Generation Diagram

The X2 bit in the CKCON register allows to switch from 12 clock cycles per instruction to 6 clock cycles and vice versa. At reset, the standard speed is activated (STD mode). Setting this bit activates the X2 feature(X2 mode).

CAUTION

In order to prevent any incorrect operation while operating in X2 mode, user must be aware that all peripherals using clock frequency as time reference (UART, timers) will have their time reference divided by two. For ex- ample a free running timer generating an interrupt every 30 ms will then generate an interrupt every 15 ms. UART with 2400 baud rate will have 4800 baud rate.

16

Jan. 2001 Ver 1.0

Image 20
Contents GMS90X51C GMS90X52C GMS90X54C Page Mask Block Diagram GMS90C51CGMS90C52C/54C GMS90L52C/54CLow voltage versions PIN Configuration Plcc Pin Configuration top viewPdip Pin Configuration top view EA / VPP ALE / ProgMqfp Pin Configuration top view Logic Symbol PIN Definitions and Functions XTAL2Symbol Function Program Store EnableReset Pin NumberNo connection Address Latch EnableCircuit ground potential Block Diagram of the GMS90X5XC series Functional DescriptionCPU Special Function Register PSWSpecial Function Registers C0H D0HFFH D8H E0HContents of SFRs, SFRs in Numeric Order Address Register E0HF0H D0HGF1 GF0 PDE Idle C8H T2CON TF2 EXF2 Rclk Tclk EXEN2 TR2 CP/RL2 X2 Mode Clock Generation DiagramMode Swithcing Waveforms Timer / Counter 0 Timer/Counter 0 and 1 Operating Modes DescriptionTmod Input ClockTimer Timer/Counter 2 Operating ModesP1.1 Remarks Input Clock T2EXSerial Interface Usart Usart Operating ModesBaudrate Description SM0 SM1Interrupt System Interrupt Request SourcesInterrupt Priority-Within-Level Interrupt Source Power Saving Modes Electrical Characteristics Absolute Maximum RatingsPower supply current DC Characteristics for GMS90C51C/52C/54CParameter Symbol Limit Values Unit Test Conditions Min Hyundai MicroElectronics DC Characteristics for GMS90L51C/52C/54C VCC= 3.3V + 0.3V, -0.6V VSS=0V TA= 0C to 70CExternal Program Memory Characteristics Explanation of the AC SymbolsAC Characteristics for GMS90X5XC series 12MHz version GMS90X5XC Series Advance Information 12MHz External Clock Drive AC Characteristics for GMS90X5XC series 16MHz version Advance Information 16MHz External Clock Drive AC Characteristics for GMS90X5XC series 24MHz version Advance Information 24MHz External Clock Drive AC Characteristics for GMS90X5XC series 33MHz version Advance Information 33MHz External Clock Drive AC Characteristics for GMS90X5XC series 40MHz version Advance Information 40MHz External Clock Drive External Program Memory Read Cycle External Data Memory Read Cycle AC Testing Input, Output Waveforms Oscillator Circuit Plastic Package P-LCC-44 44PLCCPlastic Package P-DIP-40 Plastic Package P-MPQF-44 GMS90X5XC Series GMS90X5XC-GC ROM Protection