Remark These pins are compatible with the µPD78328GF pins.
ASTB
P90/RD
P40/AD0
P41/AD1
P42/AD2
3
µ
P00-P07: Port 0SI: Serial Input
P20-P22: Port 2SO: Serial Output
P30-P34: Port 3SB0-SB1: Serial Bus0-1
P40-P47: Port 4RD: Read Strobe
P50-P57: Port 5WR: Write Strobe
P70-P77: Port 7ASTB: Address Strobe
P80-P87: Port 8EA: External Access
P90-P93: Port 9RESET: Reset
A8-A15: Address8-15SCK: Serial Clock
AD0-AD7: Address0-7/Data0-7TAS: Turbo Access Strobe
ANI0-ANI7: Analog Input0-7TMD: Turbo Mode
TO0-TO7: Timer Output0-7X1, X2: Crystal1, 2
NMI: Nonmaskable InterruptAV
PWM: Pulse Wide Modulation OutputAVREF: Analog Reference Voltage
INTP0-INTP2: Interrupt From Peripherals0-2AV
RTP0-RTP7: Real-Time Port0-7VDD: Power Supply
TxD: Transmit DataVSS: Ground
RxD: Receive Data
4-/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
P213-bit input-only portINTP0
P22INTP1/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/OutputPORT 4AD0-AD7
8-bit input/output port
Input or output mode can be specified in 8-bit units.
P50-P57Input/OutputPORT 5A8-A15
8-bit input/output port
Input or output mode can be specified bit-wise.
P70-P77InputPORT 7ANI0-ANI7
8-bit input-only port
P80Input/OutputPORT 8TO0
P818-bit input/output portTO1
P82Input or output mode can be specified bit-wise.TO2
P83TO3
P84TO4
P85TO5
P86TO6/INTP2
P87TO7/PWM
P90Input/OutputPORT 9RD
P914-bit input/output portWR
P92Input or output mode can be specified bit-wise.TAS
P93TMD
9
(2) Non-Port Pins (1/2)
Pin Name Input/OutputFunctionAlternate
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/T1
INTP2P86/TO6
TIInputExternal count clock input pin to timer 1 (TM1).S22/INTP1
RxDInputSerial data input pin to asynchronous serial interface (UART).P30
TxDOutputSerial data output pin from asynchronous serial interface (UART).P31
SOOutputSerial data output pin from clocked serial interface in 3-wire mode.P32/SB0
SIInputSerial data input pin to clocked serial interface in 3-wire mode.P33/SB1
SB0Input/OutputSerial 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
TO0OutputPulse output from real-time pulse unit.P80
TO1P81
TO2P82
TO3P83
TO4P84
TO5P85
TO6P86/INTP2
TO7P87/PWM
PWMOutputPWM signal output from real-time pulse unit.P87/TO7
RDOutputStrobe signal output for external memory read operation.P90
WRStrobe signal output for external memory write operation.P91
*
TASControl signal output pins to access turbo access manager (µPD71P301).
TMDP93
ASTBOutputTiming signal output pin to externally latch an address information output to port 4 for—
EAInputFor µPD78P328, normally connect the EA pin to VDD. When the EA pin is connected to—
real-time pulse unit (RPU).
The rising or falling edge can be selected for the valid edge by setting the mode register.
Note
external memory access.
VSS, the µPD78P328 enters the ROMless mode and external memory is accessed.
The EA pin level cannot be changed during operation.
µ
PD78P328
Function
P92
Note Turbo access manager (µPD71P301) is available for maintenance purposes only.
10
µ
PD78P328
(2) Non-Port Pins (2/2)
Pin Name Input/OutputFunctionAlternate
Function
ANI0-ANI7 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 connection pin for system clock generation. To supply external clock,—
X2—input to the X1 and input reverse signal to the X2 pin (X2 pin can be unconnected.)—
VDD—Positive power supply pin.—
VSS—GND pin.—
1.2 PROM Programming Mode (RESET = H, AVDD = L)
Pin Name Input/OutputFunction
AVDDInputPROM programming mode setting.
RESET
A0-A14—Address bus.
D0-D7—Data bus.
CEInputPROM enable to PROM.
OEInputRead strobe to PROM.
VPP—Write power supply.
VDDPositive power supply.
VSSGND.
11
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
P00P07/RTP0-RTP75Input state: Independently connect to VDD or VSS via a resistor.
Output state: Leave Open.
P21/NMI2Connect to VSS.
P21/INTP0
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/AD0-AD75
P50/P57/A8-A15
P70-P77/ANI0-ANI79Connect to VSS.
P80-P85/TO0-TO55Input state: Independently connect to VDD or VSS via a resistor.
P86/TO6/INTP26Output state: Leave Open.
P87/TO7/PWM5
P90/RD5
P91/WR
P92/TAS
P93/TMD
ASTB4Leave Open.
EA1—
RESET2—
AVREF,AVSS—Connect to V SS.
VDD—Connect to VDD.
µ
PD78P328
12
Figure 1-1. Pin Input/Output Circuits
TYPE 1TYPE 6
V
DD
IN
P-ch
N-ch
data input enable
control signal
control input
enable
data
output
disable
data
µ
PD78P328
V
DD
P-ch
IN/OUT
N-ch
TYPE 2
TYPE 8
data
IN
output
disable
Schmitt-triggerred input with hysteresis characteristics
TYPE 4TYPE 9
V
DD
IN
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
TYPE 5
V
P-ch
N-ch
(Threshold voltage)
DD
V
P-ch
N-ch
REF
IN/OUT
Comparator
+
–
input
enable
data
output
disable
input
disable
V
DD
P-ch
IN/OUT
N-ch
13
µ
PD78P328
2.DIFFERENCES BETWEEN µPD78P328 and µPD78328
The µPD78P328 is a product provided by replacing the µPD78328's on-chip mask ROM with one-time PROM
or EPROM. Thus, the µPD78P328 and µPD78328 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.
PD78328 documents for details of
Table 2-1. Differences between µPD78P328 and µPD78328
Item
Internal program memoryOne-time PROMEPROMMask ROM
(electrical program)(programmable only once)(reprogrammable)(nonprogrammable)
PROM programming pinContainedNot contained
Package• 64-pin plastic shrink DIP• 64-pin ceramic shrink DIP• 64-pin plastic shrink DIP
*
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.