DATA SHEET
MOS INTEGRATED CIRCUIT
µ
PD6132
4-BIT SINGLE-CHIP MICROCONTROLLER
FOR INFRARED REMOTE CONTROL TRANSMISSION
DESCRIPTION
Equipped with low-voltage 1.8V operation, a carrier generation circuit for infrared remote control transmission,
a standby release function through key entry, and a programmable timer, the
µ
PD6132 is suitable for infrared remote
control transmitters.
For the
µ
PD6132, we have made available the one-time PROM product
µ
PD61P34B 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
= 1 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 remore control transmission
display pin.)
: V
DD
= 1.8 to 3.6 V (when operating at f
X
= 500 kHz)
V
DD
= 2.2 to 3.6 V (when operating at f
X
= 1 MHz)
• Operating ambient temperature : T
A
= –40 to +85 ˚C
• Oscillation frequency
• POC circuit (Mask option)
: f
X
= 300 kHz to 1 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. U14332EJ1V0DS00 (1st edition)
Date Published July 1999 N CP(K)
Printed in Japan
©
1999
µ
PD6132
ORDERING INFORMATION
Part Number
Package
20-pin plastic SSOP (300 mil)
µ
PD6132MC-×××-5A4
Remark
×××
indicates ROM code suffix.
PIN CONFIGURATION (TOP VIEW)
20-pin Plastic SSOP (300 mil)
•
µ
PD6132MC-×××-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 U14332EJ1V0DS00
µ
PD6132
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 bit
Mask ROM
RAM capacity
Stack
I/O pins
32
×
4 bits
1 level (multiplexed with RF of RAM)
• Key input (K
I
)
• Key I/O (K
I/O
)
• Key extended input (S
0
, S
1
)
• Remote control transmission display output (LED)
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
= 300 kHz to 1 MHz
• f
X
= 300 to 500 kHz (with POC circuit)
8
µ
s (fx = 1 MHz)
f
X
, f
X
/2, f
X
/8, f
X
/12, f
X
/16, f
X
/24, 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)
Package
• 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
: 4
: 8
: 2
: 1 (multiplexed with S
1
pin)
µ
PD6132
µ
PD61P34B
1002
×
10 bits
One-time PROM
Instruction execution time
Carrier frequency
Timer
POC circuit
Supply voltage
Operating ambient temperature
Data Sheet U14332EJ1V0DS00
3
µ
PD6132
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)) .....................................................................................................
Program Memory (ROM) .......................................................................................................................
Data Memory (RAM) ..............................................................................................................................
Data Pointer (DP) ...................................................................................................................................
Accumulator (A) ....................................................................................................................................
Arithmetic and Logic Unit (ALU) ..........................................................................................................
Flags .......................................................................................................................................................
2.9.1
2.9.2
Status flag (F) .............................................................................................................................
Carry flag (CY) ...........................................................................................................................
9
9
9
9
10
10
11
11
12
12
12
13
3. PORT REGISTERS (PX) .................................................................................................................
3.1
3.2
K
I/O
Port (P0) ...........................................................................................................................................
K
I
Port/Special Ports (P1) .....................................................................................................................
3.2.1
3.2.2
3.2.3
3.3
3.4
K
I
port (P
11
: bits 4-7 of P1) .........................................................................................................
S
0
port (bit 2 of P1) .....................................................................................................................
S
1
/LED (bit 3 of P1) ....................................................................................................................
14
15
16
16
16
16
17
18
Control Register 0 (P3) .........................................................................................................................
Control Register 1 (P4) .........................................................................................................................
4. TIMER .............................................................................................................................................
4.1
4.2
4.3
4.4
Timer Configuration ..............................................................................................................................
Timer Operation .....................................................................................................................................
Carrier Output ........................................................................................................................................
Software Control of Timer Output .......................................................................................................
19
19
20
21
21
5. STANDBY FUNCTION ....................................................................................................................
5.1
5.2
5.3
Outline of Standby Function ................................................................................................................
Standby Mode Setup and Release .......................................................................................................
Standby Mode Release Timing ............................................................................................................
22
22
23
24
6. RESET PIN ......................................................................................................................................
7. POC CIRCUIT (MASK OPTION) ....................................................................................................
7.1
7.2
Functions of POC Circuit ......................................................................................................................
Oscillation Check at Low Supply Voltage ...........................................................................................
26
27
28
28
8. SYSTEM CLOCK OSCILLATOR ....................................................................................................
29
4
Data Sheet U14332EJ1V0DS00
µ
PD6132
9. INSTRUCTION SET ........................................................................................................................
9.1
9.2
9.3
9.4
9.5
9.6
9.7
9.8
9.9
Machine Language Output by Assembler ..........................................................................................
Circuit Symbol Description ..................................................................................................................
Mnemonic to/from Machine Language (Assembler Output) Contrast Table ...................................
Accumulator Operation Instructions ...................................................................................................
Input/Output Instructions .....................................................................................................................
Data Transfer Instructions ...................................................................................................................
Branch Instructions ..............................................................................................................................
Subroutine Instructions ........................................................................................................................
Timer Operation Instructions ...............................................................................................................
30
30
31
32
36
39
40
42
43
44
45
9.10 Others .....................................................................................................................................................
10. ASSEMBLER RESERVED WORDS ..............................................................................................
10.1 Mask Option Directives ........................................................................................................................
10.1.1 OPTION and ENDOP directives ................................................................................................
10.1.2 Mask option definition directives ................................................................................................
47
47
47
47
11. ELECTRICAL SPECIFICATIONS ...................................................................................................
12. CHARACTERISTIC CURVE (REFERENCE VALUES) ..................................................................
13. APPLIED CIRCUIT EXAMPLE .......................................................................................................
14. PACKAGE DRAWINGS ..................................................................................................................
15. RECOMMENDED SOLDERING CONDITIONS ..............................................................................
APPENDIX A. DEVELOPMENT TOOLS .............................................................................................
APPENDIX B. FUNCTIONAL COMPARISON BETWEEN
µ
PD6132 AND OTHER SUBSERIES ......
APPENDIX C. EXAMPLE OF REMOTE-CONTROL TRANSMISSION FORMAT (in the case
of NEC transmission format in command one-shot transmission mode) ............
48
52
54
55
56
57
58
59
Data Sheet U14332EJ1V0DS00
5