The µPD178P018 is a device in which the on-chip mask ROM of the µPD178018 is replaced with a one-time
PROM or EPROM.
Because this device can be programmed by users, it is ideally suited for system evaluation, small-lot and multiple-
device production, and early development and time-to-market.
The µPD178P018 is a PROM version corresponding to the µPD178004, 178006, and 178016.
µ
Caution The
PD178P018KK-T does not maintain planned reliability when used in your system’s massproduced products. Please use only experimentally or for evaluation purposes during trial manufacture.
For more information on functions, refer to the following User’s Manuals. Be sure to read them when
designing.
µ
PD178018 Subseries User’s Manual: U11410E
78K/0 Series User’s Manual Instruction: U12326E (In Preparation)
FEATURES
• Pin-compatible with mask ROM version (except for VPP pin)
• Internal PROM: 60 Kbytes
•µPD178P018GC: One-time programmable (ideally suited for small-lot production)
•
µ
PD178P018KK-T : Reprogrammable (ideally suited for system evaluation)
• Internal high-speed RAM: 1024 bytes
• Internal expansion RAM: 2048 bytes
• Buffer RAM: 32 bytes
• Can be operated in the same power supply voltage as the mask ROM version
(During PLL operation: V
The electrical specifications (power supply current, etc.) and PLL analog specifications of the
differ from that of mask ROM versions. So, these differences should be considered and verified before
application sets are mass-produced.
DD = 4.5 to 5.5 V)
µ
PD178P018
In this document, the term PROM is used in parts common to one-time PROM versions and EPROM versions.
The information in this document is subject to change without notice.
Document No. U12298EJ1V0DS00 (1st Edition)
Date Published May 1997 N
Printed in Japan
PD178P018GC-3B980-pin plastic QFP (14 × 14 mm, 0.65-mm pitch)One-Time PROM Standard
µ
PD178P018KK-T
Note
80-pin ceramic WQFN (14 × 14 mm, 0.65-mm pitch)EPROMNot applicable
NoteUnder planning
Please refer to "Quality grade on NEC Semiconductor Devices" (Document number C11531E) published by
NEC Corporation to know the specification of quality grade on the devices and its recommended applications.
4. Connect each of the REGOSC and REGCPU pins to GND via a 0.1-µF capacitor.
P43
P44
P45
P46
P47
DDPORT
V
PP pin to GND directly.
AMIFC
DDPLL
FMIFC
V
VCOL
VCOH
EO0
GNDPLL
EO1
PP
V
P50
P51
P52
P53
5
µ
PD178P018
AMIFC: AM Intermediate Frequency Counter Input
ANI0 to ANI5: A/D Converter Input
BEEP: Buzzer Output
BUSY: Busy Output
EO0, EO1: Error Out Output
FMIFC: FM Intermediate Frequency Counter Input
GND: Ground
GNDPLL: PLL Ground
GNDPORT: Port Ground
INTP0 to INTP6 : Interrupt Inputs
P00 to P06: Port 0
P10 to P15: Port 1
P20 to P27: Port 2
P30 to P37: Port 3
P40 to P47: Port 4
P50 to P57: Port 5
P60 to P67: Port 6
P120 to P125: Port 12
P132 to P134: Port 13
PWM0 to PWM2 : PWM Output
REGCPU: Regulator for CPU Power Supply
REGOSC: Regulator for Oscillator
RESET: Reset Input
SB0, SB1: Serial Data Bus Input/Output
SCK0, SCK1: Serial Clock Input/Output
SCL: Serial Clock Input/Output
SDA0, SDA1: Serial Data Input/Output
SI0, SI1: Serial Data Input
SO0, SO1: Serial Data Output
STB: Strobe Output
TI1, TI2: Timer Clock Input
VCOL, VCOH: Local Oscillation Input
APPENDIX A. DEVELOPMENT TOOLS ................................................................................................ 49
APPENDIX B. RELATED DOCUMENTS ................................................................................................ 53
9
1. PIN FUNCTION LIST
1.1 Pins in Normal Operating Mode
(1) Port pins
µ
PD178P018
Pin NameI/OFunctionAfter Reset
P00InputPort 0.Input onlyInputINTP0
P01 to P06 I/O7-bit input/output port.
P10 to P15 I/OPort 1.InputANI0 to ANI5
6-bit input/output port.
Input/output mode can be specified bit-wise.
P20I/OPort 2.InputSI1
P218-bit input/output port.SO1
P22Input/output mode can be specified bit-wise.SCK1
P23STB
P24BUSY
P25SI0/SB0/SDA0
P26
P27SCK0/SCL
P30 to P32 I/OPort 3.Input—
P338-bit input/output port.TI1
P34Input/output mode can be specified bit-wise.TI2
P35—
P36BEEP
P37—
P40 to P47 I/OPort 4.Input—
8-bit input/output port.
Input/output mode can be specified in 8-bit units.
Test input flag (KRIF) is set to 1 by falling edge detection.
P50 to P57 I/OPort 5.Input—
8-bit input/output port.
Input/output mode can be specified bit-wise.
P60 to P63 I/OPort 6.Middle voltage N-ch open-drainInput—
8-bit input/output port.input/output port.
P64 to P67Input/output mode can beLEDs can be driven directly.
specified bit-wise.
P120 toI/OPort 12.Input—
P1256-bit input/output port.
Input/output mode can be specified bit-wise.
P132 toOutputPort 13. —PWM0 to
P1343-bit output port.PWM2
N-ch open-drain output port.
Input/output mode can be specified bit-wise.
InputINTP1 to INTP6
Alternate Function
SO0/SB1/SDA1
10
(2) Non-port pins (1 of 2)
µ
PD178P018
Pin NameI/OFunctionAfter Reset
INTP0 toInputExternal maskable interrupt inputs with specifiable valid edges (risingInputP00 to P06
INTP6edge, falling edge, both rising and falling edges).
SI0InputSerial interface serial data inputInput
SI1P20
SO0OutputSerial interface serial data outputInput
SO1P21
SB0I/OSerial interface serial data input/outputInputP25/SI0/SDA0
SB1
SDA0P25/SI0/SB0
SDA1P26/SO0/SB1
SCK0I/OSerial interface serial clock input/outputInputP27/SCL
SCK1P22
SCLP27/SCK0
STBOutputSerial interface automatic transmit/receive strobe outputInputP23
BUSYInputSerial interface automatic transmit busy inputInputP24
TI1InputExternal count clock input to 8-bit timer (TM1)InputP33
TI2External count clock input to 8-bit timer (TM2)P34
BEEPOutputBuzzer outputInputP36
ANI0 to ANI5
PWM0 toOutputPWM output—P132 to P134
PWM2
EO0, EO1OutputError out output from charge pump of the PLL frequency synthesizer——
VCOLInputInputs PLL local band oscillation frequency (In HF, MF mode).——
VCOHInputInputs PLL local band oscillation frequency (In VHF mode).——
AMIFCInputInputs AM intermediate frequency counter.——
FMIFCInputInputs FM intermediate frequency counter.——
RESETInputSystem reset input——
X1InputCrystal resonator connection for system clock oscillation——
X2 ———
REGOSC —Regulator for oscillator. Connected to GND via a 0.1-µF capacitor.——
REGCPU —Regulator for CPU power supply. Connected to GND via a 0.1-µF capacitor.——
VDD —Positive power supply——
GND —Ground——
VDDPORT —Positive power supply for port block——
GNDPORT —Ground for port block——
VDDPLL —Positive power supply for PLL——
GNDPLL —Ground for PLL——
InputA/D converter analog inputInputP10 to P15
Alternate Function
P25/SB0/SDA0
P26/SB1/SDA1
P26/SO0/SDA1
11
(2) Non-port pins (2/2)
µ
PD178P018
Pin NameI/OFunctionAfter Reset
VPP—High-voltage applied during program write/verification.——
Connected directly to GND in normal operating mode.
Alternate Function
1.2 Pins in PROM Programming Mode
Pin NameI/OFunction
RESETInputPROM programming mode setting
When +5 V or +12.5 V is applied to VPP pin and a low-level signal is applied to the RESET pin, this
chip is set in the PROM programming mode.
VPPInputPROM programming mode setting and high-voltage applied during program write/verification.
A0 to A16InputAddress bus
D0 to D7I/OData bus
CEInputPROM enable input/program pulse input
OEInputRead strobe input to PROM
PGMInputProgram/program inhibit input in PROM programming mode.
VDD—Positive power supply
GND—Ground potential
12
µ
PD178P018
1.3 Pins Input/Output Circuits and Recommended Connection of Unused Pins
Table 1-1 shows the input/output circuit types of pins and the recommended conditions for unused pins.
Refer to Figure 1-1 for the configuration of the input/output circuit of each type.
Table 1-1. Type of I/O Circuit of Each Pin
Pin NameI/O Circuit TypeI/ORecommended Connections of Unused Pins
P00/INTP02InputConnected to GND or GNDPORT
P01/INTP1 to P06/INTP68I/OSet in general-purpose input port mode by software and
P10/ANI0 to P15/ANI511-Aindividually connected to VDD, VDDPORT, GND, or GNDPORT
P20/SI18via a resistor.
P21/SO15
P22/SCK18
P23/STB5
P24/BUSY8
P25/SI0/SB0/SDA010
P26/SO0/SB1/SDA1
P27/SCK0/SCL
P30 to P325
P33/TI1, P34/TI28
P355
P36/BEEP
P37
P40 to P475-G
P50 to P575
P60 to P6313
P64 to P675
P120 to P125
P132/PWM0 to P134/PWM219OutputSet to the low-level output by software and open
EO0DTS-EO1Open
EO1DTS-EO2
VCOL, VCOHDTS-AMPInputSet to disabled status by software and open
AMIFC, FMIFC
VPP — —Connected to GND or GNDPORT directly
13
Figure 1-1. Types of Pin Input/Output Circuits (1/2)
Type 2Type 8
data
IN
output
disable
Schmitt-Triggered Input with Hysteresis Characteristics
V
DD
P-ch
N-ch
µ
PD178P018
IN/OUT
Type 5
data
V
DD
P-ch
Type 10
IN/OUT
output
disable
N-ch
open drain
output disable
input
enable
Type 5-GType 11-A
V
data
output
disable
DD
P-ch
IN/OUT
N-ch
data
output
disable
comparator
input
enable
data
P-ch
+
–
N-ch
V
REF
(Threshold voltage)
V
DD
P-ch
N-ch
V
P-ch
N-ch
IN/OUT
DD
IN/OUT
Remark All V
14
DD and GND in the above figures are the positive power supply and ground potential of the ports,
and should be read as V
DDPORT and GNDPORT, respectively.
Figure 1-1. Types of Pin Input/Output Circuits (2/2)
µ
PD178P018
Type 13Type DTS-EO2
IN/OUT
output disable
data
Middle-Voltage Input Buffer
Type 19
N-ch
N-ch
Type DTS-AMP
OUT
IN
DW
UP
DD
V
P-ch
N-ch
GNDPLL
V
PLL
DD
OUT
PLL
Type DTS-EO1
DW
Remark All V
and should be read as V
DD
PLL
V
P-ch
OUT
UP
DD and GND in the above figures are the positive power supply and ground potential of the ports,
N-ch
GNDPLL
DDPORT and GNDPORT, respectively.
15
µ
PD178P018
2. PROM PROGRAMMING
The µPD178P018 has an internal 60-Kbyte PROM as a program memory. For programming, set the PROM
programming mode with the V
PP and RESET pins. For the connection of unused pins, refer to “PIN CONFIGURA-
TIONS (TOP VIEW) (2) PROM programming mode.”
Caution Programs must be written in addresses 0000H to EFFFH (the last address EFFFH must be
specified). They cannot be written by a PROM writer which cannot specify the write address.
2.1 Operating Modes
When +5 V or +12.5 V is applied to the V
PP pin and a low-level signal is applied to the RESET pin, the PROM
programming mode is set. This mode will become the operating mode as shown in Table 2-1 when the CE, OE, and
PGM pins are set as shown.
Further, when the read mode is set, it is possible to read the contents of the PROM.
Table 2-1. Operating Modes of PROM Programming
PinRESETVPPVDDCEOEPGMD0 to D7
Operating Mode
Page data latchL+12.5 V+6.5 VHLHData input
Page writeHHLHigh-impedance
Byte writeLHLData input
Program verifyLLHData output
Program inhibitxHHHigh-impedance
Data output becomes high-impedance, and is in the output disable mode, if OE = H is set.
µ
Therefore, it allows data to be read from any device by controlling the OE pin, if multiple
connected to the data bus.
(3) Standby mode
Standby mode is set if CE = H is set.
In this mode, data outputs become high-impedance irrespective of the OE status.
(4) Page data latch mode
Page data latch mode is set if CE = H, PGM = H, and OE = L are set at the beginning of page write mode.
In this mode, 1 page 4-byte data is latched in an internal address/data latch circuit.
(5) Page write mode
After 1 page 4 bytes of addresses and data are latched in the page data latch mode, a page write is executed
by applying a 0.1-ms program pulse (active low) to the PGM pin with CE = H and OE = H. Then, program
verification can be performed, if CE = L and OE = L are set.
If programming is not performed by a one-time program pulse, X times (X ≤ 10) write and verification operations
should be executed repeatedly.
PD178P018s are
(6) Byte write mode
Byte write is executed when a 0.1-ms program pulse (active low) is applied to the PGM pin with CE = L and OE
= H. Then, program verification can be performed if OE = L is set.
If programming is not performed by a one-time program pulse, X times (X ≤ 10) write and verification operations
should be executed repeatedly.
(7) Program verify mode
Program verify mode is set if CE = L, PGM = H, and OE = L are set.
In this mode, check if a write operation is performed correctly after the write.
(8) Program inhibit mode
Program inhibit mode is used when the OE pin, V
in parallel and a write is performed to one of those devices.
When a write operation is performed, the page write mode or byte write mode described above is used. At this
time, a write is not performed to a device which has the PGM pin driven high.
PP pin, and D0 to D7 pins of multiple
µ
PD178P018s are connected
17
2.2 PROM Write Procedure
Figure 2-1. Page Program Mode Flow Chart
Start
Address = G
DD
= 6.5 V, V
V
Address = Address + 1
X = 0
Latch
Latch
PP
= 12.5 V
µ
PD178P018
Address = Address + 1
Address = Address + 1
Address = Address + 1
0.1-ms program pulse
No
Address = N?
V
DD
= 4.5 to 5.5 V, V
Latch
Latch
X = X + 1
Verify
4 bytes
Pass
Yes
PP
= V
No
X = 10?
Fail
DD
Yes
Remark G = Start address
N = Program last address
18
Pass
Verify
all bytes
All Pass
Write endDefective product
Fail
Loading...
+ 42 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.