Professional Documents
Culture Documents
PD754302,754304,754302 (A), 754304 (A) : Mos Integrated Circuit
PD754302,754304,754302 (A), 754304 (A) : Mos Integrated Circuit
µPD754302,754304,754302(A),754304(A)
The µPD754304 is one of the “75XL Series” 4-bit single-chip microcontrollers with data processing capability
comparable to that of 8-bit microcontrollers. The µPD754303(A) has a higher reliability than the µPD754304.
The microcontrollers in the 75XL Series have expanded CPU functions than those of the 75X Series and can
operate at a voltage of as low as 1.8 V; therefore, they are ideal for battery-driven application systems.
As the one-time PROM version of the µPD754304, the µPD75P4308 is ideal for evaluation of a system under
development or for small-scale production of application systems.
Detailed information about functions can be found in the following document. Be sure to read the following
document before designing.
µPD754304 User’s Manual: U10123E
FEATURES
• Low-voltage operation: VDD = 1.8 to 5.5 V • Variable instruction execution time effective for high-
• Internal memory speed operation and power saving
Program memory (ROM): 0.95, 1.91, 3.81, or 15.3 µs (at 4.19 MHz)
2048 × 8 bits (µPD754302, 754302(A)) 0.67, 1.33, 2.67, or 10.7 µs (at 6.0 MHz)
4096 × 8 bits (µPD754304, 754304(A)) • Internal serial interface (1 channel)
Data memory (RAM): 256 × 4 bits • Powerful timer function (3 channels)
• Inherits instruction set of existing 75X Series for easy
replacement
APPLICATIONS
• µPD754302, 754302(A)
Cordless telephones, TVs, VCRs, audio systems, household appliances, office machines, etc.
• µPD754304, 754304(A)
Automotive appliance, etc.
The µPD754302 and 754304 differ from the µPD754302(A) and 754304(A) only in terms of their quality grade.
Unless otherwise specified, the µ PD754304 is treated as a representative model in this Data Sheet.
For the models other than the µPD754304, µPD754304 can be read as the other model name.
If different descriptions are made for the µPD754302 and 754304, the (A) models correspond as follows:
µPD754302 → µPD754302(A), µ PD754304 → µPD754304(A)
Document No. U10797EJ2V0DS00 (2nd edition) The mark shows major revised points.
Date Published November 1996 N
Printed in Japan
© 1996
µPD754302, 754304, 754302(A), 754304(A)
ORDERING INFORMATION
Please refer to "Quality Grades on NEC Semiconductor Devices" (Document No. C11531E) published by
NEC Corporation to know the specification of quality grade on the devices and its recommended applications.
2
µPD754302, 754304, 754302(A), 754304(A)
Functional Outline
Parameter Function
Instruction execution time • 0.95, 1.91, 3.81, 15.3 µs (@ 4.19 MHz with system clock)
• 0.67, 1.33, 2.67, 10.7 µs (@ 6.0 MHz with system clock)
On-chip memory ROM 2048 × 8 bits (µPD754302)
4096 × 8 bits (µPD754304)
RAM 256 × 4 bits
General-purpose register • 4-bit operation: 8 × 4 banks
• 8-bit operation: 4 × 4 banks
Total 30
Timer 3 channels
• 8-bit timer/event counter: 2 channels (16-bit timer/event counter)
• Basic interval timer/watchdog timer: 1 channel
Serial interface • 3-wire serial I/O mode ... MSB or LSB can be selected for transferring top bit
• 2-wire serial I/O mode
3
µPD754302, 754304, 754302(A), 754304(A)
CONTENTS
5. MEMORY CONFIGURATION············································································································· 16
4
µPD754302, 754304, 754302(A), 754304(A)
5
µPD754302, 754304, 754302(A), 754304(A)
VSS 1 36 P50
X1 2 35 P51
X2 3 34 P52
RESET 4 33 P53
P33 5 32 P60/KR0
P32 6 31 P61/KR1
P31 7 30 P62/KR2
P30 8 29 P63/KR3
P81 9 28 P70/KR4
P80 10 27 P71/KR5
P23 11 26 P72/KR6
P22/PCL 12 25 P73/KR7
P21/PTO1 13 24 P13/TI0/TI1
P20/PTO0 14 23 P12/INT2
P03/SI 15 22 P11/INT1
P02/SO/SB0 16 21 P10/INT0
P01/SCK 17 20 VDD
P00/INT4 18 19 IC
6
µPD754302, 754304, 754302(A), 754304(A)
PIN IDENTIFICATION
7
8
2. BLOCK DIAGRAM
BASIC
INTERVAL BIT SEQ.
TIMER/ BUFFER (16)
WATCHDOG TIMER
INTBT
TOUT0 4 PORT0 4 P00-P03
PROGRAM SP (8)
INTT0 CY
COUNTER Note1
TI0/TI1/P13 8-BIT ALU 4 PORT1 4 P10-P13
TIMER/EVENT CASCADED SBS
PTO0/P20 COUNTER#0 16-BIT
TIMER/
8-BIT EVENT 4 PORT2 4 P20-P23
TIMER/EVENT COUNTER
BANK
PTO1/P21
COUNTER#1
PCL/P22 X1 X2
Notes 1. The µPD754302 and µPD754304 program counters are 11 and 12 bits, respectively.
2. The ROM capacity of the µPD754302 is 2048 × 8 bits, and that of the µPD754304 is 4096 × 8 bits.
µPD754302, 754304, 754302(A), 754304(A)
3. PIN FUNCTION
P03 Input SI B -C
P10 Input INT0 4-bit input port (PORT1). × Input B -C
P11 INT1 On-chip pull-up resistors can be specified
by software in 4-bit units.
P12 INT2
Noise elimination circuit can be selected
P13 TI0/TI1 (Only P10/INT0)
P20 Input/Output PTO0 4-bit input/output port (PORT2). × Input E-B
P50-P53 Note 2 Input/Output – N-ch open-drain 4-bit input/output port × High level M-D
(when pull-up
(PORT5).
resistors are
A pull-up resistor can be contained bit-wise provided) or
(mask option). high-
impedance
Withstand voltage is 13 V in open-drain mode.
P60 Input/Output KR0 Programmable 4-bit input/output port √ Input F -A
(PORT6).
P61 KR1 This port can be specified for input/output
P62 KR2 bit-wise.
On-chip pull-up resistors can be specified
P63 KR3 by software in 4-bit units.
P70 Input/Output KR4 4-bit input/output port (PORT7). Input F -A
P71 KR5 On-chip pull-up resistors can be specified
by software in 4-bit units.
P72 KR6
P73 KR7
P80 Input/Output – 2-bit input/output port (PORT8). × Input E-B
On-chip pull-up resistors can be specified
P81 –
by software in 2-bit units.
9
µPD754302, 754304, 754302(A), 754304(A)
INT4 Input P00 Edge detection vectored interrupt input (both Input B
rising edge and falling edge detection)
INT0 Input P10 Edge detection vectored Asynchronous with Input B -C
interrupt input (detection noise elimination
edge can be selected). circuit can be selected
INT0/P10 can select a
INT1 P11 noise elimination circuit. Asynchronous
V SS – – Ground potential – –
10
µPD754302, 754304, 754302(A), 754304(A)
TYPE A TYPE D
VDD
VDD
data P-ch
P-ch OUT
IN
output N-ch
N-ch
disable
VDD
P.U.R.
P.U.R.
P-ch
enable
IN
data
IN/OUT
Type D
output
disable
Type A
Schmitt trigger input having hysteresis characteristic.
VDD
VDD P.U.R.
P.U.R. P.U.R.
P-ch
enable
P.U.R.
P-ch data
enable IN/OUT
Type D
output
disable
IN
Type B
11
µPD754302, 754304, 754302(A), 754304(A)
P.U.R. : Pull-Up Resistor Note If this pull-up resistor is not connected using the mask
option it operates only when the input instruction is
executed (if the pin is low, current flows from VDD to the
pin).
12
µPD754302, 754304, 754302(A), 754304(A)
P21/PTO1 individually
P22/PCL Output state : Leave open
P23
P30-P33
P50-P53 Input state : Connect to VSS
Output state : Connect to VSS (Pull-up resistor by mask
13
µPD754302, 754304, 754302(A), 754304(A)
The CPU of µPD754304 has the following two modes: Mk I and Mk II, either of which can be selected. The
mode can be switched by the bit 3 of the stack bank select register (SBS).
• Mk I mode: Can be used in the 75XL CPU with a ROM capacity of up to 16K bytes.
• Mk II mode: Can be used in all the 75XL CPU’s including those products whose ROM capacity is more
than 16K bytes.
Mk I mode Mk II mode
Caution The Mk II mode supports a program area exceeding 16K bytes in the 75X and 75XL
series. This mode can improve software compatibility with products with a program
area of more than 16K bytes.
When Mk II mode is selected, the number of stack bytes when a subroutine call
instruction is executed is greater by 1 byte per stack compared with the Mk I mode.
When the CALL !addr or CALLF !faddr instruction is used, one more machine cycle is
required. To emphasize the efficiency of the RAM and processing speed rather than
software compatibility, therefore, use the Mk I mode.
14
µPD754302, 754304, 754302(A), 754304(A)
Switching between the Mk I mode and Mk II mode can be done by the SBS. Figure 4-1 shows the format.
The SBS is set by a 4-bit memory manipulation instruction.
When using the Mk I mode, the SBS must be initialized to 1000B at the beginning of a program. When using
the Mk II mode, it must be initialized to 0000B.
Address 3 2 1 0 Symbol
F84H SBS3 SBS2 SBS1 SBS0 SBS
0 0 Memory bank 0
0 Mk II mode
1 Mk I mode
Caution Since SBS. 3 is set to “1” after a RESET signal is generated, the CPU operates in the Mk
I mode. When executing an instruction in the Mk II mode, set SBS. 3 to “0” to select the
Mk II mode.
15
µPD754302, 754304, 754302(A), 754304(A)
5. MEMORY CONFIGURATION
• Addresses 0002H-000DH
Vector table wherein the program start address and values set for the RBE and MBE by the vectored
interrupts are written. Interrupt execution can be started at an arbitrary address.
• Addresses 0020H-007FH
Table area referenced by the GETI instruction Note.
Note The GETI instruction realizes a 1-byte instruction on behalf of an arbitrary 2-byte instruction, 3-byte
instruction, or two 1-byte instructions. It is used to decrease the program steps.
16
µPD754302, 754304, 754302(A), 754304(A)
(a) µPD754302
Address 7 6 5 4 0
0 0 0 0 H MBE RBE 0 0 Internal reset start address (high-order 4 bits)
0020H
007FH
0080H
07FFH
Remark In addition to the above, a branch can be taken to the address indicated by changing only the low-order
eight bits of PC by executing the BR PCDE or BR PCXA instruction.
17
µPD754302, 754304, 754302(A), 754304(A)
(b) µPD754304
Address 7 6 5 4 0
0 0 0 0 H MBE RBE 0 0 Internal reset start address (high-order 4 bits)
0020H
007FH
0080H
Branch destination
address and
subroutine entry
address when GETI
07FFH instruction is executed
0800H
0FFFH
Remark In addition to the above, a branch can be taken to the address indicated by changing only the low-order
eight bits of PC by executing the BR PCDE or BR PCXA instruction.
18
µPD754302, 754304, 754302(A), 754304(A)
0FFH
Not incorporated
F80H
FFFH
19
µPD754302, 754304, 754302(A), 754304(A)
PORT0 4-bit input When serial interface function is used, multiplexed pin Multiplexed with INT4, SCK,
has output function depending on operation mode. SO/SB0, and SI pins
PORT1 Input port. Multiplexed with INT0
through INT2 and TI0/TI1 pins.
PORT2 4-bit I/O Can be set in input or output mode in 4-bit units. Multiplexed with PTO0, PTO1,
and PCL pins.
PORT7 Can be set in input or output data in 8-bit units. Multiplexed with KR4 through
output mode in 4-bit units. KR7 pins.
PORT8 2-bit I/O Can be set in input or output mode in 2-bit units. —
20
µPD754302, 754304, 754302(A), 754304(A)
X1
1/1 to 1/4096
System fX
clock oscillator Divider
X2
1/2 1/4 1/16
Oscillation
stop
Divider
Selector 1/4 Φ
· CPU
· INT0 noise eliminator
· Clock output circuit
PCC
PCC0
Internal bus
PCC1
4 HALT F/F
PCC2
S
HALTNote
PCC3
STOPNote R Q
PCC2,
PCC3 STOP F/F Wait signal from BT
Clear
Q S
RESET signal
R
Standby release signal from
interrupt control circuit
21
µPD754302, 754304, 754302(A), 754304(A)
The clock output circuit outputs clock pulses from the P22/PCL pin, and is used to apply for remote controller
waveform output or to supply clock pulse peripheral LSIs.
• Clock output (PCL) : Φ, 524, 262, 65.5 kHz (during 4.19-MHz operation)
Φ, 750, 375, 93.8 kHz (during 6.0-MHz operation)
From clock
generator
fX/26
Internal bus
Remark Special care has been taken in designing the chip so that small-width pulses may not be output
when switching clock output enable/disable.
22
µPD754302, 754304, 754302(A), 754304(A)
From clock
generator
Clear Clear
fX/25
4 8 1
SET1 Note
Internal bus
23
µPD754302, 754304, 754302(A), 754304(A)
The µ PD754304 has two channels of timer/event counters. Its configuration is shown in Figures
6-4 and 6-5.
The timer/event counter has the following functions.
• Programmable interval timer operation
• Square wave output of any frequency to the PTOn pin (n = 0, 1)
• Event counter operation
• Divides the frequency of signal input via the TIn pin to 1-Nth of the original signal and outputs the divided
frequency to the PTOn pin (frequency divider operation).
• Supplies the shift clock to the serial interface circuit.
• Reads the count value.
The timer/event counter operates in the following two modes as set by the mode register.
Channel
Channel 0 Channel 1
Mode
24
Figure 6-4. Timer/Event Counter (Channel 0) Block Diagram
Internal bus
8
TM0
8 TOE0 PORT 2.0 Bit 2 of PMGB
TM06 TM05 TM04 TM03 TM02 TM01 TM00
T0 P20 Port 2
PORT1.3 TMOD0 enable flag output latch I/O mode
Decoder
Modulo register (8)
8 Match
P20/PTO0
Timer/event counter
(channel 1) TM12 signal
(When 16-bit timer/event Timer/event counter
counter mode) (channel 1) match signal
(When 16-bit timer/event
counter mode)
Timer/event counter
(channel 1) clear signal
(When 16-bit timer/event
counter mode)
25
26
Internal bus
8
TOE1 PORT2.1 Bit 2 of PMGB
TM1
8 T1 P21 Port 2
— TM16 TM15 TM14 TM13 TM12 TM11 TM10 input/output
enable flag output latch mode
TMOD1
PORT1.3 Decoder Modulo register (8)
8
Match P21/PTO1
TOUT
Input buffer Comparator (8)
F/F Output buffer
TI0/TI1/P13 Reset
8 T1
Timer/event counter (channel 0) output
fX/22 MPX Count register (8)
CP
fX/26
From clock Clear
RESET
Timer operation start
IRQT1 clear signal
16 bit timer/event counter mode
Selector
Timer/event counter (channel 0) TM02 signal
(When 16 bit timer/event counter mode)
INTT1
IRQT1
set signal
Timer/event counter (channel 0)
match signal/operation start
(When 16-bit timer/event counter mode)
The µPD754304 incorporates the clocked 8-bit serial interface, and the following three modes are provided.
27
28
Internal bus
8/4 Bit test Bit manipulation
8
8 8 SBIC
CSIM Slave address register (SVA) (8)
Matching
RELT CMDT
signal
Address comparator
P03/SI (8)
P01/SCK INTCSI
INTCSI IRQCSI
Serial clock counter
control circuit set signal
P01 fX/23
output Iatch fX/24
Serial clock control Serial clock fX/26
circuit selector TOUT F/F
(from timer/event counter 0)
External SCK
µPD754302, 754304, 754302(A), 754304(A)
The bit sequential buffer (BSB) is a special data memory for bit manipulation and the bit manipulation can be
easily performed by changing the address specification and bit specification in sequence, therefore it is useful
when processing a long data bit-wise.
The data memory is composed of 16 bits and the pmem.@L addressing of a bit manipulation instruction is
possible. The bit can be specified indirectly by the L register. In this case, processing can be done by moving the
specified bit in sequence by incrementing and decrementing the L register in the program loop.
Bit 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
L register L = FH L = CH L = BH L = 8H L = 7H L = 4H L = 3H L = 0H
DECS L
INCS L
Remarks 1. In the pmem.@L addressing, the specified bit moves corresponding to the L register.
2. In the pmem.@L addressing, the BSB can be manipulated regardless of MBE/MSB specification.
29
µPD754302, 754304, 754302(A), 754304(A)
The µPD754304 has seven kinds of interrupt sources and one kind of test source. Two types of edge detection
testable inputs are provided for INT2 of the test source.
The interrupt control circuit of the µPD754304 has the following functions.
30
Figure 7-1. Interrupt Control Circuit Block Diagram
Internal bus
2 1 4
IME IPS IST1 IST0
INTT1 IRQT1
Rising edge
INT2/P12 detector
Selec- IRQ2
tor
KR0/P60
Falling edge
detector Standby release
KR7/P73
signal
IM2
Note Noise eliminator (Standby release is disabled when noise eliminator is selected.)
31
µPD754302, 754304, 754302(A), 754304(A)
8. STANDBY FUNCTION
In order to save dissipation power while a program is in a standby mode, two types of standby modes (STOP
mode and HALT mode) are provided for the µ PD754304.
Operation Clock generator The system clock stops oscillation. Only the CPU clock Φ halts (oscillation
status continues).
Basic interval timer/ Operation stops. Operable (The IRQBT is set in the
Watchdog timer reference interval).
Release signal Interrupt request signal sent from the operable hardware enabled by the
interrupt enable flag or RESET signal input.
Note Operable only when the noise eliminator is not used (IM02 = 1) by bit 2 of the edge detection mode register
(IM0).
32
µPD754302, 754304, 754302(A), 754304(A)
9. RESET FUNCTION
There are two reset inputs: external RESET signal and RESET signal sent from the basic interval timer/
watchdog timer. When either one of the RESET signals are input, an internal RESET signal is generated. Figure
9-1 shows the circuit diagram of the above two inputs.
RESET
Internal RESET signal
WDTM
Internal bus
Generation of the RESET signal initializes each hardware as listed in Table 9-1. Figure 9-2 shows the timing
chart of the reset operation.
Wait Note
RESET
signal
generated
Operation mode or
standby mode HALT mode Operation mode
Note The following two times can be selected by the mask option.
2 17/fX (21.8 ms : @ 6.0 MHz, 31.3 ms: @ 4.19 MHz)
2 15/fX (5.46 ms : @ 6.0 MHz, 7.81 ms: @ 4.19 MHz)
33
µPD754302, 754304, 754302(A), 754304(A)
circuit
34
µPD754302, 754304, 754302(A), 754304(A)
35
µPD754302, 754304, 754302(A), 754304(A)
36
µPD754302, 754304, 754302(A), 754304(A)
Representation
Description method
format
reg X, A, B, C, D, E, H, L
reg1 X, B, C, D, E, H, L
Note mem can be only used for even address in 8-bit data processing.
37
µPD754302, 754304, 754302(A), 754304(A)
38
µPD754302, 754304, 754302(A), 754304(A)
*1 MB = MBE•MBS
(MBS = 0, 15)
*2 MB = 0
*3 MBE = 0 : MB = 0 (000H-07FH)
MB = 15 (F80H-FFFH) Data memory addressing
MBE = 1 : MB = MBS (MBS = 0, 15)
*9 faddr = 0000H-07FFH
Note 3-byte instruction: BR !addr, BRA !addr1, CALL !addr or CALLA !addr1 instruction
One machine cycle is equal to one cycle of CPU clock (= tCY); time can be selected from among four types
by setting PCC.
39
µPD754302, 754304, 754302(A), 754304(A)
A, @HL 1 1 A ← (HL) *1
A, @rpa 1 1 A ← (rpa) *2
@HL, A 1 1 (HL) ← A *1
@HL, XA 2 2 (HL) ← XA *1
A, mem 2 2 A ← (mem) *3
mem, A 2 2 (mem) ← A *3
mem, XA 2 2 (mem) ← XA *3
A, reg1 2 2 A ← reg1
reg1, A 2 2 reg1 ← A
rp'1, XA 2 2 rp'1 ← XA
A, @rpa 1 1 A ↔ (rpa) *2
A, mem 2 2 A ↔ (mem) *3
A, reg1 1 1 A ↔ reg1
reference XA ← (PC10–8+DE)ROM
● µPD754304
XA ← (PC11–8+DE)ROM
XA ← (PC10–8+XA)ROM
● µPD754304
XA ← (PC11–8+XA)ROM
Note To use the µPD754302, clear the most significant bit of the register C and register B to “0”. To use
the µPD754304, clear the register B to “0”.
40
µPD754302, 754304, 754302(A), 754304(A)
fmem.bit, CY 2 2 (fmem.bit) ← CY *4
pmem.@L, CY 2 2 (pmem7–2+L3–2.bit(L1–0)) ← CY *5
@H+mem.bit, CY 2 2 (H+mem3–0.bit) ← CY *1
AND A, #n4 2 2 A ← A ∧ n4
A, @HL 1 1 A ← A ∧ (HL) *1
OR A, #n4 2 2 A ← A ∨ n4
A, @HL 1 1 A ← A ∨ (HL) *1
XOR A, #n4 2 2 A ← A v n4
A, @HL 1 1 A ← A v (HL) *1
41
µPD754302, 754304, 754302(A), 754304(A)
NOT1 CY 1 1 CY ← CY
pmem.@L 2 2 (pmem7–2+L3–2.bit(L1–0)) ←1 *5
@H+mem.bit 2 2 (H+mem3–0.bit) ←1 *1
fmem.bit 2 2 (fmem.bit) ←0 *4
pmem.@L 2 2 (pmem7–2+L3–2.bit(L1–0)) ←0 *5
@H+mem.bit 2 2 (H+mem3–0.bit) ←0 *1
42
µPD754302, 754304, 754302(A), 754304(A)
• µPD754304
PC11–0 ← addr
Select appropriate instruction from
among BR !addr, BRCB !caddr and BR
$addr according to the assembler being
used.
• µPD754304
PC11–0 ← addr1
Select appropriate instruction from
among BR !addr, BRA !addr1, BRCB
!caddr and BR $addr1 according to the
assembler being used.
!addr 3 3 • µPD754302 *6
PC10–0 ← addr
• µPD754304
PC11–0 ← addr
$addr 1 2 • µPD754302 *7
PC10–0 ← addr
• µPD754304
PC11–0 ← addr
$addr1 1 2 • µPD754302
PC10–0 ← addr1
• µPD754304
PC11–0 ← addr1
PCDE 2 3 • µPD754302
PC10–0 ← PC10-8+DE
• µPD754304
PC11–0 ← PC11-8+DE
PCXA 2 3 • µPD754302
PC10–0 ← PC10-8+XA
• µPD754304
PC11–0 ← PC11-8+XA
Note The above operations in the double boxes can be performed only in the Mk II mode.
43
µPD754302, 754304, 754302(A), 754304(A)
• µPD754304
PC11–0 ← BCDE Note2
BCXA 2 3 • µPD754302 *6
PC10–0 ← BCXA Note1
• µPD754304
PC11–0 ← BCXA Note2
• µPD754304
PC11–0 ← addr1
• µPD754304
PC11–0 ← caddr11–0
• µPD754304
(SP–2) ← ×, ×, MBE, RBE
(SP–6) (SP–3) (SP–4) ← PC11–0
(SP–5) ← 0, 0, 0, 0
PC11–0 ← addr1, SP ← SP–6
• µPD754304
(SP–3) ← MBE, RBE, 0, 0
(SP–4) (SP–1) (SP–2) ← PC11–0
PC11–0 ← addr, SP ← SP–4
4 • µPD754302
(SP–2) ← ×, ×, MBE, RBE
(SP–6) (SP–3) (SP–4) ← PC10–0
(SP–5) ← 0, 0, 0, 0
PC10–0 ← addr, SP ← SP–6
• µPD754304
(SP–2) ← ×, ×, MBE, RBE
(SP–6) (SP–3) (SP–4) ← PC11–0
(SP–5) ← 0, 0, 0, 0
PC11–0 ← addr, SP ← SP–6
Notes 1. “0” must be set to the most significant bit of the register C and register B.
2. “0” must be set to register B.
3. The above operations in the double boxes can be performed only in the Mk II mode. The other
operations can be performed only in the Mk I mode.
44
µPD754302, 754304, 754302(A), 754304(A)
• µPD754304
(SP–3) ← MBE, RBE, 0, 0
(SP–4) (SP–1) (SP–2) ← PC11–0
PC11–0 ← 0+faddr, SP ← SP–4
3 • µPD754302
(SP–2) ← ×, ×, MBE, RBE
(SP–6) (SP–3) (SP–4) ← PC10–0
(SP–5) ← 0, 0, 0, 0
PC10–0 ← faddr, SP ← SP–6
• µPD754304
(SP–2) ← ×, ×, MBE, RBE
(SP–6) (SP–3) (SP–4) ← PC11–0
(SP–5) ← 0, 0, 0, 0
PC11–0 ← 0+faddr, SP ← SP–6
• µPD754304
PC11–0 ← (SP) (SP+3) (SP+2)
MBE, RBE, 0, 0 ← (SP+1), SP ← SP+4
• µPD754302
×, ×, MBE, RBE ← (SP+4)
0, 0, 0, 0, ← (SP+1)
PC10–0 ← (SP) (SP+3) (SP+2), SP ← SP+6
• µPD754304
×, ×, MBE, RBE ← (SP+4)
0, 0, 0, 0 ← (SP+1)
PC10–0 ← (SP) (SP+3) (SP+2), SP ← SP+6
• µPD754304
MBE, RBE, 0, 0 ← (SP+1)
PC11–0 ← (SP) (SP+3) (SP+2)
SP ← SP+4
then skip unconditionally
Note The above operations in the double boxes can be performed only in the Mk II mode. The other operations
can be performed only in the Mk I mode.
45
µPD754302, 754304, 754302(A), 754304(A)
• µPD754304
0, 0, 0, 0 ← (SP+1)
PC11–0 ← (SP) (SP+3) (SP+2)
×, ×, MBE, RBE ← (SP+4)
SP ← SP+6
then skip unconditionally
• µPD754304
MBE, RBE, 0, 0 ← (SP+1)
PC11–0 ← (SP) (SP+3) (SP+2)
PSW ← (SP+4) (SP+5), SP ← SP+6
• µPD754302
0, 0, 0, 0 ← (SP+1)
PC10–0 ← (SP) (SP+3) (SP+2)
PSW ← (SP+4) (SP+5), SP ← SP+6
• µPD754304
0, 0, 0, 0 ← (SP+1)
PC11–0 ← (SP) (SP+3) (SP+2)
PSW ← (SP+4) (SP+5), SP ← SP+6
DI 2 2 IME (IPS.3) ← 0
IE××× 2 2 IE××× ← 0
Notes 1. The above operations in the double boxes can be performed only in the Mk II mode. The other
operations can be performed only in the Mk I mode.
2. While the IN instruction and OUT instruction are being executed, the MBE must be set to 0 or 1 and
MBS must be set to 15.
46
µPD754302, 754304, 754302(A), 754304(A)
Number
Instruction Number Addressing
Mnemonic Operand of machine Operation Skip condition
group of bytes cycles area
NOP 1 1 No Operation
• µPD754304
• When TBR instruction
PC11–0 ← (taddr) 3–0 + (taddr+1)
–––––––––––––––––––––––––––––––––– ––––––––––––
• When TCALL instruction
(SP–4) (SP–1) (SP–2) ← PC11–0
(SP–3) ← MBE, RBE, 0, 0
PC11–0 ← (taddr) 3–0 + (taddr+1)
SP ← SP–4
–––––––––––––––––––––––––––––––––– ––––––––––––
• When instruction other than TBR and Depending on
TCALL instructions the reference
(taddr) (taddr+1) instruction is executed. instruction
3 • µPD754302 *10
• When TBR instruction
PC10–0 ← (taddr) 2–0 + (taddr+1)
–––––––––––––––––––––––––––––––––––––––– ––––––––––––
4 • When TCALL instruction
(SP–6) (SP–3) (SP–4) ← PC10–0
(SP–5) ← 0, 0, 0, 0
(SP–2) ← ×, ×, MBE, RBE
PC10–0 ← (taddr) 2–0 + (taddr+1)
SP ← SP–6
–––––––––––––––––––––––––––––––––––––––– ––––––––––––
3 • When instruction other than TBR and Depending on
TCALL instructions the reference
(taddr) (taddr+1) instruction is executed. instruction
Notes 1. The TBR and TCALL instructions are the table definition assembler directives of the GETI instruction.
2. The above operations in the double boxes can be performed only in the Mk II mode. The other
operations can be performed only in the Mk I mode.
47
µPD754302, 754304, 754302(A), 754304(A)
Number
Instruction Number Addressing
Mnemonic Operand of machine Operation Skip condition
group of bytes cycles area
Notes 1. The TBR and TCALL instructions are the table definition assembler directives of the GETI instruction.
2. The above operations in the double boxes can be performed only in the Mk II mode.
48
µPD754302, 754304, 754302(A), 754304(A)
Caution If any of the parameters exceeds the absolute maximum ratings, even momentarily, the quality
of the product may be impaired. The absolute maximum ratings are values that may physically
damage the products. Be sure to use the products within the ratings.
49
µPD754302, 754304, 754302(A), 754304(A)
System Clock Oscillator Characteristics (TA = –40 to +85 °C, VDD = 1.8 to 5.5 V)
Resonator Recommended Constant Parameter Testing Conditions MIN. TYP. MAX. Unit
X1 X2
Oscillation VDD = 4.5 to 5.5 V 10 ms
stabilization time Note3
C1 C2
30 ms
Notes 1. Only the oscillator characteristics are shown. For the instruction execution time, refer to AC Charac-
teristics.
2. If the oscillation frequency is 4.19 MHz < fX ≤ 6.0 MHz at 1.8 V ≤ V DD < 2.7 V, set the processor control
register (PCC) to a value other than 0011. If the PCC is set to 0011, the rated cycle time of 0.95 µs
is not satisfied.
3. Oscillation stabilization time is a time required for oscillation to stabilize after application of VDD,
or after the STOP mode has been released.
Caution When using the oscillation circuit of the main system clock, wire the portion enclosed in dotted
lines in the figures as follows to avoid adverse influences on the wiring capacitance:
• Keep the wire length as short as possible.
• Do not cross other signal lines.
• Do not route the wiring in the vicinity of lines though which a high fluctuating current flows.
• Always keep the ground point of the capacitor of the oscillation circuit as the same potential
as VSS.
• Do not connect the power source pattern through which a high current flows.
• Do not extract signals from the oscillation circuit.
50
µPD754302, 754304, 754302(A), 754304(A)
Manufacturer Product Frequency Recommended Circuit Constants (pF) Oscillation Voltage Range (VDD) Remarks
(MHz) C1 C2 MIN. MAX.
Note
Murata CSB1000J 1.0 100 100 2.7 5.5 Rd = 5.6 kΩ
CSA6.00MGU 30 30 1.8
CST6.00MGWU – – Capacitor incorporated
Kyocera Corp. KBR-1000F/Y 1.0 100 100 1.8 5.5 TA = –20 to +80 °C
KBR-2.0MS 2.0 47 47 2.0 5.5
CCR4.19MC3 4.19
FCR4.19MC5
CCR6.0MC3 6.0
51
µPD754302, 754304, 754302(A), 754304(A)
Note If using Murata’s CSB1000J (1.0 MHz) as the ceramic resonator, a limited resistor (Rd = 5.6 kΩ) is required
(see figure below). If using any other recommended resonator, no limited resistor is needed.
X1 X2
CSB1000J Rd
C1 C2
Caution The oscillation circuit constants and oscillation voltage range indicate conditions for stable
oscillation, but do not guarantee oscillation frequency accuracy. If oscillation frequency accu-
racy is required for actual circuits, it is necessary to adjust the oscillation frequency of the
resonator in the circuit. Please inquire directly to the maker of the resonator for data as needed.
52
µPD754302, 754304, 754302(A), 754304(A)
execution time
Port 5 (N-ch open drain) Input –30 µA
Input instruction execution time –10 –27 µA
–3 –8 µA
Output leak current, high I LOH1 V O = V DD SCK, SO/SB0, ports 2, 3, 6, 7, 8, 3 µA
port 5 (with on-chip pull-up resistor)
I LOH2 V O = 13 V Port 5 (N-ch open drain) 20 µA
Output leak current, low I LOL VO = 0 V –3 µA
On-chip pull-up resistor RL1 VI = 0 V Ports 0 to 3 and 6 to 8 (except P00 pin) 50 100 200 kΩ
RL2 Port 5 15 30 60 kΩ
53
µPD754302, 754304, 754302(A), 754304(A)
54
µPD754302, 754304, 754302(A), 754304(A)
Notes 1. The CPU clock (Φ) cycle time (minimum tCY vs VDD
instruction execution time) is determined (During system clock operation)
by the ocillation frequency of the con-
nected resonator and the processor 64
60
clock control register (PCC). The figure
on the right shows the cycle time tCY 6
characteristics against the supply voltage 5
Operation
VDD when the system clock is used. guaranteed range
4
2. 2t CY or 128/fx depending on the setting of
Cycle time tCY [ms]
0.5
0 1 2 3 4 5 6
Supply voltage VDD [V]
55
µPD754302, 754304, 754302(A), 754304(A)
2-wire and 3-wire Serial I/O Mode (SCK...Internal clock output) (TA = –40 to +85 °C, VDD = 1.8 to 5.5 V)
2-wire and 3-wire Serial I/O Mode (SCK...External clock input) (TA = –40 to +85 °C, VDD = 1.8 to 5.5 V)
56
µPD754302, 754304, 754302(A), 754304(A)
Clock Timing
1/fX
tXL tXH
1/fTI
tTIL tTIH
TI0, TI1
57
µPD754302, 754304, 754302(A), 754304(A)
tKCY1, 2
tKL1, 2 tKH1, 2
SCK
tSIK1, 2 tKSI1, 2
SI Input data
tKSO1, 2
SO Output data
tKCY1, 2
tKL1, 2 tKH1, 2
SCK
tSIK1, 2 tKSI1, 2
SB0
tKSO1, 2
58
µPD754302, 754304, 754302(A), 754304(A)
tINTL tINTH
INT0,1,2,4
KR0-7
tRSL
RESET
Data Memory STOP Mode Low-Supply Voltage Data Retention Characteristics (TA = –40 to +85 °C)
Notes 1. The oscillation stabilization wait time is the time during which the CPU operation is stopped to
avoid unstable operation at oscillation start.
2. 2 17/fx and 215/fx can be selected with mask option.
3. Depends on setting of basic interval timer mode register (BTM) (see table below).
59
µPD754302, 754304, 754302(A), 754304(A)
VDD
VDDDR tSREL
RESET
tWAIT
Data Retention Timing (Standby release signal: on releasing STOP mode by interrupt signal)
HALT mode
STOP mode Operation mode
VDD
VDDDR tSREL
tWAIT
60
µPD754302, 754304, 754302(A), 754304(A)
5.0
PCC = 0011
PCC = 0010
1.0 PCC = 0001
PCC = 0000
System clock
HALT Mode
0.5
Supply Current IDD (mA)
0.1
0.05
0.01
0.005
X1 X2
Crystal
resonator
6.0 MHz
22 pF 22 pF
0.001
0 1 2 3 4 5 6 7 8
61
µPD754302, 754304, 754302(A), 754304(A)
(TA = 25 °C)
10
5.0
PCC = 0011
1.0
PCC = 0010
PCC = 0001
PCC = 0000
0.5 System clock
HALT mode
Supply Current IDD (mA)
0.1
0.05
0.01
0.005
X1 X2
Crystal
resonator
4.19 MHz
22 pF 22 pF
0.001
0 1 2 3 4 5 6 7 8
62
µPD754302, 754304, 754302(A), 754304(A)
36 19
detail of lead end
5°±5°
1 18
A
I
G
J
F
K
L
E
B
C N
D M M
P36GM-80-300B-3
NOTE ITEM MILLIMETERS INCHES
Each lead centerline is located within 0.10
mm (0.004 inch) of its true position (T.P.) at A 15.54 MAX. 0.612 MAX.
maximum material condition. B 0.97 MAX. 0.039 MAX.
C 0.8 (T.P.) 0.031 (T.P.)
+0.10
D 0.35 –0.05 0.014+0.004
–0.003
+0.008
L 0.6 ± 0.2 0.024 –0.009
M 0.10 0.004
N 0.10 0.004
63
µPD754302, 754304, 754302(A), 754304(A)
The µPD754304 should be soldered and mounted under the following recommended conditions.
For the details of the recommended soldering conditions, refer to the document Semiconductor Device
Mounting Technology Manual (C10535E).
For soldering methods and conditions other than those recommended below, contact your NEC sales
representative.
Wave soldering Solder temperature: 260 °C or below, Time: 10 seconds max., Count: Once, WS60-00-1
Preheating temperature: 120 °C MAX. (package surface temperature)
Partial heating Pin temperature: 300 °C or below, Time: 3 seconds max. (per pin row) —
Caution Do not use different soldering methods together (except for partial heating).
64
µPD754302, 754304, 754302(A), 754304(A)
65
µPD754302, 754304, 754302(A), 754304(A)
66
µPD754302, 754304, 754302(A), 754304(A)
The following development tools are available for development of application systems using the µPD754304.
In the 75XL Series, a common relocatable assembler is used in combination with a device file dedicated to each
model.
Language processor
Hardware PG-1500 The PG-1500 is a PROM programmer that can program PROM-contained single-chip
microcontrollers in the standalone mode or under control of a host machine, when
connected with an accessory board and an optional programmer adapter.
It can also program representative PROMs including 256K-bit to 4M-bit models.
PA-75P4308GS This is a PROM programmer adapter dedicated to the µPD75P4308GS and connected
to the PG-1500.
Software PG-1500 controller This connects the PG-1500 and a host machine with a serial or parallel interface to
control the PG-1500 from the host machine.
Note Although Ver.5.00 and later have a task swap function, this function cannot be used with this software.
Remark The operation of the assembler, device file and PG-1500 controller is guaranteed only on the above
host machine and OS.
67
µPD754302, 754304, 754302(A), 754304(A)
Debugging tools
The in-circuit emulators (IE-75000-R and IE-75001-R) are available as the program debugging tool for the
µPD754304.
The system configurations are described as follows.
Note 1
Hardware IE-75000-R In-circuit emulator for debugging the hardware and software when developing the
application systems that use the 75X series and 75XL series. When developing a
µPD754304 subseries, the emulation board IE-75300-R-EM and emulation probe that
are sold separately must be used with the IE-75000-R.
By connecting with the host machine and the PROM programmer, efficient debugging
can be made.
It contains the emulation board IE-75000-R-EM which is connected.
IE-75001-R In-circuit emulator for debugging the hardware and software when developing the
application systems that use the 75X series and 75XL series. When developing a
µPD754304 subseries, the emulation board IE-75300-R-EM and emulation probe which
are sold separately must be used with the IE-75001-R.
It can debug the system efficiently by connecting the host machine and PROM program-
mer.
IE-75300-R-EM Emulation board for evaluating the application systems that use a µPD754304
subseries.
It must be used with the IE-75000-R or IE-75001-R.
Software IE control program Connects the IE-75000-R or IE-75001-R to a host machine via RS-232-C and Centronix
I/F and controls the IE-75000-R or IE-75001-R on a host machine.
Order code
Host machine
OS Supply media (Part number)
Remark Operation of the IE control program is guaranteed only on the above host machines and OSs.
68
µPD754302, 754304, 754302(A), 754304(A)
OS for IBM PC
The following IBM PC OS’s are supported.
OS Version
Caution Ver. 5.0 and later have the task swap function, but this function cannot be used for this
software.
69
µPD754302, 754304, 754302(A), 754304(A)
The related documents indicated in this publication may include preliminary versions. However, preliminary
versions are not marked as such.
Document Number
Document Name
Japanese English
Document Number
Document Name
Japanese English
Document Number
Document Name
Japanese English
Caution These documents are subject to change without notice. Be sure to read the latest documents.
70
µPD754302, 754304, 754302(A), 754304(A)
[MEMO]
71
µPD754302, 754304, 754302(A), 754304(A)
Note: Strong electric field, when exposed to a MOS device, can cause destruction
of the gate oxide and ultimately degrade the device operation. Steps must
be taken to stop generation of static electricity as much as possible, and
quickly dissipate it once, when it has occurred. Environmental control must
be adequate. When it is dry, humidifier should be used. It is recommended
to avoid using insulators that easily build static electricity. Semiconductor
devices must be stored and transported in an anti-static container, static
shielding bag or conductive material. All test and measurement tools
including work bench and floor should be grounded. The operator should
be grounded using wrist strap. Semiconductor devices must not be touched
with bare hands. Similar precautions need to be taken for PW boards with
semiconductor devices on it.
Note: Power-on does not necessarily define initial status of MOS device. Produc-
tion process of MOS does not define the initial operation status of the device.
Immediately after the power source is turned ON, the devices with reset
function have not yet been initialized. Hence, power-on does not guarantee
out-pin levels, I/O settings or contents of registers. Device is not initialized
until the reset signal is received. Reset operation must be executed imme-
diately after power-on for devices having reset function.
72
µPD754302, 754304, 754302(A), 754304(A)
Regional Information
Some information contained in this document may vary from country to country. Before using any NEC
product in your application, please contact the NEC office in your country to obtain a list of authorized
representatives and distributors. They will verify:
• Device availability
• Ordering information
• Development environment specifications (for example, specifications for third-party tools and
components, host computers, power plugs, AC supply voltages, and so forth)
• Network requirements
In addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary
from country to country.
NEC Electronics Inc. (U.S.) NEC Electronics (Germany) GmbH NEC Electronics Hong Kong Ltd.
Santa Clara, California Benelux Office Hong Kong
Tel: 800-366-9782 Eindhoven, The Netherlands Tel: 2886-9318
Fax: 800-729-9288 Tel: 040-2445845 Fax: 2886-9022/9044
Fax: 040-2444580
NEC Electronics (Germany) GmbH NEC Electronics Hong Kong Ltd.
Duesseldorf, Germany NEC Electronics (France) S.A. Seoul Branch
Tel: 0211-65 03 02 Velizy-Villacoublay, France Seoul, Korea
Fax: 0211-65 03 490 Tel: 01-30-67 58 00 Tel: 02-528-0303
Fax: 01-30-67 58 99 Fax: 02-528-4411
NEC Electronics (UK) Ltd.
Milton Keynes, UK NEC Electronics (France) S.A. NEC Electronics Singapore Pte. Ltd.
Tel: 01908-691-133 Spain Office United Square, Singapore 1130
Fax: 01908-670-290 Madrid, Spain Tel: 253-8311
Tel: 01-504-2787 Fax: 250-3583
NEC Electronics Italiana s.r.1. Fax: 01-504-2860
Milano, Italy NEC Electronics Taiwan Ltd.
Tel: 02-66 75 41 NEC Electronics (Germany) GmbH Taipei, Taiwan
Fax: 02-66 75 42 99 Scandinavia Office Tel: 02-719-2377
Taeby, Sweden Fax: 02-719-5951
Tel: 08-63 80 820
Fax: 08-63 80 388 NEC do Brasil S.A.
Sao Paulo-SP, Brasil
Tel: 011-889-1680
Fax: 011-889-1689
J96. 8
73
µPD754302, 754304, 754302(A), 754304(A)
The export of this product from Japan is regulated by the Japanese government. To export this product may be prohibited
without governmental license, the need for which must be judged by the customer. The export or re-export of this product
from a country other than Japan may also be prohibited without a license from that country. Please call an NEC sales
representative.
No part of this document may be copied or reproduced in any form or by any means without the prior written
consent of NEC Corporation. NEC Corporation assumes no responsibility for any errors which may appear in
this document.
NEC Corporation does not assume any liability for infringement of patents, copyrights or other intellectual property
rights of third parties by or arising from use of a device described herein or any other liability arising from use
of such device. No license, either express, implied or otherwise, is granted under any patents, copyrights or other
intellectual property rights of NEC Corporation or others.
While NEC Corporation has been making continuous effort to enhance the reliability of its semiconductor devices,
the possibility of defects cannot be eliminated entirely. To minimize risks of damage or injury to persons or
property arising from a defect in an NEC semiconductor device, customers must incorporate sufficient safety
measures in its design, such as redundancy, fire-containment, and anti-failure features.
NEC devices are classified into the following three quality grades:
"Standard", "Special", and "Specific". The Specific quality grade applies only to devices developed based on a
customer designated "quality assurance program" for a specific application. The recommended applications of
a device depend on its quality grade, as indicated below. Customers must check the quality grade of each device
before using it in a particular application.
Standard: Computers, office equipment, communications equipment, test and measurement equipment,
audio and visual equipment, home electronic appliances, machine tools, personal electronic
equipment and industrial robots
Special: Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster
systems, anti-crime systems, safety equipment and medical equipment (not specifically designed
for life support)
Specific: Aircrafts, aerospace equipment, submersible repeaters, nuclear reactor control systems, life
support systems or medical equipment for life support, etc.
The quality grade of NEC devices is "Standard" unless otherwise specified in NEC's Data Sheets or Data Books.
If customers intend to use NEC devices for applications other than those specified for Standard quality grade,
they should contact an NEC sales representative in advance.
Anti-radioactive design is not implemented in this product.
M4 96.5
74
This datasheet has been downloaded from:
www.DatasheetCatalog.com