The mPD78P368A is produced by replacing the internal mask ROM of the mPD78366A with a one-time PROM
or EPROM. One-time PROM products, in which data can be written once are effective for manufacture of small
quantities of multiple products and early stage start-up of application. EPROM products, to which programs can
be re-written after previously written programs have been erased, are suited for system evaluation.
The following user's manual describes the details of functions. Be sure to read it before design.
m
PD78366A User's Manual, Hardware: U10205E
m
PD78356 User's Manual, Instructions: IEU-1395
FEATURES
• Compatible with the
• Can be replaced with the
• Internal PROM: 48K bytes
• Data can be written once (one-time PROM product without an erasure window)
• Written data can be erased by exposure to ultraviolet light and re-written electrically (EPROM product with an
erasure window)
• PROM programming characteristics: Compatible with the
• QTOP
ORDERING INFORMATION
TM
microcomputer
Remark The QTOP microcomputer is a single-chip microcomputer with a built-in one-time PROM that is totally
supported by NEC. The support includes writing application programs, marking, screening, and
verification.
External count clock input to timer 1
Input for the control signal to determine whether the up/down counter (timer
4) counts up or down.
External count clock input to the up/down counter (timer 4)
Clear signal input to the up/down counter (timer 4)
Pulse output from the real-time pulse unit
Analog input to the A/D converter
Serial data output from the asynchronous serial interface
Serial data input to the asynchronous serial interface
Serial clock I/O for the clock synchronous serial interface
Serial data input to the clock synchronous serial interface in the 3-wire mode
Serial data output from the clock synchronous serial interface in the 3-wire
mode
Serial data I/O for the clock synchronous serial interface in the SBI mode
PWM signal output
Output for the signal which indicates the watchdog timer overflowed. (A
nonmaskable interrupt is generated.)
Multiplexed address/data bus used when external memory is expanded
Address bus used when external memory is expanded
Output for the timing signal used in externally latching address information
output from the AD0 to AD7 and A8 to A15 pins, in order to access the
external memory
Read strobe signal output to the external memory
Write strobe signal output to the external memory
Dual-function pinPin name
P00-P03
P20
P21
P22
P23
P24/TI
P25
P24/INTP3
P05/PWM1
P06/TO40
P07
P80-P85
P06/TIUD
P70-P77
P30
P35
P31
P36
P34
P33/SB1
P32/SB0
P32/SO
P33/SI
P04
P05/TCUD
–
P40-P47
P50-P57
–
P90
P91
9
(2) Non-port pins (2/2)
m
PD78P368A
I/ODual-function pinPin name
MODE0
MODE1
RESET
X1
X2
AVREF
AVDD
AVSS
VDD
VSS
IC
I
I
I
–
I
–
–
–
–
–
Input for the control signal which sets the operation mode. Normally, both
MODE0 and MODE1 are directly connected to the VSS pin.
System reset input
Crystal input pin for the system clock. A clock signal provided externally is
input to the X1 pin. The reversed signal of the clock signal is input to the
X2 pin.
A/D converter reference voltage input
Analog power supply for the A/D converter
Ground for the A/D converter
Positive power supply
Ground
Internally connected. Directly connect the IC pin to VSS.
1.2 PROM PROGRAMMING MODE (MODE0/V
Pin name
MODE0/VPP
MODE1
A0-A16
D0-D7
PGM
CE
OE
VDD
VSS
I/O
PROM programming mode set/programming supply voltage
I
PROM programming mode set
I
Address bus
I
Data bus
I/O
Program input
I
Enable PROM
I
Read strobe to PROM
I
Positive power supply
GND
Function
–
–
–
–
–
–
–
–
–
PP = H, MODE1 = L)
Function
10
m
PD78P368A
1.3 INPUT/OUTPUT CIRCUIT TYPE FOR EACH PIN AND HANDLING OF UNUSED PINS
Table 1-1 lists the input and output circuit type for each pin and how to handle it when it is not used. Fig. 1-1 shows
the circuits.
Table 1-1Input/Output Circuit Type for Each Pin and Recommended Connection Methods for Unused
Connected to the VSS pin.
Input state:Each pin is connected to the V DD or
VSS pin via a separate resistor.
Output state:Open
Connected to the VSS pin.
–
Connected to the VSS pin.
Connected to the VDD pin.
11
Fig. 1-1 Input/Output Circuits of Each Pin
Input
enable
Output
disable
Pull-up
enable
Data
IN/OUT
N-ch
V
DD
P-ch
V
DD
P-ch
N-ch
OUT
m
PD78P368A
Type 1Type 5-A
DD
V
P-ch
IN
N-ch
Type 2Type 8-A
Pull-up
IN
enable
Data
Output
disable
Schmitt trigger input with hysteresis characteristics
Type 2-AType 9
V
DD
IN
P-ch
Pull-up
enable
IN
Schmitt trigger input with hysterisis characteristics
P-ch
N-ch
V
DD
P-ch
N-ch
Comparator
+
–
V
ref
(Threshold voltage)
V
DD
P-ch
Input
enable
IN/OUT
Type 5Type 19
Data
Output
disable
V
DD
P-ch
IN/OUT
N-ch
Input
enable
12
2. MEMORY CONFIGURATION
The mPD78P368A can access memory of up to 64K bytes. Fig. 2-1 shows the memory map.
Fig. 2-1 Memory Map
MODE 0, 1 = LL
Data memory
FFFFH
FF00H
FEFFH
FE00H
FDFFH
F700H
F6FFH
Special function
register (SFR)
(256 × 8)
Main RAM
(256 × 8)
Peripheral RAM
(1792 × 8)
FEFFH
FE80H
FE25H
FE06H
F700H
General register
(128 × 8)
Macro service control
(32 × 8)
m
PD78P368A
Data area
(2048 × 8)
Memory
space
(64K × 8)
Program
memory
Data
memory
C000H
BFFFH
0000H
External memory
(14080 × 8)
Internal PROM
(49152 × 8)
Note
BFFFH
1000H
0FFFH
0800H
07FFH
0080H
007FH
0040H
003FH
0000H
Program area
CALLF instruction
entry area
(2048 × 8)
Program area
CALLT instruction
table area
(64 × 8)
Vector table area
(64 × 8)
Note Access in the external memory expansion mode.
Caution When word access (including the stack operation) to the main RAM space (FE00H to FEFFH) is
executed, the addresses specified in the operand must be even numbers.
13
m
PD78P368A
3. DIFFERENCES BETWEEN THE
mm
m
PD78P368A AND
mm
mm
m
PD78366A
mm
The mPD78P368A is produced by replacing the internal mask ROM of the mPD78366A with a 48K-byte PROM.
Both have the same functions except some differences in ROM specifications, such as write and verify modes. Table
3-1 shows the differences.
m
In this manual, the functions specific to the
m
to the
PD78366A document.
Table 3-1 Differences between the
Item
ROM
Internal program memory
(Electrical write)
PROM programming pin
Setting of MODE0 and
MODE1
Package
Electrical characteristics
Others
Part number
48K bytes
One-time PROM
(Data can be written once)
Provided
• Normal operation mode
MODE0, 1 = LL
• PROM programming mode
MODE0, 1 = HL
80-pin plastic QFP
They differ in supply current and other factors.
Since each product has a different circuit scale and mask layout, the noise immunity and
noise radiation of each product differ.
PD78P368A are explained. For details of the other functions, refer
mm
m
PD78P368A and mPD78366A
mm
m
m
PD78P368A
EPROM (Data can be
written multiple times)
80-pin ceramic WQFN
32K bytes
Mask ROM
Not provided
• Normal operation mode
• ROM-less mode
80-pin plastic QFP
PD78366A
MODE0, 1 = LL
MODE0, 1 = HH
Cautions1. The PROM and mask ROM products differ in noise immunity and noise radiation. Use not ES
products but CS products (mask ROM products) to evaluate them thoroughly when considering
the change from the PROM products to the mask ROM products during processes from
preproduction to volume production.
2. Connect the MODE0 and MODE1 pins directly to the V
DD or VSS pin.
14
m
PD78P368A
4. PROM PROGRAMMING
The mPD78P368A is provided with an electrically writable PROM of 48K ¥ 8 bits. When programming this PROM,
use the MODE0/V
The
m
PD78P368A provides programming characteristics compatibility with the mPD27C1001A.
PP and MODE1 pins to set the
Table 4-1 Pin Functions in Programming Mode
m
PD78P368A to the PROM programming mode.
Function
Address input
Data input
Program pulse
Chip enable
Output enable
Program voltage
Mode control
Normal operation mode
P00-P07, P21, P20, P80-P85, P30
P40-P47
ASTB
P91
P90
MODE0/VPP
MODE1
Programming mode
A0-A16
D0-D7
PGM
CE
OE
4.1 OPERATION MODE
To enter the program write/verify mode, set each pin as follows: MODE0/V
PP = H, MODE1 = L. In addition, any
of the operation modes listed in Table 4-2 can be selected by setting the CE, OE, and PGM pins in this mode.
m
Set the
PD78P368A to the read mode in order to read the contents of PROM.
Handle unused pins as described in PIN CONFIGURATION (2).
Table 4-2 Operation Modes for PROM Programming
Mode
Page data latch
Page program
Byte program
Program verify
Program inhibit
Read
Output disable
Standby
MODE1
L
CE
H
H
L
L
¥
¥
L
L
H
OE
L
H
H
L
L
H
L
H
¥
PGM
H
L
L
H
L
H
H
¥
¥
MODE0/VPP
+12.5 V
+5 V
VDD
+6.5 V
+5 V
D0-D7
Data input
High impedance
Data input
Data output
High impedance
Data output
High impedance
High impedance
Remark ¥: L or H
15
m
PD78P368A
4.2 PROCEDURE FOR WRITING ON PROM (PAGE PROGRAM MODE)
The following is a procedure for writing on PROM. (See Fig. 4-1.)
In the page program mode, data is written in units of pages (four bytes). When write data completes midway of
a page, latch FFH after the data so that the data fits into pages.
(1)Always set each pin as follows: MODE0/V
CONFIGURATION (2).
(2)Apply +6.5 V to the VDD pin and +12.5 V to the VPP pin.
(3)Input an initial address to the A0 to A16 pins.
(4)Clear the page counter.
(5)Data latch mode. Input write data to the D0 to D7 pins and input an active-low pulse to the OE pin. Increment
the address and the page counter.
(6)Repeat step (5) for a page (four bytes).
(7)Input a 0.1 ms program pulse (active low) to the PGM pin.
(8)Verify mode. Checks if data has been written in PROM.
Apply a low level to the CE pin, input an active-low pulse to the OE pin, and then read the write data from the
D0 to D7 pins. Repeat this for a page (four bytes). When verification completes, apply a high level to the CE
pin.
• If data has been written, go to step (10).
• If not, repeat steps (7) and (8). If no data is written yet after the steps have been repeated 10 times, go to
step (9).
(9)Assume the device to be defective and stop write operation.
(10) Increment the address.
(11) Repeat steps (4) to (10) until the address exceeds the last address.
Fig. 4-2 is a timing chart of these steps (2) to (9).
PP = H and MODE1 = L. Connect unused pins according to PIN
16
Loading...
+ 36 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.