AT87C52X2-3CSUV Atmel, AT87C52X2-3CSUV Datasheet - Page 9
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
AT87C52X2-3CSUV
Manufacturer Part Number
AT87C52X2-3CSUV
Description
Microcontrollers (MCU) Microcontroller
Manufacturer
Atmel
Datasheet
1.AT87C52X2-3CSUV.pdf
(55 pages)
Specifications of AT87C52X2-3CSUV
Data Bus Width
8 bit
Program Memory Type
EPROM
Program Memory Size
8 KB
Data Ram Size
256 B
Interface Type
UART
Maximum Clock Frequency
30 MHz
Number Of Programmable I/os
32
Number Of Timers
3 bit
Operating Supply Voltage
5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Package / Case
PDIL-40
Minimum Operating Temperature
0 C
Lead Free Status / Rohs Status
No
Figure 2. Mode Switching Waveforms
4184I–8051–02/08
XTAL1
XTAL1:2
X2 bit
CPU clock
STD Mode
The X2 bit in the CKCON register (See Table 3.) 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).
Note:
Table 3. CKCON Register
CKCON - Clock Control Register (8Fh)
Reset Value = XXXX XXX0b
Not bit addressable
For further details on the X2 feature, please refer to ANM072 available on the web
(http://www.atmel.com)
Number
Bit
7
-
7
6
5
4
3
2
1
0
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 example a free running timer generating an
interrupt every 20 ms will then generate an interrupt every 10 ms. UART with 4800 baud
rate will have 9600 baud rate.
Mnemonic Description
Bit
X2
6
-
-
-
-
-
-
-
-
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
CPU and peripheral clock bit
Clear to select 12 clock periods per machine cycle (STD mode, F
Set to select 6 clock periods per machine cycle (X2 mode, F
X2 Mode
5
-
4
-
3
-
2
-
STD Mode
OSC
1
-
=F
OSC
XTAL
=F
).
XTAL
X2
0
/
2).
9