Philips Semiconductors Preliminary specification
83CE654
CMOS single-chip 8-bit microcontroller with
Electromagnetic Compatibility improvements
1996 Aug 15
6
ROM CODE PROTECTION
The 83CE654 has an additional security
feature. ROM code protection may be
selected by setting a mask-programmable
security bit (i.e., user dependent). This
feature may be requested during ROM code
submission. When selected, the ROM code is
protected and cannot be read out at any time
by any test mode or by any instruction in the
external program memory space.
The MOVC instructions are the only
instructions that have access to program
code in the internal or external program
memory. The EA
input is latched during
RESET and is “don’t care” after RESET (also
if the security bit is not set). This
implementation prevents reading internal
program code by switching from external
program memory to internal program memory
during a MOVC instruction or any other
instruction that uses immediate data.
Table 2 lists the access to the internal and
external program memory by the MOVC
instructions when the security bit has been
set to a logical “1”:
OSCILLATOR
CHARACTERISTICS
XTAL1 and XTAL2 are the input and output,
respectively, of an inverting amplifier. The
pins can be configured for use as an on-chip
oscillator, as shown in the Logic Symbol,
page 2.
To drive the device from an external clock
source, XTAL1 should be driven while XTAL2
is left unconnected. There are no
requirements on the duty cycle of the
external clock signal, because the input to
the internal clock circuitry is through a
divide-by-two flip-flop. However, minimum
and maximum high and low times specified in
the data sheet must be observed.
Reset
A reset is accomplished by holding the RST
pin high for at least two machine cycles
(24 oscillator periods), while the oscillator is
running. To insure 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
DD
and RST must
come up at the same time for a proper
start-up.
Power-on Reset (See Figure 1.)
When V
DD
is turned on, and provided its
rise-time does not exceed 10ms, an
automatic reset can be obtained by
connecting the RST pin to V
DD
via a 2.2µF
capacitor. When the power is switched on,
the voltage on the RST pin is equal to V
DD
minus the capacitor voltage, and decreases
from V
DD
as the capacitor charges through
the internal resistor (R
RST
) to ground. The
larger the capacitor, the more slowly V
RST
decreases. V
RST
must remain above the
lower threshold of the Schmitt trigger long
enough to effect a complete reset. The time
required is the oscillator start-up time, plus 2
machine cycles.
83CE654
V
DD
RST
R
RST
2.2µF
V
DD
Figure 1. Power-on Reset
Idle Mode
In the idle mode, the CPU puts itself to sleep
while all of the on-chip peripherals stay
active. The instruction to invoke the idle
mode is the last instruction executed in the
normal operating mode before the idle mode
is activated. The CPU contents, the on-chip
RAM, and all of the special function registers
remain intact during this mode. The idle
mode can be terminated either by any
enabled interrupt (at which time the process
is picked up at the interrupt service routine
and continued), or by a hardware reset which
starts the processor in the same manner as a
power-on reset.
Power-Down Mode
In the power-down mode, the oscillator is
stopped and the instruction to invoke
power-down is the last instruction executed.
Only the contents of the on-chip RAM are
preserved. A hardware reset is the only way
to terminate the power-down mode. the
control bits for the reduced power modes are
in the special function register PCON. Table 3
shows the state of the I/O ports during low
current operating modes.
Power Control Register PCON
These special modes are activated by
software via the Special Function Register
PCON. Its hardware address is 87H. PCON
is not bit addressable. The reset value of
PCON is (0x0x0000).
PCON
(87H)
SMOD – RFI – GF1 GF0 PD IDL
7 6 5 4 3 2 1 0
Bit Symbol Function
PCON.7 SMOD Double Baud rate bit.
When set to logic 1 the
baud rate is doubled when
Timer 1 is used to
generate baud rate, and
the Serial Port is used in
modes 1, 2 or 3.
PCON.6 – (reserved for future use*)
PCON.5 RFI When set to logic 1 the
toggling of ALE pin is
prohibited. This bit is
cleared on RESET.
PCON.4 – (reserved for future use*)
PCON.3 GF1 General purpose flag bit.
PCON.2 GF0 General purpose flag bit.
PCON.1 PD Power-down bit. Setting
this bit activates
Power-down mode.
PCON.0 IDL Idle mode bit. Setting this
bit activates the Idle
mode. If 1s are written to
PD and IDL at the same
time, PD takes
precedence.
NOTE:
* User software should not write 1s to
reserved bits. These bits may be used in
future 80C51 family products to invoke
new features. In that case, the reset or
inactive value of the new bit will be 0, and
its active value will be 1. The value read
from a reserved bit is indeterminate.
I2C Serial Communication—SIO1
The I2C serial port is identical to the I2C
serial port on the 8XC552. The operation of
this subsystem is described in detail in the
8XC552 section of this manual.
Note that in both the 83CE654 and the
8XC552 the I
2
C pins are alternate functions
to port pins P1.6 and P1.7. Because of this,
P1.6 and P1.7 on these parts do not have a
pull-up structure as found on the 80C51.
Therefore P1.6 and P1.7 have open drain
outputs on the 83CE654.