Product specification1995 Jan 20
IC20 Data Handbook
C
Philips SemiconductorsProduct specification
Numb
Low voltage/low power single-chip
2
8-bit microcontroller with I
DESCRIPTION
The 80CL410/83CL410 (hereafter generically
referred to as 8XCL410) is manufactured in
an advanced CMOS process that allows the
part to operate at supply voltages down to
1.8V and oscillator frequencies down to DC.
The 8XCL410 has the same instruction set
as the 80C51.
The 8XCL410 features a 4k byte ROM
(83CL410), 128 bytes RAM (both ROM and
RAM are externally expandable to 64k
bytes), four 8-bit ports, two 16-bit
timer/counters, an I
thirteen source, two priority level nested
interrupt structure, and on-chip oscillator
circuitry suitable for quartz crystal, ceramic
resonator, RC, or LC.
The 8XCL410 has two reduced power modes
that are the same as those on the standard
80C51. The special reduced power feature of
this part is that it can be stopped and then
restarted. Running from an external clock
source, the clock can be stopped and after a
period of time restarted. The 8XCL410 will
resume operation from where it was when the
code stopped with no loss of internal state,
RAM contents, or Special Function Register
contents. If the internal oscillator is used the
part cannot be stopped and started, but the
power-down mode, which can be terminated
via an interrupt, can be used to achieve
similar power savings and then restart
without loss of on-chip RAM and Special
Function Register values.
2
C serial interface, a
C
FEA TURES
•Single supply voltage 1.8V to 6.0V
•Frequency from DC to 12MHz
•80C51 based architecture
– 4k × 8 ROM (64k external)
– 128 × 8 RAM (64k external)
– Four 8-bit I/O ports
– Two 16-bit timer/counters
– A thirteen-source, two-level, nested
priority interrupt structure
– 10 external interrupts
•Fully static 80C51 CPU
2
•I
C Serial Interface
•Two power control modes
– Idle mode
– Power-down mode – can be terminated
by reset or external interrupt
•Wake-up via external interrupts at port 1
•Single supply voltage 1.8V to 6.0V
•Frequency range of DC to 12MHz
•On-chip oscillator (quartz crystal, ceramic
resonator, RC, LC)
•Very low power consumption
•Operating temperature range:
–40 to +85°C
80CL410/83CL410
PIN CONFIGURATION
INT2/P1.0
INT3/P1.1
INT4/P1.2
INT5/P1.3
INT6/P1.4
INT7/P1.5
SCL/INT8/P1.6
SDA/INT9/P1.7
INT0
INT1/P3.3
SEE NEXT PAGE FOR QFP PIN FUNCTIONS.
/P3.2
T0/P3.4
T1/P3.5
/P3.6
WR
RD
XTAL2
XTAL1
V
1
11
1
2
3
4
5
6
7
8
9
RST
10
P3.0
11
P3.1
12
13
14
15
16
/P3.7
17
18
19
20
SS
4434
1222
DIP
VSO
QFP
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
V
DD
P0.0/AD0
P0.1/AD1
P0.2/AD2
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
EA
ALE
PSEN
P2.7/A15
P2.6/A14
P2.5/A13
P2.4/A12
P2.3/A11
P2.2/A10
P2.1/A9
P2.0/A8
33
23
ORDERING CODE
PHILIPS PART ORDER NUMBER
PART MARKING
ROMlessROMROMlessROM
P80CL410HFPP83CL410HFPP80CL410HF N P83CL410HF N
P80CL410HFTP83CL410HFTP80CL410HF D P83CL410HF D
P83CL410HFH
NOTE:
1. Parts ordered by the Philips North America part number will be marked with the Philips part marking.
For emulation purposes, the P85CL000 (Piggyback version) with 256 bytes of RAM is recommended.
1–8I/OPort 1: Port 1 is an 8-bit bidirectional I/O port with internal pull-ups. Port 1 pins that
TYPENAME AND FUNCTION
operation.
to them float and can be used as high-impedance inputs. Port 0 is also the multiplexed
low-order address and data bus during accesses to external program and data
memory. In this application, it uses strong internal pull-ups when emitting 1s.
have 1s written to them are pulled high by the internal pull-ups and can be used as
inputs. As inputs, port 1 pins that are externally pulled low will source current because
of the internal pull-ups. (See DC Electrical Characteristics: I
include:
have 1s written to them are pulled high by the internal pull-ups and can be used as
inputs. As inputs, port 2 pins that are externally being pulled low will source current
because of the internal pull-ups. (See DC Electrical Characteristics: I
the high-order address byte during fetches from external program memory and during
accesses to external data memory that use 16-bit addresses (MOVX @DPTR). In this
application, it uses strong internal pull-ups when emitting 1s. During accesses to
external data memory that use 8-bit addresses (MOV @Ri), port 2 emits the contents
of the P2 special function register.
have 1s written to them are pulled high by the internal pull-ups and can be used as
inputs. As inputs, port 3 pins that are externally being pulled low will source current
because of the pull-ups. (See DC Electrical Characteristics: I
special features of the 80C51 family, as listed below:
the device. An internal diffused resistor to V
external capacitor to V
an access to external memory. In normal operation, ALE is emitted at a constant rate
of 1/6 the oscillator frequency, and can be used for external timing or clocking. Note
that one ALE pulse is skipped during each access to external data memory.
device is executing code from the external program memory, PSEN
each machine cycle, except that two PSEN
access to external data memory. PSEN
program memory.
fetch code from external program memory locations 0000H to 0FFFH. If EA
high, the device executes from internal program memory unless the program counter
contains an address greater than 0FFFH.
TMODTimer/counter mode89HGATEC/TM1M0GATEC/TM1M000H
TH0Timer 0 high byte8CH00H
TH1Timer 1 high byte8DH00H
TL0Timer 0 low byte8AH00H
TL1Timer 1 low byte8BH00H
* SFRs are bit addressable.
# SFRs are modified from or added to the 80C51 SFRs.
Serial data
Serial status
trol
DAH
D9H
8F8E8D8C8B8A8988
88HTF1TR1TF0TR0IE1IT1IE0IT000H
00H
11111000B
1995 Jan 20
6
Philips SemiconductorsProduct specification
Low voltage/low power single-chip
2
8-bit microcontroller with I
PORT OPTIONS
The pins of port 1 (not P1.6/SCL or
P1.7/SDA), port 2, and port 3 may be
individually configured with one of the
following port options (see Figure 1):
Option 1: Standard Port—
quasi-bidirectional I/O with pull-up.
The strong booster pull-up p1 is
turned on for two oscillator periods
after a 0-to-1 transition in the port
latch. See Figure 1(a).
Option 2: Open Drain—quasi-bidirectional
I/O with n-channel open drain
output. Use as an output requires
the connection of an external
pull-up resistor. See Figure 1(b).
Option 3: Push-Pull—output with drive
capability in both polarities. Under
this option, pins can only be used
as outputs. See Figure 1(c).
The definition of port options for port 0 is
slightly different.
C
Two cases have to be examined. First,
accesses to external memory (EA
access above the built-in memory boundary),
and second, I/O accesses.
External Memory Accesses
Option 1: True 0 and 1 are written as
Option 2: An external pull-up resistor is
Option 3: Not allowed for external memory
I/O Accesses
Option 1: When writing a 1 to the port latch,
= 0 or
address to the external memory
(strong pull-up is used).
needed for external accesses.
accesses as the port can only be
used as output.
the strong pull-up p1 will be on for
two oscillator periods. No weak
pull-up exists. Without an external
pull-up, this option can be used as
a high-impedance input.
80CL410/83CL410
Option 2: Open drain—quasi-bidirectional
I/O with n-channel open drain
output. Use as an output requires
the connection of an external
pull-up resistor. See Figure 1(c).
Option 3: Push-Pull—output with drive
capability in both polarities. Under
this option, pins can only be used
as outputs.
Individual mask selection of the post-reset
state is available on any of the above pins.
Make your selection by appending “S” or “R”
to option 1, 2, or 3 above (e.g., 1S for a
standard I/O to be set after RESET or 2R for
an open-drain I/O to be reset after RESET.
Option S: Set—after reset, this pin will be
initialized High.
Option R: Reset—after reset, this pin will be
initialized Low.
(a)
(b)
(c)
FROM PORT LATCH
INPUT DATA
READ PORT PIN
FROM PORT LATCH
INPUT DATA
READ PORT PIN
STRONG PULL-UP
TWO OSCILLATOR PERIODS
P1
Q
INPUT
BUFFER
Q
INPUT
BUFFER
STRONG PULL-UP
N
N
+5V
P1
P2
I/O PIN
+5V
P3
I/O PIN
+5V
EXTERNAL
PULL-UP
I/O PIN
FROM PORT LATCH
1995 Jan 20
Q
N
Figure 1. Ports
7
Philips SemiconductorsProduct specification
Low voltage/low power single-chip
2
8-bit microcontroller with I
POWER-DOWN MODE
The instruction setting PCON.1 is the last
executed prior to going into the power-down
mode. In power-down mode, the oscillator is
stopped. The contents of the the on-chip
RAM and SFRs are preserved. The port pins
output the values held by their respective
SFRs. ALE and PSEN
In the power-down mode, V
reduced to minimize power consumption.
However, the supply voltage must not be
reduced until the power-down mode is active,
and must be restored before the hardware
reset is applied and frees the oscillator. Reset
must be held active until the oscillator has
restarted and stabilized.
From the power-down mode the part can be
restarted by using either the wake-up mode
or the Reset Mode.
Wake-Up Mode
Setting both PD and IDL bits in the PCON
register forces the controller into the
power-down mode. Setting both bits enable
the controller to be woken-up from the
power-down mode via either an enabled
external interrupt INT2–INT9, or a reset
operation.
An external interrupt for an enabled interrupt
INT2–INT9 at port 1 starts both the oscillator
and the delay counter. To ensure that the
oscillator is stable before the controller
restarts, the internal clock will remain inactive
for 1536 oscillator periods after the interrupt
are held low.
may be
DD
C
is detected. This is controlled by the on-chip
delay counter. After this, the PD flag will be
reset, the controller is now in the Idle mode
and the interrupt will be handled in the normal
way.
Reset Mode
Setting only the PD bit in the PCON register
again forces the controller into the
power-down mode, but in this case it can
only be restored to normal operation with a
direct reset operation.
To restore normal operation, the RESET pin
has to be kept High for a minimum of 24
oscillator periods. The on-chip delay counter
is inactive. The user has to insure that the
oscillator is stable before any operation is
attempted. Figure 2 illustrates the two
possibilities for wake-up.
IDLE MODE
The instruction that sets PCON.0 is the last
instruction executed before going into idle
mode. In idle mode, the internal clock is
stopped for the CPU, but not for the interrupt,
timer, and serial port functions. The CPU
status is preserved along with the stack
pointer, program counter, program status
word and accumulator. The RAM and all
other registers maintain their data during idle
mode. The port pins retain the logical states
they held at idle mode activation. ALE and
PSEN
80CL410/83CL410
There are two methods used to terminate the
idle mode. Activation of any interrupt will
cause PCON to be cleared by hardware;
terminating idle mode. The interrupt is
serviced, and following the instruction RETI,
the next instruction to be executed will be the
one following the instruction that put the
device in the the idle mode.
Flag bits GF0 and GF1 can be used to
determine whether the interrupt was received
during normal execution or idle mode. For
example, the instruction that writes to
PCON.0 can also set or clear one or both flag
bits. When idle mode is terminated by an
interrupt, the service routine can examine the
status of the flag bits.
The second method of terminating the idle
mode is with an external hardware reset.
Since the oscillator is still running, the
hardware reset is required to be active for
only two machine cycles to complete the
reset operation. Reset redefines all SFRs,
but does not affect the state of the on-chip
RAM.
The status of the external pins during idle and
power-down mode is shown in Table 2. If the
power-down mode is activated while
accessing external memory, port data held in
the special function register P2 is restored to
port 2. If the data is a logic 1, the port pin is
held high during the power-down mode.
hold at the logic high level.
Table 2.External Pin Status During Idle and Power-Down Modes
C-bus consists of a data line (SDA)
and a clock line (SCL). These lines also
function as I/O port lines P1.7 and P1.6
respectively. The system is unique because
data transport, clock generation, address
recognition and bus control arbitration are all
controlled by hardware. The I
I/O has complete autonomy in byte handling
and operates in four modes:
– Master transmitter
These functions are controlled by the S1CON
register. S1STA is the status register whose
contents may also be used as a vector to
various service routines. S1DAT is the data
shift register and S1ADR the slave address
register. Slave address recognition is
performed by hardware.
S1CON (D8H)
Serial control register
CR2 ENS1 STA STOSIAACR1 CR0
CR0, CR1, CR2
These three bits determine the
serial clock frequency when SIO
is in a master mode.
2
C-bus serial
C
76 5 43 2 1 0
S1CON
76 5 43 2 1 0
S1STA
AAAssert acknowledge bit. When
SISIO interrupt flag. When the SI
SLAVE ADDRESS
S1ADR
SHIFT REGISTER
S1DAT
BUS CLOCK GENERATOR
GC
Figure 3. Serial I/O
the AA flag is set, an
acknowledge (low level to SDA)
will be returned during the
acknowledge clock pulse on the
SCL line when:
– own slave address is received
– general call address is
received (S1ADR.0 = 1)
– data byte received while
device is programmed as
master
– data byte received while
device is selected slave
With AA = 0, no acknowledge will
be returned. Consequently, no
interrupt is requested when the
“own slave address” or general
call address is received.
flag is set, an acknowledge is
returned after any one of the
following conditions:
– a start condition is generated
in master mode
– own slave address received
during AA = 1
– general call address received
while S1ADR.0 and AA = 1
– data byte received or
transmitted in master mode
(even if arbitration is lost)
– data byte received or
transmitted as selected slave
– stop or start condition received
as selected slave receiver or
transmitter
80CL410/83CL410
INTERNAL BUS
STOSTOP flag. With this bit set while
STASTART flag. When the STA bit is
ENS1When ENS1 = 0, the SIO is
in master mode, a STOP
condition is generated. When a
STOP condition is detected on
the bus, the SIO hardware clears
the STO flag. In the slave mode,
the STO flag may also be set to
recover from an error condition.
In this case, no STOP condition
is transmitted to the I
2
C-bus.
However, the SIO hardware
behaves as if a STOP condition
has been received and releases
SDA and SCL. The SIO then
switches to the “not addressed”
slave receiver mode. The STO
flag is automatically cleared by
hardware.
set in slave mode, the SIO
hardware checks the status of
2
the I
C-bus and generates a
START condition if the bus is
free. If STA is set while the SIO
is in master mode, SIO transmits
a repeated STAR T condition.
disabled. The SDA and SCL
outputs are in a high-impedance
state; P1.6 and P1.7 function as
open drain ports.
When ENS1 = 1, the SIO is
enabled. The P1.6 and P1.7 port
latches must be set to logic 1.
1995 Jan 20
9
Loading...
+ 19 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.