DATA SHEET
µ
PD67, 67A, 68, 68A, 69
4-BIT SINGLE-CHIP MICROCONTROLLER
FOR INFRARED REMOTE CONTROL TRANSMISSION
MOS INTEGRATED CIRCUIT
DESCRIPTION
With their 2.0 V low-voltage operation, carrier generator for infrared remote control transmission, standby release
function through key input, and programmable timer, the
µ
PD67, 67A, 68, 68A, and 69 are ideal for infrared remote
control transmitters.
A one-time PROM product, the
µ
PD6P9, has also been provided for the
µ
PD67, 67A, 68, 68A, and 69 for program
evaluation or small-quantity production.
FEATURES
• Program memory (ROM)
•
µ
PD67, 67A: 1,002
×
10 bits
•
µ
PD68, 68A: 2,026
×
10 bits
•
µ
PD69:
4,074
×
10 bits
• Data memory (RAM)
•
µ
PD67, 67A, 68, 68A: 32
×
4 bits
•
µ
PD69:
128
×
4 bits
• On-chip carrier generator for infrared remote control: Each high-/low-level width can be set from 250 ns to 64
µ
s (@ f
X
= 4 MHz operation) via modulo registers
• 9-bit programmable timer: 1 channel
• Instruction execution time: 16
µ
s (@ f
X
= 4 MHz operation: ceramic oscillation)
• Stack level:
• I/O pins (K
I/O
):
• Input pins (K
I
):
• S
1
/LED pin (I/O):
• Power supply voltage:
• Operating ambient temperature:
• Oscillator frequency:
1 level (Stack RAM is multiplexed with data memory RF.)
8
4
1 (when in output mode, this is the remote control transmission display pin)
V
DD
= 2.0 to 3.6 V
T
A
= –40 to +85°C
f
X
= 3.5 to 4.5 MHz
• Sense input pins (S
0
, S
2
): 2
• On-chip POC circuit and RAM retention detector
• Capacitor for oscillator: 15 pF (mask option)
APPLICATIONS
Infrared remote control transmitters (for AV and household electric appliances)
The information in this document is subject to change without notice. Before using this document, please
confirm that this is the latest version.
Not all devices/types available in every country. Please check with local NEC representative for
availability and additional information.
Document No. U14935EJ2V0DS00 (2nd edition)
Date Published May 2002 N CP(K)
Printed in Japan
The mark
shows major revised points.
©
2000
µ
PD67, 67A, 68, 68A, 69
ORDERING INFORMATION
Part Number
Package
20-pin plastic SSOP (7.62 mm (300))
20-pin plastic SSOP (7.62 mm (300))
20-pin plastic SSOP (7.62 mm (300))
20-pin plastic SSOP (7.62 mm (300))
20-pin plastic SSOP (7.62 mm (300))
µ
PD67MC-×××-5A4
µ
PD67AMC-×××-5A4
µ
PD68MC-×××-5A4
µ
PD68AMC-×××-5A4
µ
PD69MC-×××-5A4
Remark
×××
indicates ROM code suffix.
PIN CONFIGURATION (TOP VIEW)
20-pin Plastic SSOP (7.62 mm (300))
•
µ
PD67MC-×××-5A4
•
µ
PD67AMC-×××-5A4
•
µ
PD68MC-×××-5A4
•
µ
PD68AMC-×××-5A4
•
µ
PD69MC-×××-5A4
K
I/O6
K
I/O7
S
0
S
1
/LED
REM
V
DD
X
OUT
X
IN
GND
S
2
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
K
I/O5
K
I/O4
K
I/O3
K
I/O2
K
I/O1
K
I/O0
K
I3
K
I2
K
I1
K
I0
Caution The pin numbers of K
I
and K
I/O
are in the reverse order of those in the
µ
PD6600A, and 6124A.
2
Data Sheet U14935EJ2V0DS
µ
PD67, 67A, 68, 68A, 69
BLOCK DIAGRAM
REM
Carrier
generator
4
CPU
core
ROM
8
Port K
I
4
K
I0
to K
I3
Port K
I/O
8
K
I/O0
to K
I/O7
S
1
/LED
9-bit timer
3
Port S
3
S
0
, S
1
/LED, S
2
RAM
System control
X
IN
X
OUT
V
DD
GND
LIST OF FUNCTIONS
Item
ROM capacity
µ
PD67, 67A
1,002
×
10 bits
Mask ROM
32
×
4 bits
µ
PD68, 68A
2,026
×
10 bits
µ
PD69
4,074
×
10 bits
µ
PD6P9
One-time PROM
128
×
4 bits
RAM capacity
Stack
I/O pins
1 level (multiplexed with RF of RAM)
•
•
•
•
Key input (K
I
):
Key I/O (K
I/O
):
Key extended input (S
0
, S
1
, S
2
):
Remote control transmission display output (LED):
4
8
3
1 (multiplexed with S
1
pin)
Number of keys
Clock frequency
Instruction execution time
Carrier frequency
Timer
Note
POC circuit
RAM retention detector
Capacitor for oscillation (15 pF)
Supply voltage
Operating ambient temperature
Package
• 32
• 56 (when extended by key extension input)
Ceramic oscillation
• f
X
= 3.5 to 4.5 MHz
16
µ
s (@ f
X
= 4 MHz)
Each high-/low-level width can be set from 250 ns to 64
µ
s (@ f
X
= 4 MHz operation)
via modulo registers
9-bit programmable timer: 1 channel, timer clock: f
X
/64
On-chip
On-chip
Mask option
V
DD
= 2.0 to 3.6 V
T
A
= –40 to +85°C
20-pin plastic SSOP (7.62 mm (300))
Set to be used/
not used in device
V
DD
= 2.2 to 3.6 V
Note
The timer output time differs between the
µ
PD67, 68, and 69 and the
µ
PD67A and 68A. For details, refer
to
4 TIMER.
Data Sheet U14935EJ2V0DS
3
µ
PD67, 67A, 68, 68A, 69
CONTENTS
1. PIN
1.1
1.2
1.3
FUNCTIONS ............................................................................................................................
List of Pin Functions ............................................................................................................
Pin I/O Circuits ......................................................................................................................
Connection of Unused Pins .................................................................................................
6
6
7
8
9
9
9
9
10
11
12
12
12
13
13
13
2. INTERNAL CPU FUNCTIONS .....................................................................................................
2.1 Program Counter (PC) ..........................................................................................................
2.2 Stack Pointer (SP) .................................................................................................................
2.3 Address Stack Register (ASR (RF)) ....................................................................................
2.4 Program Memory (ROM) .......................................................................................................
2.5 Data Memory (RAM) ..............................................................................................................
2.6 Data Pointer (DP) ..................................................................................................................
2.7 Accumulator (A) ....................................................................................................................
2.8 Arithmetic and Logic Unit (ALU) .........................................................................................
2.9 Flags .......................................................................................................................................
2.9.1
2.9.2
Status flag (F) ..............................................................................................................................
Carry flag (CY) ............................................................................................................................
3. PORT REGISTERS (PX) .............................................................................................................. 14
3.1 K
I/O
Port (P0) .......................................................................................................................... 15
3.2 K
I
Port/Special Ports (P1) ..................................................................................................... 15
3.2.1
3.2.2
3.2.3
3.2.4
3.3.1
K
I
port (P
11
: bits 4 to 7 of P1) .....................................................................................................
S
0
port (bit 2 of P1) .....................................................................................................................
S
1
/LED (bit 3 of P1) .....................................................................................................................
S
2
port (bit 1 of P1) .....................................................................................................................
RAM retention flag (bit 3 of P3) ..................................................................................................
15
16
16
16
18
3.3 Control Register 0 (P3) ......................................................................................................... 17
3.4 Control Register 1 (P4) ......................................................................................................... 19
4. TIMER ..............................................................................................................................................
4.1 Timer Configuration ..............................................................................................................
4.2 Timer Operation ....................................................................................................................
4.3 Carrier Output ........................................................................................................................
4.3.1
4.3.2
Carrier output generator ..............................................................................................................
Carrier output control ..................................................................................................................
20
20
21
23
23
24
4.4 Software Control of Timer Output ....................................................................................... 26
5. STANDBY FUNCTION ...................................................................................................................
5.1 Outline of Standby Function ...............................................................................................
5.2 Standby Mode Setting and Release ...................................................................................
5.3 Standby Mode Release Timing ............................................................................................
27
27
28
30
6. RESET ............................................................................................................................................. 31
4
Data Sheet U14935EJ2V0DS
µ
PD67, 67A, 68, 68A, 69
7. POC CIRCUIT ................................................................................................................................. 32
7.1 Functions of POC Circuit ..................................................................................................... 33
7.2 Oscillation Check at Low Supply Voltage .......................................................................... 33
8. SYSTEM CLOCK OSCILLATOR .................................................................................................. 34
9. INSTRUCTION SET .......................................................................................................................
9.1 Machine Language Output by Assembler .........................................................................
9.2 Circuit Symbol Description .................................................................................................
9.3 Mnemonic to/from Machine Language (Assembler Output) Contrast Table ................
9.4 Accumulator Manipulation Instructions ............................................................................
9.5 I/O Instructions ......................................................................................................................
9.6 Data Transfer Instructions ...................................................................................................
9.7 Branch Instructions ..............................................................................................................
9.8 Subroutine Instructions .......................................................................................................
9.9 Timer Operation Instructions ..............................................................................................
9.10 Others .....................................................................................................................................
35
35
36
37
41
44
45
47
48
49
52
10. ASSEMBLER RESERVED WORDS ............................................................................................ 54
10.1 Mask Option Directives ........................................................................................................ 54
10.1.1 OPTION and ENDOP quasi-directives .......................................................................................
10.1.2 Mask option definition quasi-directives ......................................................................................
54
54
11. ELECTRICAL SPECIFICATIONS .................................................................................................. 55
12. CHARACTERISTIC CURVES (REFERENCE VALUES) ............................................................ 59
13. APPLICATION CIRCUIT EXAMPLE ............................................................................................ 60
14. PACKAGE DRAWINGS .................................................................................................................. 63
15. RECOMMENDED SOLDERING CONDITIONS ........................................................................... 64
APPENDIX A. DEVELOPMENT TOOLS ............................................................................................ 65
APPENDIX B. FUNCTIONAL COMPARISON BETWEEN
µ
PD67A, 68A, 69,
AND OTHER PRODUCTS ......................................................................................... 66
APPENDIX C. EXAMPLE OF REMOTE-CONTROL TRANSMISSION FORMAT (in the case of
NEC transmission format in command one-shot transmission mode) .............. 67
Data Sheet U14935EJ2V0DS
5