INTEGRATED CIRCUITS
DATA SHEET
PCF84C12A
8-bit microcontroller
Product specification |
1998 May 11 |
Supersedes data of 1996 Nov 20
File under Integrated Circuits, IC14
Philips Semiconductors |
Product specification |
|
|
8-bit microcontroller |
PCF84C12A |
|
|
|
|
CONTENTS
1FEATURES
2GENERAL DESCRIPTION
3ORDERING INFORMATION (see note 1)
4BLOCK DIAGRAM
5PINNING INFORMATION
5.1Pinning
5.2Pin description
6INSTRUCTION SET
7ROM MASK OPTIONS
8HANDLING
9LIMITING VALUES
10DC CHARACTERISTICS
11AC CHARACTERISTICS
12PACKAGE OUTLINES
13SOLDERING
13.1Introduction
13.2DIP
13.3SO
14DEFINITIONS
15LIFE SUPPORT APPLICATIONS
1998 May 11 |
2 |
Philips Semiconductors |
Product specification |
|
|
8-bit microcontroller |
PCF84C12A |
|
|
1 FEATURES
∙Manufactured in silicon gate CMOS process
∙8-bit CPU, ROM, RAM, I/O in a 20-lead package
∙1 kbyte ROM
∙64 byte RAM
∙Over 100 instructions (based on MAB8048) all of 1 or 2 cycles
∙13 quasi-bidirectional I/O port lines
∙8-bit programmable timer/event counter 1
∙Two single-level vectored interrupts:
– external
– 8-bit programmable timer/event counter 1
∙Two test inputs, one of which also serves as the external interrupt input
∙Stop and Idle modes
∙Supply voltage: 2.5 to 5.5 V
∙Clock frequency: 1 to 16 MHz
∙Operating temperature: −40 to +85 °C.
2 GENERAL DESCRIPTION
This data sheet details the specific properties of the PCF84C12A. The shared properties of the PCF84CxxxA family of microcontrollers are described in the “PCF84CxxxA family” data sheet, which should be read in conjunction with this publication. Note that the devices described in this data sheet do not feature I2C-bus compatibility or derivative logic, so the information given in the family data sheet about these features can be ignored.
The PCF84C12A is a general purpose CMOS microcontroller with 1 kbyte of program memory. It includes 64 bytes of RAM and 13 I/O port lines.
The instruction set is based on the MAB8048 and is a sub-set of that listed in the “PCF84CxxxA family” data sheet.
3 ORDERING INFORMATION
TYPE NUMBER(1) |
|
PACKAGE |
|
|
|
|
|
||
NAME |
DESCRIPTION |
VERSION |
||
|
||||
|
|
|
|
|
PCF84C12AP |
DIP20 |
plastic dual in-line package; 20 leads (300 mil) |
SOT146-1 |
|
|
|
|
|
|
PCF84C12AT |
SO20 |
plastic small outline package; 20 leads; body width 7.5 mm |
SOT163-1 |
|
|
|
|
|
Note
1.Please refer to the Order Entry Form (OEF) for these devices for the full type number to use when ordering. This type number will also specify the required program and ROM mask options.
1998 May 11 |
3 |
_ |
|
|
|
|
|
|
|
1998 |
|
|
|
|
|
|
|
May |
P1.0 to P1.4 |
|
RESIDENT ROM |
|
|
|
P0.7 to P0.0 |
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
11 |
3 |
|
1 kbyte |
|
|
|
|
|
(PCF84C12A) |
|
|
|
|
||
|
|
|
|
|
|
||
|
|
|
2 kbytes |
|
|
|
|
|
PORT 1 |
|
(PCF84C22A) |
|
|
|
PORT 0 |
|
|
4 kbytes |
|
|
|
||
|
BUFFER |
|
|
|
|
BUFFER |
|
|
|
(PCF84C42A) |
|
|
|
||
|
|
|
|
|
|
|
|
|
PORT 1 |
|
DECODE |
|
|
|
PORT 0 |
|
FLIP-FLOPS |
|
|
|
|
|
FLIP-FLOPS |
INTERNAL |
|
MEMORY |
|
|
|
|
|
|
BANK |
|
|
|
|
|
|
CLOCK |
|
|
|
|
|
|
|
|
FLIP-FLOPS |
|
|
|
|
|
|
FREQ. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
32 |
TIMER/ |
|
HIGHER |
LOWER |
|
PROGRAM |
|
|
EVENT |
|
PROGRAM |
PROGRAM |
|
STATUS |
|
|
COUNTER |
|
COUNTER |
COUNTER |
|
WORD |
|
|
TEST 1 |
|
|
|
|
|
|
|
5 |
|
5 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
|
|
8 |
8 |
4
INTERRUPT |
|
ACCUMULATOR |
|
|
|
|
TEMPORARY |
TEMPORARY |
|
|
|
|
|
|
|
|
|
|
|
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
|
|
INTERRUPT |
INITIALIZE |
|
OSCILLATOR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
full |
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fig.1 Block diagram ofhandbook, PCF84C12A.
DIAGRAM BLOCK 4
microcontroller bit-8
PCF84C12A
Semiconductors Philips
specification Product
Philips Semiconductors |
|
|
|
|
|
|
|
|
Product specification |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
8-bit microcontroller |
|
|
|
|
|
|
|
|
PCF84C12A |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
PINNING INFORMATION |
|
|
|
5.2 Pin description |
|
|
|||||||
5.1 |
Pinning |
|
|
|
|
|
Table 1 DIP20 and SO20 packages |
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SYMBOL |
PIN |
TYPE |
DESCRIPTION |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
handbook, halfpage |
|
|
|
VDD |
|
|
P0.0 to P0.7 |
1 to 8 |
I/O |
Port 0: 8-bit |
||||
|
|
|
||||||||||||
|
|
P0.0 |
1 |
|
20 |
|
|
|
|
|
|
quasi-bidirectional |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P0.1 |
2 |
|
19 |
P1.4 |
|
|
|
|
|
|
I/O port |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
9 |
I |
Interrupt/Test 0 |
|
|
P0.2 |
3 |
|
18 |
P1.3 |
|
|
INT/T0 |
|||||
|
|
P0.3 |
4 |
|
17 |
P1.2 |
|
|
VSS |
10 |
P |
ground |
||
|
|
|
|
T1 |
11 |
I |
Test 1/count input of |
|||||||
|
|
P0.4 |
5 |
|
16 |
P1.1 |
|
|||||||
|
|
PCF84C12A |
|
|
|
|
|
|
8-bit timer/event |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
6 |
15 |
|
|
|
|
|
|
|
counter 1 |
|
|
|
P0.5 |
|
P1.0 |
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
P0.6 |
7 |
|
14 |
RESET |
|
XTAL1 |
12 |
I |
crystal oscillator |
|||
|
|
P0.7 |
8 |
|
13 |
XTAL2 |
|
|
|
|
|
|
input or external |
|
|
|
|
|
|
|
|
|
|
clock input |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INT/T0 |
9 |
|
12 |
XTAL1 |
|
XTAL2 |
13 |
O |
crystal oscillator |
||||
|
|
VSS |
10 |
|
11 |
T1 |
|
|
|
|
|
|
output |
|
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
RESET |
14 |
I |
reset input |
||||
|
|
|
|
|
MBK778 |
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P1.0 to P1.4 |
15 to 19 |
I/O |
Port 1: 4-bit |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quasi-bidirectional |
|
|
|
Fig.2 Pin configuration. |
|
|
|
|
|
|
I/O port |
||||
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
VDD |
20 |
P |
positive supply |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 INSTRUCTION SET
Since the I2C-bus interface, Port 2 and derivative logic are not provided, instructions associated with these functions are not available.
ROM space is restricted to 1 kbyte for the PCF84C12A. Therefore, the instructions SEL MB1/2/3 should be avoided as they would define non-existing program memory banks.
As RAM space is limited to 64 bytes, care should be taken to avoid accesses to non-existing RAM locations.
Refer to the “PCF84CxxxA family” data sheet, for a complete description of the instruction set.
1998 May 11 |
5 |