p87c51rb2fa NXP Semiconductors, p87c51rb2fa Datasheet - Page 11

no-image

p87c51rb2fa

Manufacturer Part Number
p87c51rb2fa
Description
80c51 8-bit Microcontroller Family
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P87C51RB2FA
Manufacturer:
NXP
Quantity:
2 585
Part Number:
p87c51rb2fa,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Philips Semiconductors
CLOCK CONTROL REGISTER (CKCON)
This device allows control of the 6-clock/12-clock mode by means of
both an SFR bit (X2) and an OTP bit. The OTP clock control bit
Also please note that the clock divider applies to the serial port for
modes 0 & 2 (fixed baud rate modes). This is because modes 1 & 3
(variable baud rate modes) use either Timer 1 or Timer 2.
Below is the truth table for the CPU clock mode.
Table 1.
2003 Jan 24
OX2 clock mode bit
(can only be set by
parallel programmer)
erased
erased
programmed
80C51 8-bit microcontroller family
with 512B/1KB RAM, low voltage (2.7 to 5.5 V), low power, high
speed (30/33 MHz)
CKCON
BIT
CKCON.7
CKCON.6
CKCON.5
CKCON.4
CKCON.3
CKCON.2
CKCON.1
CKCON.0
Not Bit Addressable
Address = 8Fh
SYMBOL
X2
X2 bit
(CKCON.0)
0
1
X
FUNCTION
Reserved.
Reserved.
Reserved.
Reserved.
Reserved.
Reserved.
Reserved.
CPU clock; 1 = 6 clocks for each machine cycle, 0 = 12 clocks for each machine cycle
7
8KB/16KB/32KB/64KB OTP
CPU clock mode
12-clock mode
(default)
6-clock mode
6-clock mode
6
Figure 1. Clock control (CKCON) register
5
4
11
3
OX2, when programmed (6-clock mode), supersedes the X2 bit
(CKCON.0). The CKCON register is shown below in Figure 1.
RESET
A reset is accomplished by holding the RST pin high for at least two
machine cycles (12 oscillator periods in 6-clock mode, or 24 oscillator
periods in 12-clock mode), while the oscillator is running. To ensure a
good power-on reset, the RST pin must be high long enough to allow
the oscillator time to start up (normally a few milliseconds) plus two
machine cycles. At power-on, the voltage on V
come up at the same time for a proper start-up. Ports 1, 2, and 3 will
asynchronously be driven to their reset condition when a voltage
above V
The value on the EA pin is latched when RST is deasserted and has
no further effect.
IH1
2
(min.) is applied to RST.
P87C51RA2/RB2/RC2/RD2
1
0
X2
Reset Value = x0000000B
CC
and RST must
SU01689
Product data

Related parts for p87c51rb2fa