The µPD6P4B is a microcontroller for infrared remote control transmitters which is provided with a one-time
PROM as the program memory.
Because users can write programs for the µPD6P4B, it is ideal for program evaluation and small-scale production
µ
of the application systems using the
When reading this document, also refer to the µPD62 Data Sheet (U14208E) and the µPD63, 63A, 64 Data
Sheet (U11371E).
PD62, 63, 63A, or 64.
FEATURES
• Program memory (one-time PROM): 1002 × 10 bits
• Data memory (RAM): 32 × 4 bits
• Built-in carrier generation circuit for infrared remote control
• 9-bit programmable timer: 1 channel
µ
• Command execution time: 16
• Stack level: 1 level (Stack RAM is for data memory RF as well.)
• I/O pins (KI/O): 8 units
• Input pins (K
• Sense input pin (S0): 1 unit
•S1/LED pin (I/O): 1 unit (In output mode, this is the remote control transmission display
• Power supply voltage: V
• Operating ambient temperature: T
• Oscillator frequency: fX = 2.4 to 8 MHz
• POC circuit
APPLICATION
Infrared remote control transmitter (for AV and household electric appliances)
I): 4 units
s (when operating at fX = 4 MHz: ceramic oscillation)
pin.)
DD = 2.2 to 3.6 V (at fX = 4 MHz)
VDD = 2.7 to 3.6 V (at fX = 8 MHz)
A = –40 to +85 °C
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. U13594EJ2V0DS00 (2nd edition)
Date Published May 1999 N CP(K)
Printed in Japan
These pins refer to the 8-bit I/O ports. I/O switching can
be made in 8-bit units.
In INPUT mode, a pull-down resistor is added.
In OUTPUT mode, they can be used as the key scan
output of the key matrix.
Refers to the input port.
Can also be used as the key return input of the key
matrix.
In INPUT mode, the availability of the pull-down resistor
of the S0 and S1 ports can be specified by software in
terms in 2-bit units.
If INPUT mode is canceled by software, this pin is placed
in OFF mode and enters the high-impedance state.
Refers to the I/O port.
In INPUT mode (S1), this pin can also be used as the key
return input of the key matrix.
The availability of the pull-down resistor of the S0 and S1
ports can be specified by software in 2-bit units.
In OUTPUT mode (LED), it becomes the remote control
transmission display output (active low). When the
remote control carrier is output from the REM output, this
pin outputs the low level from the LED output synchronously
with the REM signal.
Refers to the infrared remote control transmission output.
The output is active high.
Carrier frequency: fX/8, fX/64, fX/96, high-level,
fX/16, fX/128, fX/192 (usable on software)
Refers to the power supply.
These pins are connected to system clock ceramic
resonators.
Refers to the ground.
Normally, this pin is a system reset input. By inputting
a low level, the CPU can be reset. When resetting with
the POC circuit a low level is output. A pull-up resistor
is incorporated.
Note 2
These pins refer to the 4-bit input ports.
They can be used as the key return input of the key
matrix.
The use of the pull-down resistor can be specified by
software in 4-bit units.
Note 1
(OFF mode)
(LED)
—Input (low-level)
Notes 1. Be careful about this because the drive capability of the low-level output side is held low.
2. In order to prevent malfunction, be sure to input a low level to more than one of pins KI0 to KI3 when
reset is released (when RESET pin changes from low level to high level, or POC is released due to
supply voltage startup).
6
Data Sheet U13594EJ2V0DS00
µ
1.2 PROM Programming Mode
Pin No.SymbolFunctionI/O
1, 2D0-D78-bit data input/output when writing/verifying program memoryI/O
15-20
3CLKClock input for updating address when writing/verifying programInput
memory
6VDDPower Supply.–
Supply +6 V to this pin when writing/verifying program memory.
7XOUTClock necessary for writing program memory. Connect 4 MHz ceramic–
8XINresonator to these pins.Input
9GNDGND–
10VPPSupplies voltage for writing/verifying program memory.–
Apply +12.5 V to this pin.
11-14MD0-MD3Input for selecting operation mode when writing/verifying program memory. Input
PD6P4B
Data Sheet U13594EJ2V0DS00
7
1.3 INPUT/OUTPUT Circuits of Pins
The input/output circuits of the µPD6P4B pins are shown in partially simplified forms below.
I/O0-KI/O7(4) S0
(1) K
V
DD
data
Output
latch
P-ch
Input buffer
µ
PD6P4B
output
disable
Selector
Input buffer
Note The drive capability is held low.
I0-KI3
(2) K
standby
release
Input buffer
pull-down flag
N-ch
N-ch
Note
N-ch
standby
release
REM
output latch
pull-down flag
(5) S1/LED
output
disable
standby
release
pull-down flag
OFF mode
Input buffer
V
N-ch
DD
P-ch
N-ch
N-ch
(3) REM(6) RESET
VDD
P-ch
data
8
Output
latch
N-ch
Carrier
generator
Internal reset signal
other than POC
Data Sheet U13594EJ2V0DS00
POC circuit
Input buffer
V
DD
P-ch
N-ch
1.4 Dealing with Unused Pins
The following connections are recommended for unused pins in the normal operation mode.
Inside the microcontrollerOutside the microcontroller
Built-in POC circuitOpen
Connection
Note If the circuit is an applied one requiring high reliability, be sure to design it in such a manner that the RESET
signal is entered externally.
Caution The I/O mode and the terminal output level are recommended to be fixed by setting them
repeatedly in each loop of the program.
1.5 Notes on Using KI Pin at Reset
In order to prevent malfunction, be sure to input a low level to more than one of pins KI0 to KI3 when reset is
released (when RESET pin changes from low level to high level, or POC is released due to supply voltage startup).
Data Sheet U13594EJ2V0DS00
9
µ
PD6P4B
2. DIFFERENCES AMONG µPD62, 63, 63A, 64, AND µPD6P4B
Table 2-1 shows the differences among the µPD62, 63, 63A, 64, and µPD6P4B.
The only differences among these models are the program memory, supply voltage, system clock frequency,
oscillation stabilization wait time, and POC circuit (mask option), and the CPU function and internal peripheral
hardware are the same.
The electrical characteristics also differ slightly. For the electrical characteristics, refer to the Data Sheet of each
model.
µ
Table 2-1. Differences among
(1) When POC circuit (mask option) is provided to
PD62, 63, 63A, 64, and µPD6P4B
µ
PD62, 63, 63A, and 64
Item
ROMOne-time PROM Mask ROM
Oscillation stabilization wait time
• On releasing STOP mode by release286/fX52/fX
condition
• On releasing STOP or HALT mode by478/fX to 926/fX246/fX to 694/fX
RESET input and at reset
VPP pin and operating mode select pinProvidedNot provided
Electrical specificationsSome electrical specifications, such as data retention voltage and current
µ
PD6P4B
1002 × 10 bits512 × 10 bits768 × 10 bits1002 × 10 bits
(000H to 3E9H)(000H to 1FFH)(000H to 2FFH)(000H to 3E9H)
consumption, differ. For details, refer to Data Sheet of each model.
µ
PD62, 63
µ
PD63A
µ
PD64
(2) When POC circuit (mask option) is not provided to µPD62, 63, 63A, and 64
Item
ROMOne-time PROMMask ROM
Oscillation stabilization wait time
• On releasing STOP mode by release286/fX52/fX
condition
• On releasing STOP or HALT mode by478/fX to 926/fX246/fX to 694/fX
RESET input and at reset
VPP pin and operating mode select pinProvidedNot provided
POC circuitIncorporatedNot provided
Supply voltage
System clock frequency
Electrical specificationsSome electrical specifications, such as data retention voltage and current
µ
PD6P4B
1002 × 10 bits512 × 10 bits768 × 10 bits1002 × 10 bits
(000H to 3E9)(000H to 1FFH)(000H to 2FFH)(000H to 3E9H)
VDD = 2.2 to 3.6 V
(TA = –40 to +85 °C)
•fX = 2.4 to 4 MHz
•fX = 4 to 8 MHz
consumption, differ. For details, refer to Data Sheet of each model.
µ
PD62, 63
VDD = 1.8 to 3.6 V (TA = –40 to +85 °C)
•fX = 2.4 to 4 MHz
Note
• fX = 2.4 to 8 MHz (VDD = 2.2 to 3.6 V)
µ
PD63A
µ
PD64
Note It is necessary to design the application circuit so that the RESET pin goes low when the supply voltage
is less than 2.7 V.
10
Data Sheet U13594EJ2V0DS00
Loading...
+ 22 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.