DATA SHEET
MOS INTEGRATED CIRCUIT
µ
PD62
4-BIT SINGLE-CHIP MICROCONTROLLER
FOR INFRARED REMOTE CONTROL TRANSMISSION
DESCRIPTION
Equipped with low-voltage 1.8 V operation, a carrier generation circuit for infrared remote control transmission,
a standby release function through key entry, and a programmable timer, the
µ
PD62 is suitable for infrared remote
control transmitters.
For the
µ
PD62, we have made available the one-time PROM product
µ
PD6P4B for program evaluation or small-
quantity production.
FEATURES
• Program memory (ROM): 512
×
10 bits
• Data memory (RAM): 32
×
4 bits
• Built-in carrier generation circuit for infrared remote control
• 9-bit programmable timer
• Command execution time
• Stack level
• I/O pins (K
I/O
)
• Input pins (K
I
)
• Sense input pin (S
0
)
• S
1
/LED pin (I/O)
• Power supply voltage
: 1 channel
: 8
µ
s (when operating at f
X
= 8 MHz: ceramic oscillation)
: 1 level (Stack RAM is for data memory RF as well.)
: 8 units
: 4 units
: 1 unit
: 1 unit (When in output mode, this is the remote control transmission display
pin.)
: V
DD
= 1.8 to 3.6 V (when operating at f
X
= 4 MHz)
V
DD
= 2.2 to 3.6 V (when operating at f
X
= 8 MHz)
• Operating ambient temperature : T
A
= –40 to +85 ˚C
• Oscillator frequency
• POC circuit (Mask option)
: f
X
= 2.4 to 8 MHz
APPLICATION
Infrared remote control transmitter (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. U14208EJ1V0DS00 (1st edition)
Date Published May 1999 N CP(K)
Printed in Japan
©
1999
µ
PD62
ORDERING INFORMATION
Part Number
Package
20-pin plastic SSOP (300 mil)
µ
PD62MC-×××-5A4
Remark
×××
indicates ROM code suffix.
PIN CONFIGURATION (TOP VIEW)
20-pin Plastic SSOP (300 mil)
•
µ
PD62MC-×××-5A4
K
I/O6
K
I/O7
S
0
S
1
/LED
REM
V
DD
X
OUT
X
IN
GND
RESET
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 the
µ
PD6600A, and 6124A.
2
Data Sheet U14208EJ1V0DS00
µ
PD62
BLOCK DIAGRAM
REM
CARRIER
GENERATOR
4
CPU
CORE
ROM
8
PORT K
I
4
K
I0
-K
I3
PORT K
I/O
8
K
I/O0
-K
I/O7
S
1
/LED
9-bit
TIMER
2
PORT S
2
S
0
, S
1
/LED
RAM
RESET
SYSTEM
CONTROL
X
IN
X
OUT
V
DD
GND
LIST OF FUNCTIONS
Item
ROM capacity
512
×
10 bits
Mask ROM
RAM capacity
Stack
I/O pins
32
×
4 bits
1 level (multiplexed with RF of RAM)
• Key input (K
I
)
: 4
• Key I/O (K
I/O
)
: 8
• Key extended input (S
0
, S
1
)
: 2
• Remote control transmission display output (LED) : 1 (multiplexed with S
1
pin)
Number of keys
• 32 keys
• 48 keys (when extended by key extension input)
• 96 keys (when extended by key extension input and diode)
Clock frequency
Ceramic oscillation
• f
X
= 2.4 to 8 MHz
• f
X
= 2.4 to 4 MHz
Instruction execution time
Carrier frequency
Timer
POC circuit
Supply voltage
Operating ambient temperature
Package
8
µ
s (f
X
= 8 MHz)
f
X
/8, f
X
/16, f
X
/64, f
X
/96, f
X
/128, f
X
/192, no carrier (high level)
9-bit programmable timer: 1 channel
Mask option
V
DD
= 1.8 to 3.6 V
• T
A
= –40 to +85
°C
• T
A
= –20 to +70
°C
(with POC circuit)
• 20-pin plastic SSOP (300 mil)
• 20-pin plastic SOP (300 mil)
• 20-pin plastic SSOP (300 mil)
Internal
V
DD
= 2.2 to 3.6 V (f
X
= 2.4 to 4 MHz)
V
DD
= 2.7 to 3.6 V (f
X
= 4 to 8 MHz)
µ
PD62
1002
×
10 bits
µ
PD6P4B
One-time PROM
Data Sheet U14208EJ1V0DS00
3
µ
PD62
TABLE OF CONTENTS
1. PIN FUNCTIONS .........................................................................................................................
1.1
1.2
1.3
List of Pin Functions .........................................................................................................................
INPUT/OUTPUT Circuits of Pins ......................................................................................................
Dealing with Unused Pins ................................................................................................................
6
6
7
8
2. INTERNAL CPU FUNCTIONS ....................................................................................................
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
Program Counter (PC) ......................................................................................................................
Stack Pointer (SP) .............................................................................................................................
Address Stack Register (ASR (RF)) .................................................................................................
9
9
9
9
Program Memory (ROM) ................................................................................................................... 10
Data Memory (RAM) .......................................................................................................................... 10
Data Pointer (DP) ............................................................................................................................... 11
Accumulator (A) ................................................................................................................................ 11
Arithmetic and Logic Unit (ALU) ...................................................................................................... 12
Flags ................................................................................................................................................... 12
2.9.1
2.9.2
Status flag (F) .......................................................................................................................... 12
Carry flag (CY) ........................................................................................................................ 13
3. PORT REGISTERS (PX) ............................................................................................................. 14
3.1
3.2
K
I/O
Port (P0) ....................................................................................................................................... 15
K
I
Port/Special Ports (P1) ................................................................................................................. 16
3.2.1
3.2.2
3.2.3
3.3
3.4
K
I
port (P
11
: bits 4-7 of P1) ...................................................................................................... 16
S
0
port (bit 2 of P1) .................................................................................................................. 16
S
1
/LED (bit 3 of P1) ................................................................................................................. 16
Control Register 0 (P3) ..................................................................................................................... 17
Control Register 1 (P4) ..................................................................................................................... 18
4. TIMER ......................................................................................................................................... 19
4.1
4.2
4.3
4.4
Timer Configuration .......................................................................................................................... 19
Timer Operation ................................................................................................................................. 20
Carrier Output .................................................................................................................................... 21
Software Control of Timer Output ................................................................................................... 21
5. STANDBY FUNCTION ................................................................................................................ 22
5.1
5.2
5.3
Outline of Standby Function ............................................................................................................ 22
Standby Mode Setup and Release ................................................................................................... 23
Standby Mode Release Timing ........................................................................................................ 24
6. RESET PIN .................................................................................................................................. 26
7. POC CIRCUIT (MASK OPTION) ................................................................................................ 27
7.1
7.2
Functions of POC Circuit .................................................................................................................. 28
Oscillation Check at Low Supply Voltage ....................................................................................... 28
8. SYSTEM CLOCK OSCILLATION CIRCUIT ............................................................................... 29
4
Data Sheet U14208EJ1V0DS00
µ
PD62
9. INSTRUCTION SET .................................................................................................................... 30
9.1
9.2
9.3
9.4
9.5
9.6
9.7
9.8
9.9
Machine Language Output by Assembler ....................................................................................... 30
Circuit Symbol Description .............................................................................................................. 31
Mnemonic to/from Machine Language (Assembler Output) Contrast Table ............................... 32
Accumulator Operation Instructions ............................................................................................... 36
Input/Output Instructions ................................................................................................................. 39
Data Transfer Instructions ................................................................................................................ 40
Branch Instructions .......................................................................................................................... 42
Subroutine Instructions .................................................................................................................... 43
Timer Operation Instruction ............................................................................................................. 44
9.10 Others ................................................................................................................................................. 45
10. ASSEMBLER RESERVED WORDS .......................................................................................... 47
10.1 Mask Option Directives ..................................................................................................................... 47
10.1.1 OPTION and ENDOP directives ............................................................................................. 47
10.1.2 Mask option definition directive ............................................................................................... 47
11. ELECTRICAL SPECIFICATIONS ............................................................................................... 48
12. CHARACTERISTIC CURVE (REFERENCE VALUES) .............................................................. 53
13. APPLIED CIRCUIT EXAMPLE ................................................................................................... 55
14. PACKAGE DRAWINGS .............................................................................................................. 56
15. RECOMMENDED SOLDERING CONDITIONS .......................................................................... 57
APPENDIX A. DEVELOPMENT TOOLS ......................................................................................... 58
APPENDIX B. FUNCTIONAL COMPARISON BETWEEN
µ
PD62 AND OTHER SUBSERIES ...... 59
APPENDIX C. EXAMPLE OF REMOTE-CONTROL TRANSMISSION FORMAT .......................... 60
Data Sheet U14208EJ1V0DS00
5