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 the devices and its recommended applications.
Functions common to the one-time PROM and EPROM versions are referred to as PROM functions throughout this document.
Document No. U10435EJ5V0DS00 (5th edition)
(Previous No. IC-2485)
Date Published December 1995 P
Printed in Japan
The information in this document is subject to change without notice.
Remark These pins are compatible with the µPD78322L pins.
P91/WR
P92/TAS
ASTB
P90/RD
P40/AD0
P41/AD142P42/AD2
4
µ
PD78P322
P00-P07: Port 0RESET: Reset
P20-P27: Port 2X1, X2: Crystal
P30-P34: Port 3WDTO: Watchdog Timer Output
P40-P47: Port 4EA: External Access
P50-P57: Port 5TMD: Turbo Mode
P70-P77: Port 7TAS: Turbo Access Strobe
P80-P85: Port 8WR: Write Strobe
P90-P93: Port 9RD: Read Strobe
NMI: Nonmaskable InterruptASTB: Address Strobe
INTP0-INTP6: Interrupt From PeripheralsAD0-AD7: Address/Data Bus
RTP0-RTP7: Real-Time PortA8-A15: Address Bus
TI: Timer InputAN0-AN7: Analog Input
TxD: Transmit DataAV
RxD: Receive DataAVSS: Analog VSS
SB0/SO: Serial Bus/Serial OutputAVDD: Analog VDD
SB1/SI: Serial Bus/Serial InputVDD: Power Supply
SCK: Serial ClockVSS: Ground
TO00-TO03:NC: No Connection
TO10, TO11:
Cautions 1. The recommended connection of the unused pins in the PROM programming mode are
indicated in parentheses.
L: Connect each pin to V
SS via a resistor.
G: Connect the pin to VSS.
Open: Leave the pin unconnected.
2. Connect NC pins to V
SS for measures against noise (can leave open).
The µPD78P322K does not maintain planned reliability when used in mass-produced products. Please use only
experimentally or for evaluating functions during trial manufacture.
DRAWINGS OF CONVERSION SOCKETS AND RECOMMENDED FOOTPRINTS
... 44
10
µ
PD78P322
1.PIN FUNCTIONS
1.1 Normal Operating Mode
(1) Port Pins
Pin Name Input/Output FunctionAlternate
Function
P00-P07Input/Output PORT0RTP0-RTP7
(Output)8-bit input/output port
Input or output mode can be specified bit-wise.
The port can also operate as a real-time output port.
P20InputPORT 2NMI
P218-bit input-only portINTP0
P22INTP1
P23INTP2
P24INTP3
P25INTP4
P26INTP5
P27INTP6/TI
P30Input/OutputPORT 3TxD
P315-bit input/output portRxD
P32Input or output mode can be specified bit-wise.SO/SB0
P33SI/SB1
P34SCK
P40-P47Input/Output PORT 4AD0-AD7
8-bit input/output port
Input or output mode can be specified in 8-bit units.
P50-P57Input/Output PORT 5A8-A15
8-bit input/output port
Input or output mode can be specified bit-wise.
P70-P77InputPORT 7AN0-AN7
8-bit input-only port
P80Input/OutputPORT 8TO00
P816-bit input/output portTO01
P82Input or output mode can be specified bit-wise.TO02
P83TO03
P84TO10
P85TO11
P90Input/OutputPORT 9RD
P914-bit input/output portWR
P92Input or output mode can be specified bit-wise.TAS
P93TMD
11
(2) Non-Port Pins (1/2)
Pin Name Input/Output FunctionAlternate
RTP0-RTP7 OutputReal-time output port which outputs a pulse in synchronization with the trigger signal from P00-P07
INTP0InputEdge-detected external interrupt request input.P21
INTP1The valid edge can be specified in the mode register.P22
INTP2P23
INTP3P24
INTP4P25
INTP5P26
INTP6P27/TI
NMIInputEdge-detected nonmaskable interrupt request input.P20
TIInputExternal count clock input pin to timer 1 (TM1).P27/INTP6
RxDInputSerial data input pin to asynchronous serial interface (UART).P31
TxDOutputSerial data output pin from asynchronous serial interface (UART).P30
SIInputSerial data input pin to clocked serial interface in 3-wire mode.P33/SB1
SOOutputSerial data output pin from clocked serial interface in 3-wire mode.P32/SB0
SB0Input/Output Serial data input/output pins to/from clocked serial interface in SBI mode.P32/SO
SB1P33/SI
SCKInput/OutputSerial clock input/output pin to/from clocked serial interface.P34
AD0-AD7 Input/OutputMultiplexed address/data bus used when external memory is added.P40-P47
A8-A15OutputAddress bus used when external memory is added.P50-P57
RDOutputStrobe signal output for external memory read operation.P90
WRStrobe signal output for external memory write operation.P91
*
TASOutputControl signal output pins to access turbo access manager (µPD71P301).
TMDP93
TO00OutputPulse output from real-time pulse unit.P80
TO01P81
TO02P82
TO03P83
TO10P84
TO11P85
ASTBOutputTiming signal output pin to externally latch low-order address information output from—
WDTOOutputSignal output which indicates that watchdog timer generated non-maskable interrupt.—
EAInputFor µPD78P322, normally connect the EA pin to VDD. When the EA pin is connected to—
the real-time pulse unit (RPU).
The rising or falling edge can be selected for the valid edge by setting the mode register.
Note
AD0-AD7 for external memory access.
VSS, the µPD78P322 enters the ROMless mode and external memory is accessed.
The EA pin level cannot be changed during operation.
µ
PD78P322
Function
P92
Note Turbo access manager (µPD71P301) is available for maintenance purposes only.
12
µ
PD78P322
(2) Non-Port Pins (2/2)
Pin Name Input/Output FunctionAlternate
Function
AN0-AN7 InputAnalog input to A/D converter.P70-P77
AVREFInputA/D converter reference voltage input.—
AVDD—A/D converter analog power supply.—
AVSS—A/D converter GND.—
RESETInputSystem reset input.—
X1InputCrystal resonator connection pin for system clock generation. To supply external clock,—
X2input to the X1 and input inverted signal to the X2 pin (X2 pin can be unconnected.)
VDD—Positive power supply pin.—
VSS—GND pin.—
NC—No internal connection. Connect to VSS (can leave open).—
1.2 PROM Programming Mode (RESET = H, AVDD = L)
Pin Name Input/Output Function
AVDDInputPROM programming mode setting.
RESET
A0-A14InputAddress bus.
D0-D7Input/Output Data bus.
CEInputPROM enable to PROM.
OEInputRead strobe to PROM.
VPP—Write power supply.
VDDPositive power supply.
VSSGND.
NCNo internal connection. Connect to VSS (can leave open).
13
1.3 Pin Input/Output Circuits and Recommended Connection of Unused Pins
Table 1-1 and Figure 1-1 show the pin input/output circuit schematically.
Table 1-1. Pin Input/Output Circuits and Recommended Connection of Unused Pins
PinInput/OutputRecommended connection of unused pins
circuit type
P00/RTP0-P07/RTP75Input state: Independently connect to VDD or VSS via a resistor.
Output state: Leave Open.
P20/NMI2Connect to V SS.
P21/INTP0-P26/INTP5
P27/INTP6/TI
P30/TxD5Input state: Independently connect to VDD or VSS via a resistor.
P31/RxDOutput state: Leave Open.
P32/SO/SB08
P33/SI/SB1
P34/SCK
P40/AD0-P47/AD75
P50/A8-P57/A15
P70/AN0-P77/AN79Connect to V SS.
P80/TO00-P83/TO035Input state: Independently connect to VDD or VSS via a resistor.
P84/TO10, P85/TO11Output state: Leave Open.
P90/RD5
P91/WR
P92/TAS
P93/TMD
WDTO3Leave Open.
ASTB4
EA1—
RESET2—
AVDD—Connect to VDD.
AVREF—Connect to VSS.
AVSS
VPP—Connect to VDD.
NC—Connect to VSS (can leave open).
µ
PD78P322
14
Figure 1-1. Pin Input/Output Circuits
TYPE 1TYPE 5
V
DD
IN
P-ch
N-ch
output
disable
input
disable
data
µ
PD78P322
V
DD
P-ch
IN/OUT
N-ch
TYPE 2
IN
TYPE 8
data
output
disable
Schmitt-triggerred input with hysteresis characteristics
TYPE 3TYPE 9
V
DD
P-ch
OUT
IN
N-ch
TYPE 4
P-ch
N-ch
(Threshold voltage)
V
DD
P-ch
N-ch
V
REF
IN/OUT
Comparator
+
–
input
enable
V
DD
data
output
disable
Push-pull output that can be placed in high impedance
(both P-ch and N-ch off).
P-ch
N-ch
OUT
15
µ
PD78P322
2.DIFFERENCES BETWEEN µPD78P322 and µPD78322
The µPD78P322 is a version provided by replacing the µPD78322's on-chip mask ROM with one-time PROM
or EPROM. Thus, the µPD78P322 and µPD78322 are the same in function except for the ROM specifications such
as write or verify. Table 2-1 lists the differences between these two products.
µ
This Data Sheet describes the PROM specification function. Refer to the
other functions.
PD78322 documents for details of
Table 2-1. Differences between µPD78P322 and µPD78322
Item
Internal program memoryOne-time PROMEPROMMask ROM
(electrical program)(programmable only once)(reprogrammable)(nonprogrammable)
PROM programming pinContainedNot contained
Package• 68-pin plastic QFJ• 68-pin ceramic WQFN• 68-pin plastic QFJ
*
*
*
Electrical specificationsCurrent dissipations are different.
OthersNoise immunity and noise radiation differ because circuit complexity and mask layout are
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 when shifting from experimental production
to mass production, evaluate your system by using the CS version (not ES version) of the mask
ROM version.