The µPD75P036 is a 4-bit signgle-chip microcontroller that replaced the µPD75028's on-chip ROM with
one-time PROM or EPROM. Because this device can operate at the same supply voltage as its mask
version, it is suited for preproduction in development stage or small-scale production.
The one-time PROM version is programmable only once and is useful for small-scale production of many
different products and time-to-market of a new product. The EPROM version is programmable, erasable,
and reprogrammable, and is suited for the evaluation of application systems.
Detailed functions are described in the followig user's manual. Be sure to read it for designing.
µ
PD75028 User's Manual: IEU-1280
★
FEATURES
•
µ
PD75028 compatible
µ
• At full production, the
PD75P036 can be replaced with the µPD75028 which incorporates mask ROM
• Memory capacity
• Program memory (PROM): 16256 x 8 bits
• Data memory (RAM): 1024 x 4 bits
• Internal pull-up resistors can be specified by software: Ports 0-3, 6-8
• Internal pull-down resistors can be specified by software: Port 9
PD75P036GC-AB864-pin plastic QFP (14 x 14 mm)One-time PROMStandard
µ
PD75P036KG64-pin ceramic WQFNEPROMNot applicable
CautionInternal pull-up/pull-down resistors cannot be specified by mask option as for this device.
Please refer to "Quality grade on NEC Semiconductor Devices" (Document number IEI-1209) published by NEC Corporation
to know the specification of quality grade on e devices and its recommended applications.
★
The reliability of the EPROM version, µPD75P036KG, is not guaranteed when used in mass-produced application
sets. Please use this device only experimentally or for evaluation during trial manufacture.
The function common to the one-time PROM and EPROM versions is referred to as PROM throughout this document.
Document No. U10051EJ3V0DS00 (3rd edition)
(Previous No. IC-2967
Date Published September 1995 P
Printed in Japan
The information in this document is subject to change without notice.
P00-P03: Port 0INT0, INT1, INT4: External Vectored Interrupt
P10-P13: Port 1INT2: External Test Input
P20-P23: Port 2X1, X2: Main System Clock Oscillation
P30-P33: Port 3XT1, XT2: Subsystem Clock Oscillation
P40-P43: Port 4MAR: Reference Integration
P50-P53: Port 5Control
P60-P63: Port 6MAI: Integration Control
P70-P73: Port 7MAZ: Autozero Control
P80-P83: Port 8MAT: External Comparate
P90-P93: Port 9Timing Input
P100-P103 : Port 10PPO: Programmable Pulse Output
P110-P113 : Port 11··· MFT timer mode
KR0-KR7: Key ReturnAN0-AN7: Analog Input
SCK: Serial ClockAV
SI: Serial InputAB
SO: Serial OutputAV
REF+: Analog Reference (+)
REF–: Analog Reference (–)
DD: Analog VDD
SB0, SB1: Serial BusAVSS: Analog VSS
RESET: Reset InputVDD: Positive Power Supply
TI0: Timer InputV
2.1Differences between µPD75P036 and µPD75028/75036 ... 14
2.2Program Memory (ROM) ... 15
2.3Data Memory (RAM) ... 17
3.WRITING AND VERIFYING PROM (PROGRAM MEMORY) ... 19
3.1Operation Modes For Writing/Verifying Program Memory ... 19
3.2Program Memory Write Procedure ... 20
3.3Program Memory Read Procedure ... 21
3.4Erasure (µPD75P036KG only) ... 22
µ
PD75P036
★
★
4.ELECTRICAL SPECIFICATIONS ... 23
5.CHARACTERISTIC CURVES ... 38
6.PACKAGE DRAWINGS ... 44
7.RECOMMENDED SOLDERING CONDITIONS ... 47
APPENDIX A.DEVELOPMENT TOOLS ... 48
APPENDIX B.RELATED DOCUMENTS ... 49
★
★
5
µ
PD75P036
1.PIN FUNCTIONS
1.1 Port Pins (1/2)
Pin Name Input/OutputAlternateFunction8-Bit I/OWhen ResetInput/Output
FunctionCircuit
P00InputINT44-bit input port (PORT0).NoInputB
P01Input/OutputSCKInternal pull-up resistors can be specified inF - A
P02Input/OutputSO/SB03-bit units for the P01 to P03 pins byF - B
P03Input/OutputSI/SBIsoftware.M - C
P10InputINT0 With noise elimination functionNoInputB - C
P11INT14-bit input port (PORT1).
P12INT2Internal pull-up resistors can be specified in
P13TI04-bit units by software.
P20Input/OutputPTO04-bit input/output port (PORT2).NoInputE - B
P21PPOInternal pull-up resistors can be specified in
P22PCL4-bit units by software.
P23BUZ
Note 2
P30
P31
P32
P33
Input/OutputMD0Programmable 4-bit input/output portNoInputE - B
Note 2
Note 2
Note 2
MD1(PORT3).
MD2This port can be specified for input/output
MD3in bit units.
Internal pull-up resistors can be specified in
4-bit units by software.
Note 2
N-ch open-drain 4-bit input/output portYesInputM - A
P40-P43Input/Output(PORT4).
Withstands up to 10 V.
Data input/output pin for writing and verifying
of program memory (PROM) (lower 4 bits).
Note 2
Input/OutputN-ch open-drain 4-bit input/output portInputM - A
P50-P53(PORT5).
Withstands up to 10 V.
Data input/output pin for writing and verifying
of program memory (PROM) (upper 4 bits).
Pin Name Input/Output AlternateFunction8-Bit I/OWhen ResetInput/Output
FunctionCircuit
P60Input/Output KR0Programmable 4-bit input/output portYesInputF - A
P61KR1(PORT6).
P62KR2Internal pull-up resistors can be specified in
P63KR34-bit units by software.
P70Input/Output KR44-bit input/output port (PORT7).InputF - A
P71KR5Internal pull-up resistors can be specified in
P72KR64-bit units by software.
P73KR7
P80-P83Input/Output —4-bit input/output port (PORT8).NoInputE - B
Internal pull-up resistors can be specified in
4-bit units by software.
P90-P93Input/Output —4-bit input/output port (PORT9).InputE - D
Internal pull-up resistors can be specified in
4-bit units by software.
P100Input/Output MARN-ch open-drain 4-bit input/output portNoInputM -A
P101MAI(PORT10).
P102MAZWithstands up to 10 V in open-drain mode.
P103MAT
P110InputAN04-bit input/output port (PORT11).InputY
P111AN1
P112AN2
P113AN3
Type
Note 1
Note Circles indicate schmitt-triggerred inputs.
7
µ
PD75P036
1.2 Non-Port Pins (1/2)
Pin Name Input/OutputAlternateFunction8-Bit I/OWhen ResetInput/Output
FunctionCircuit
TI0InputP13External event pulse input pin to timer/event counterInputB - C
PTO0Input/Output P20Timer/event counter output pinInputE - B
PCLInput/OutputP22Clock output pinInputE - B
BUZInput/OutputP23Fixed frequency output pin (for buzzer or for trimmingInputE - B
the system clock)
SCKInput/Output P01Serial clock input/output pinInputF - A
SO/SB0Input/OutputP02Serial data output pinInputF - B
Serial bus input/output pin
SI/SB1Input/OutputP03Serial data output pinInputM - C
Serial bus input/output pin
INT4InputP00Edge detection vectored interrupt input pin (EitherInputB
rising or falling edge detection is effective)
INT0InputP10Edge detection vectored interrupt input pin (DetectionInputB - C
INT1P11edge can be selected)
INT2InputP12Edge detection testable input pin (rising edge detection)InputB - C
KR0-KR3 Input/OutputP60-P63Testable input/output pin (parallel falling edge detection)InputF - A
KR4-KR7 Input/OutputP70-P73Testable input/output pin (parallel falling edge detection)InputF - A
MARInput/OutputP100In integral A/DReverse integration signal output pinInputM - A
MAIInput/OutputP101converter modeIntegration signal output pinInputM - A
MAZInput/OutputP102of MFTAuto zero signal output pinInputM - A
MATInput/OutputP103Comparator input pinInputM - A
PPOInput/OutputP21In timer modeTimer pulse output pinInputE - B
of MFT
Type
Note 1
Note Circles indicate Schmitt-triggerred inputs.
Remark MFT: Multifunction timer
8
µ
PD75P036
1.2 Non-Port Pins (2/2)
Pin Name Input/OutputAlternateFunctionWhen ResetInput/Output
FunctionCircuit
AN0-AN3 InputP110-P113Pins only for A/D8-bit analog input pin.—Y
AN4-AN7—converterY - A
AVREF+Input—Reference voltage input—Z - A
pin (AVDD side).
AVREF–Input—Reference voltage input—Z - A
pin (AVSS side).
AVDD——Positive power supply pin. ——
AVSS——GND potential pin.——
X1, X2Input—Crystal or ceramic resonator connection for main——
system clock generation. To use external clock, input
the external clock to X1 and its reverse phase to X2.
XT1, XT2 Input—Crystal or ceramic resonator connection for subsystem ——
clock generation. To use external clock, input the
external clock to XT1 and its reverse phase to XT2.
XT1 can be used as a 1-bit input (test) pin.
RESETInput—System reset input pin.—B
MD0/MD3 Input/Output P30-P33Mode selection pins in program memory (PROM)InputE - B
Note 2
VPP
VDD——Positive power supply pin.——
VSS——GND potential pin.——
——Program voltage application pin in program memory——
write/verify mode.
(PROM) write/verify mode.
At normal operation, connect the pin to VDD directly.
In the PROM write/verify mode, apply +12.5 V.
Type
Note 1
Notes 1. Circles indicate schmitt trigger inputs.
2. If the V
PP pin is not connected directly to the VDD pin at normal operation, the
normally.
µ
PD75P036 does not operate
9
1.3Pin Input/Output Circuits
The following shows a simplified input/output circuit diagram for each pin of the
µ
PD75P036.
µ
PD75P036
TYPE A (for TYPE E - B)
V
DD
P-ch
IN
N-ch
CMOS-level input buffer
TYPE B
IN
Schmitt-triggerred input with hysteresis characteristics
TYPE D (for TYPE E - B, F - A)
V
DD
data
output
disable
Push-pull output that can be set in an output
high-impedance state (both P-ch and N-ch are off)
TYPE E - B
P.U.R.
enable
data
output
disable
P.U.R. : Pull-Up Resistor
Type D
Type A
P-ch
N-ch
V
DD
OUT
P.U.R.
P-ch
IN/OUT
10
TYPE B - C
P-ch
IN
V
DD
P.U.R.
P.U.R.
enable
P.U.R. : Pull-Up Resistor
TYPE E - D
data
output
disable
P.D.R. : Pull-Down Resistor
Type D
Type A
P.D.R.
enable
IN/OUT
N-ch
P.D.R.
µ
PD75P036
TYPE F - A
output
disable
TYPE F - B
output
disable
(P)
data
output
disable
P.U.R.
enable
data
P.U.R. : Pull-Up Resistor
output
disable
(N)
Type D
P.U.R.
enable
Type B
TYPE M - C
V
DD
P.U.R.P.U.R.
P-chP-ch
IN/OUT
data
P.U.R.
enable
N-ch
output
disable
P.U.R. : PullUp Resistor
TYPE Y
V
DD
P.U.R.
V
DD
P-ch
N-ch
P-ch
IN/OUT
IN
AV
P-ch
N-ch
DD
Sam-
pling
C
AV
SS
Reference voltage
(from serial resistor
input
string voltage tap)
enable
V
+
–
DD
AV
AV
IN/OUT
DD
SS
TYPE M - A
data
output
disable
P.U.R. : Pull-Up Resistor
N-ch
(+10-V
voltage)
Middle-voltage input buffer
(withstands up to + 10 V)
P.U.R. : Pull-Up Resistor
IN/OUT
TYPE Y - A
IN
AV
DD
P-ch
N-ch
AV
IN instruction
Input buffer
AV
DD
+
Sam-
pling
–
C
AV
SS
SS
Reference voltage
(from serial resistor
string voltage tap)
11
TYPE Z - A
AVREF+
AVREF-
Reference voltage
µ
PD75P036
12
µ
PD75P036
1.4 Recommended Connection of Unused Pins
Pin NameRecomended Connecting Method
P00/INT4Connect to VSS.
P01/SCKConnect to VSS or VDD.
P02/SO/SB0
P03/SI/SB1
P10/INT0-P12/INT2Connect to VSS.
P13/TI0
P20/PTO0Input state: Independently connect to VSS or VDD via a
P21/PPOresistor.
P22/PCLOutput state: Leave Open.
P23/BUZ
P30/MD0-P33/MD3
P40-P43
P50-P53
P60/KR0-P63/KR3
P70/KR4-P73/KR7
P80-P83
P90-P93
P100/MAR
P101/MAI
P102/MAZ
P103/MAT
P110/AN0-P113/AN3Connect to VSS or VDD.
AN4-AN7
AVREF+Connect to VSS.
AVREF–
AVSS
AVDDConnect to VDD.
XT1Connect to VSS or VDD.
XT2Leave Open.
VPPConnect directly to VDD.
★
13
µ
PD75P036
2.MEMORY
2.1 Differences between µPD75P036 and µPD75028/75036
µ
PD75P036 is a microcontroller provided by replacing the µPD75028's on-chip mask ROM with one-time
The
PROM or EPROM. Capacity of program memory and data memory are different, but CPU function and internal
hardware are identical. Table 2-1 shows the differences between the µPD75P036 and µPD75028/75036. Users
should fully consider these differences especially when debugging or producing an application system on an
experimental basis by using the PROM version and then mass-producing the system using the mask ROM version.
µ
For details about the CPU function and the internal hardware, refer to
PD75028 User's Manual (IEM-1280).
★
Item
Program memoryOne-time PROM/EPROMMask ROM
Data memory000H-3FFH000H-1FFH000H-3FFH
Pull-up resistorPorts 0-3, 6-8Can be specified by software.
Pull-down resistor Port 9Can be specified by software.
XT1 feedback resistorProvided on-chipCan be disconnected by mask option
Supply voltageVDD = 2.7 to 6.0 V
Pin connectionPin 16 (SDIP)VPPInternally connected
Electrical specificationsSupply current and operating temperature ranges differ between µPD75P036 and
OthersNoise immunity and noise radiation differ because circuit complexity and mask layout are
Table 2-1. Differences between µPD75P036 and µPD75028/75036
µ
PD75P036
0000H-3F7FH0000H-1F7FH0000H-3F7FH
(16256 x 8 bits)(8064 x 8 bits)(16256 x 8 bits)
(1024 x 4 bits)(512 x 4 bits)(1024 x 4 bits)
Ports 4, 5, 10Not providedCan be connected by mask option
PD75028/75036. For details, refer to the electrical specifications described in Data Sheet
of each model.
different.
µ
PD75028
µ
PD75036
Caution The noise immunity and noise radiation differ between the PROM and mask ROM versions. To
replace the PROM version with the mask ROM version in the course of experimental production
to mass production, evaluate your system by using the CS version (not ES) of the mask ROM
version.
14
µ
PD75P036
2.2 Program Memory (ROM) ··· 16256 words x 8 bits
The program memory is a 16256-word x 8-bit PROM and stores programs, table data, etc.
The program memory is accessed by referencing the program counter contents. Table data can be referenced
by executing a table look-up instruction (MOVT).
Figure 2-1 shows the address range in which a branch can be taken by branch instructions and subroutine call
instructions. A relative branch instruction (BR $addr) enables a branch to addresses [PC value –15 to –1, +2 to
+16] regardless of block boundaries.
Program memory addresses are 0000H-3F7FH and the following addresses are assigned to special purposes:
(All areas except 0000H or 0001H can be used as normal program memory.)
• Addresses 0000H-0001H
Vector table into which the program start address and MBE setting value when the RESET signal is generated
are written.
Processing at reset is started at any desired address.
• Addresses 0002H-000DH
Vector table into which the program start address and MBE setting value when each vectored interrupt is
generated are written.
Interrupt servicing can be started at any desired address.
• Addresses 0020H-007FH
Table area referenced by the GETI instruction
Note
.
Note The GETI instruction is provided to execute any 2-byte or 3-byte instruction or two 1-byte instructions as a 1-
byte instruction; it is used to reduce the number of program steps.