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.
µ
PD178P018A is a PROM version corresponding to the µPD178004A, 178006A, and 178016A.
The
Note
is a device in which the internal mask ROM of the µPD178018A is replaced with a one-
NoteUnder development
Caution The µPD178P018AKK-T does not maintain planned reliability when used in your system’s mass-
produced 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.
µ
PD178018A Subseries User’s Manual: To be prepared
78K/0 Series User’s Manual Instruction: U12326E
FEATURES
• Pin-compatible with mask ROM version (except for VPP pin)
• Internal PROM: 60 Kbytes
•µPD178P018AGC : One-time programmable (ideally suited for small-lot production)
•µPD178P018AKK-T: Reprogrammable (ideally suited for system evaluation)
• Internal high-speed RAM: 1 024 bytes
• Internal expansion RAM: 2 048 bytes
• Buffer RAM: 32 bytes
• Can be operated in the same power supply voltage as the mask ROM version
(During PLL operation: VDD = 4.5 to 5.5 V)
The electrical specifications (power supply current, etc.) and PLL analog specifications of the
from that of mask ROM versions. So, these differences should be considered and verified before application sets
are mass-produced.
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. U12642EJ1V0DS00 (1st Edition)
Date Published July 1997 N
Printed in Japan
80-pin plastic QFP (14 × 14 mm, 0.65-mm pitch)One-Time PROMStandard
80-pin ceramic WQFN (14 × 14 mm, 0.65-mm pitch)EPROMNot applicable
µ
PD178P018AGC-3B9
µ
PD178P018AKK-T
NoteUnder planning
Please refer to the 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.
µ
PD178018A SUBSERIES AND µPD178003 SUBSERIES EXPANSION
NoteWhen using the I2C bus mode (including when this mode is implemented by program without using the
peripheral hardware), consult your local NEC sales representative when you place an order for mask.
3
ItemFunction
PLL frequencyDivision modeTwo types
synthesizer• Direct division mode (VCOL pin)
• Pulse swallow mode (VCOH and VCOL pins)
Reference frequency7 types selectable by program (1, 3, 5, 9, 10, 25, 50 kHz)
Charge pumpError out output: 2 (EO0 and EO1 pins
Phase comparatorUnlock detectable by program
Frequency counter• Frequency measurement
• AMIFC pin: for 450-kHz count
• FMIFC pin: for 450-kHz/10.7-MHz count
D/A converter (PWM output)8-/9-bit resolution × 3 channels (shared by 8-bit timer)
Standby function• HALT mode
• STOP mode
Reset• Reset via the RESET pin
• Internal reset by watchdog timer
• Reset by power-ON clear circuit (3-value detection)
• Detection of less than 4.5 V
• Detection of less than 3.5 V
• Detection of less than 2.5 V
Power supply voltage• VDD = 4.5 to 5.5 V (with PLL operating)
•VDD = 3.5 to 5.5 V (with CPU operating, CPU clock: fX/2 or less)
•VDD = 4.5 to 5.5 V (with CPU operating, CPU clock: fX)
Package• 80-pin plastic QFP (14 × 14 mm, 0.65-mm pitch)
• 80-pin ceramic WQFN (14 × 14 mm, 0.65-mm pitch)
Note 2
Note 1
)
Note 2
(CPU clock: fX)
(CPU clock: fX/2 or less and on power application)
Note 2
(in STOP mode)
µ
PD178P018A
(2/2)
Notes 1. The EO1 pin can be set to high impedance for the µPD178P018A.
The following figure shows an application example.
µ
PD178P018A
EO0
EO1
VCOH
VCOL
LPFVCO
LPF : Low path filter
VCO : Voltage controlled oscillator
• To lock to a target frequency at high speed
Setting the EO0 and EO1 pins to error out output improves the output current potential and LPF
voltage control potential.
• Normal state
Setting only the EO0 pin to error out output maintains the LPF stable.
2. These voltage values are maximum values. Reset is actually executed at a voltage lower than these
values.
4. Connect each of the REGOSC and REGCPU pins to GND via a 0.1-
DDPLL
FMIFC
V
VCOL
VCOH
EO0
GNDPLL
EO1
PP
V
P50
P51
P52
P53
µ
F capacitor.
5
µ
PD178P018A
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
VDD: Power Supply
VDDPLL: PLL Power Supply
VDDPORT: Port Power Supply
VPP: Programming Power Supply
X1, X2: Crystal Resonator Connection
P132 toOutputPort 13. —PWM0 to
P1343-bit output port.PWM2
7-bit input/output port.
6-bit input/output port.
Input/output mode can be specified bit-wise.
8-bit input/output port.
Input/output mode can be specified bit-wise.
8-bit input/output port.
Input/output mode can be specified bit-wise.
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.
8-bit input/output port.
Input/output mode can be specified bit-wise.
8-bit input/output port.input/output port.
specified bit-wise.
Input/output mode can be specified bit-wise.
N-ch open-drain output port.
Input/output mode can be specified bit-wise.
InputINTP1 to INTP6
Alternate Function
SO1
SCK1
SO0/SB1/SDA1
TI1
TI2
10
(2) Non-port pins (1 of 2)
µ
PD178P018A
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
GNDPLL
InputA/D converter analog inputInputP10 to P15
Note
—Positive power supply for PLL——
Note
—Ground for PLL——
Alternate Function
P25/SB0/SDA0
P26/SB1/SDA1
P26/SO0/SDA1
Note Connect a capacitor of approximately 1 000 pF between VDDPLL pin and GNDPLL pin.
11
(2) Non-port pins (2/2)
µ
PD178P018A
Pin NameI/OFunctionAfter Reset
VPP—High-voltage applied during program write/verification.——
Connected directly to GND in normal operating mode.
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
µ
PD178P018A
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-A
P20/SI18
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-D
P64 to P675
P120 to P125
P132/PWM0 to P134/PWM219OutputSet to the low-level output by software and open
EO0DTS-EO1Open
EO1DTS-EO3
VCOL, VCOHDTS-AMPInputSet to disabled status by software and open
AMIFC, FMIFC
VPP — —Connected to GND or GNDPORT directly
individually connected to VDD, VDDPORT, GND, or GNDPORT
via a resistor.
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
µ
PD178P018A
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 VDDPORT and GNDPORT, respectively.
Figure 1-1. Types of Pin Input/Output Circuits (2/2)
Type 13-DType DTS-EO3
µ
PD178P018A
output disable
data
Type 19
N-ch
VDD
RD
Middle-Voltage Input Buffer
N-ch
P-ch
OUT
IN/OUT
Type DTS-AMP
IN
DW
UP
DDPLL
V
P-ch
OUT
N-ch
GNDPLL
VDDPLL
Type DTS-EO1
DDPLL
V
DW
UP
P-ch
OUT
N-ch
GNDPLL
Remark All VDD and GND in the above figures are the positive power supply and ground potential of the ports,
and should be read as VDDPORT and GNDPORT, respectively.
15
µ
PD178P018A
2. PROM PROGRAMMING
The µPD178P018A has an internal 60-Kbyte PROM as a program memory. For programming, set the PROM
programming mode with the VPP 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 inhibit×HHHigh-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 µPD178P018As are
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.
(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
connected 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
µ
PD178P018As are
17
2.2 PROM Write Procedure
Figure 2-1. Page Program Mode Flow Chart
Start
Address = G
V
DD = 6.5 V, VPP = 12.5 V
X = 0
Latch
Address = Address + 1
Latch
µ
PD178P018A
Address = Address + 1
Address = Address + 1
Latch
Address = Address + 1
Latch
X = X + 1
0.1-ms Program Pulse
Verify
4 bytes
No
Address = N?
V
DD = 4.5 to 5.5 V, VPP = VDD
Pass
Yes
Fail
No
X = 10?
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.