Download as pdf or txt
Download as pdf or txt
You are on page 1of 75

DATA SHEET

MOS INTEGRATED CIRCUIT

µPD754302,754304,754302(A),754304(A)

4-BIT SINGLE-CHIP MICROCONTROLLER

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)

The information in this document is subject to change without notice.

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

Parts Number Package Quality Grade


µPD754302GS-××× 36-pin plastic shrink SOP (300 mil, 0.8 mm pitch) Standard
µPD754304GS-××× 36-pin plastic shrink SOP (300 mil, 0.8 mm pitch) Standard
µPD754302GS(A)-××× 36-pin plastic shrink SOP (300 mil, 0.8 mm pitch) Special
µPD754304GS(A)-××× 36-pin plastic shrink SOP (300 mil, 0.8 mm pitch) Special

Remark × indicates a ROM code number.

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.

Difference between µPD75430× and µPD75430×(A)

Parts Number µPD754302 µPD754302(A)


Item µPD754304 µPD754304(A)
Quality grade Standard Special

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

Input/ CMOS input 8 On-chip pull-up resistors can be specified by software: 7


output CMOS input/output 18 On-chip pull-up resistors can be specified by software: 18
port

N-ch open-drain 4 13 V withstand voltage. On-chip pull-up resistors can be specified by


input/output pins mask option.

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

Bit sequential buffer 16 bits


Clock output (PCL) • Φ, 524, 262, 65.5 kHz (@ 4.19 MHz with system clock)
• Φ, 750, 375, 93.8 kHz (@ 6.0 MHz with system clock)

Vectored interrupts External: 3, Internal: 4


Test input External: 1

System clock oscillator Ceramic or crystal oscillator


Standby function STOP/HALT mode
Operating ambient T A = –40 to +85 ˚C
temperature

Power supply voltage VDD = 1.8 to 5.5 V


Package 36-pin plastic shrink SOP (300 mil, 0.8-mm pitch)

3
µPD754302, 754304, 754302(A), 754304(A)

CONTENTS

1. PIN CONFIGURATION (Top View) ······································································································ 6

2. BLOCK DIAGRAM ······························································································································· 8

3. PIN FUNCTION ···································································································································· 9


3.1 Port Pins ····································································································································· 9
3.2 Non-port Pins ···························································································································· 10
3.3 Pin Input/Output Circuits ········································································································· 11
3.4 Recommended Connections for Unused Pins ······································································· 13

4. SWITCHING FUNCTION BETWEEN Mk I MODE AND Mk II MODE ················································ 14


4.1 Difference between Mk I and Mk II Modes ·············································································· 14
4.2 Setting Method of Stack Bank Select Register (SBS) ··························································· 15

5. MEMORY CONFIGURATION············································································································· 16

6. PERIPHERAL HARDWARE FUNCTIONS ························································································· 20


6.1 Digital Input Ports ···················································································································· 20
6.2 Clock Generator ······················································································································· 21
6.3 Clock Output Circuit ················································································································ 22
6.4 Basic Interval Timer/Watchdog Timer ···················································································· 23
6.5 Timer/Event Counter ················································································································ 24
6.6 Serial Interface ·························································································································· 27
6.7 Bit Sequential Buffer ················································································································ 29

7. INTERRUPT FUNCTION AND TEST FUNCTION ·············································································· 30

8. STANDBY FUNCTION ······················································································································· 32

9. RESET FUNCTION ···························································································································· 33

10. MASK OPTION ··································································································································· 36

11. INSTRUCTION SETS ························································································································· 37

12. ELECTRICAL SPECIFICATIONS ······································································································ 49

13. CHARACTERISTICS CURVES (REFERENCE VALUES) ································································· 61

14. PACKAGE DRAWING ······················································································································· 63

15. RECOMMENDED SOLDERING CONDITIONS ················································································· 64

4
µPD754302, 754304, 754302(A), 754304(A)

APPENDIX A. COMPARISON OF FUNCTIONS AMONG µPD750004, 754304, AND 75P4308 ·········· 65

APPENDIX B. DEVELOPMENT TOOLS ································································································· 67

APPENDIX C. RELATED DOCUMENTS ································································································ 70

5
µPD754302, 754304, 754302(A), 754304(A)

1. PIN CONFIGURATION (Top View)

36-pin plastic shrink SOP (300 mil, 0.8-mm pitch)


µPD754302GS-×××, µPD754302GS(A)-×××
µPD754304GS-×××, µPD754304GS(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

IC: Internally Connected (Connect directly this pin to VDD.)

6
µPD754302, 754304, 754302(A), 754304(A)

PIN IDENTIFICATION

P00-P03 : PORT0 RESET : Reset Input


P10-P13 : PORT1 TI0, TI1 : Timer Input 0, 1
P20-P23 : PORT2 PTO0, PTO1 : Programmable Timer Output 0, 1
P30-P33 : PORT3 PCL : Programmable Clock
P50-P53 : PORT5 INT0, 1, 4 : External Vectored Interrupt 0, 1, 4
P60-P63 : PORT6 INT2 : External Test Input 2
P70-P73 : PORT7 VSS : GND
P80, P81 : PORT8 X1, X2 : System Clock Oscillation 1, 2
KR0-KR7 : Key Return 0-7 IC : Internally Connected
SCK : Serial Clock VDD : Positive Power Supply
SI : Serial Input
SO : Serial Output
SB0 : Serial data Bus 0

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

INTT1 4 PORT3 4 P30-P33


ROM Note2 GENERAL REG.
SI/P03 CLOCKED PROGRAM
SO/SB0/P02 SERIAL MEMORY DECODE 4 PORT5 4 P50-P53
SCK/P01 INTERFACE AND
RAM
CONTROL
INTCSI TOUT0 DATA 4 4
PORT6 P60-P63
MEMORY

µPD754302, 754304, 754302(A), 754304(A)


INT0/P10 256 · 4 BITS
INT1/P11
INTERRUPT 4 PORT7 4 P70-P73
INT2/P12
INT4/P00 CONTROL
CPU CLOCK
KR0-KR3/P60-P63 2 PORT8 2 P80, P81
KR4-KR7/P70-P73 8 fX/2N F
CLOCK CLOCK STAND BY
OUTPUT CLOCK GENERATOR
CONTROL DIVIDER CONTROL

PCL/P22 X1 X2

IC VDD VSS RESET

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

3.1 Port Pins

Alternate 8-bit I/O Circuit


Pin Name Input/Output Function After Reset
Function I/O TYPE Note 1
P00 Input INT4 4-bit input port (PORT0). × Input B
P01 Input/Output SCK For P01 to P03, on-chip pull-up resistors F -A
P02 Input/Output SO/SB0 can be specified by software in 3-bit units. F -B

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

P21 PTO1 On-chip pull-up resistors can be specified


by software in 4-bit units.
P22 PCL
P23 –

P30 Input/Output – Programmable 4-bit input/output port × Input E-B


P31 – (PORT3).
This port can be specified for input/output
P32 –
bit-wise. On-chip pull-up resistor can be
P33 – specified by software in 4-bit units.

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.

Notes 1. Circled characters indicate the Schmitt-trigger input.


2. If on-chip pull-up resistors are not specified by mask option (when used as N-ch open-drain input
port), low level input leakage current increases when input or bit manipulation instruction is executed.

9
µPD754302, 754304, 754302(A), 754304(A)

3.2 Non-port Pins

Alternate I/O Circuit


Pin Name Input/Output Function After Reset
Function TYPE Note
TI0/TI1 Input P13 Inputs external event pulses to the timer/event Input B -C
counter.

PTO0 Output P20 Timer/event counter output Input E-B


PTO1 P21
PCL P22 Clock output

SCK Input/Output P01 Serial clock input/output Input F -A


SO/SB0 P02 Serial data output F -B
Serial data bus input/output
SI Input P03 Serial data input B -C

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

INT2 Input P12 Edge detection testable Asynchronous Input B -C


input
(rising edge detection)

KR0-KR3 Input P60-P63 Testable input (falling edge detection) Input F -A


KR4-KR7 P70-P73
X1 Input – Crystal/ceramic connection pin for the system – –
clock oscillator. When inputting the external
clock, input the external clock to pin X1, and
X2 – the inverted phase of the external clock to
pin X2.

RESET Input – System reset input (low-level active) – B


IC – – Internally connected. Connect directly to VDD. – –
V DD – – Positive power supply – –

V SS – – Ground potential – –

Note Circled characters indicate the Schmitt-trigger input.

10
µPD754302, 754304, 754302(A), 754304(A)

3.3 Pin Input/Output Circuits

The µPD754304 pin input/output circuits are shown schematically.

TYPE A TYPE D

VDD
VDD
data P-ch

P-ch OUT
IN

output N-ch
N-ch
disable

Push-pull output that can be placed in output


CMOS specification input buffer. high-impedance (both P-ch, N-ch off).

TYPE B TYPE E-B

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.

P.U.R. : Pull-Up Resistor

TYPE B-C TYPE F-A

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

P.U.R. : Pull-Up Resistor P.U.R. : Pull-Up Resistor

11
µPD754302, 754304, 754302(A), 754304(A)

TYPE F-B TYPE M-D


VDD
VDD
P.U.R. P.U.R.
(Mask Option)
IN/OUT
P.U.R.
enable P-ch
data N-ch
output VDD (+13 V)
disable
output VDD
(P)
P-ch disable
IN/OUT Input P-ch
data instruction
Note
output P.U.R.
N-ch Voltage
disable limiting
output circuit
disable (+13 V)
(N)
P.U.R. : Pull-Up Resistor

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)

3.4 Recommended Connections for Unused Pins

Table 3-1. List of Recommended Connections for Unused Pins

Pin Recommended Connection


P00/INT4 Connect to VSS or V DD

P01/SCK Connect to VSS or V DD through the resistor individually


P02/SO/SB0
P03/SI Connect to VSS

P10/INT0-P12/INT2 Connect to VSS or V DD


P13/TI0/TI1
P20/PTO0 Input state : Connect to VSS or V DD through the resistor

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

option should not be connected)


P60/KR0-P63/KR3 Input state : Connect to VSS or V DD through the resistor
P70/KR4-P73/KR7 individually

P80, P81 Output state : Leave open


IC Connect to VDD directly

13
µPD754302, 754304, 754302(A), 754304(A)

4. SWITCHING FUNCTION BETWEEN Mk I MODE AND Mk II MODE

4.1 Difference between Mk I and Mk II Modes

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.

Table 4-1. Differences between Mk I Mode and Mk II Mode

Mk I mode Mk II mode

Number of stack bytes 2 bytes 3 bytes


for subroutine instructions

BRA !addr1 instruction Not available Available


CALLA !addr1 instruction

CALL !addr instruction 3 machine cycles 4 machine cycles

CALLF !faddr instruction 2 machine cycles 3 machine cycles

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)

4.2 Setting Method of Stack Bank Select Register (SBS)

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.

Figure 4-1. Stack Bank Select Register Format

Address 3 2 1 0 Symbol
F84H SBS3 SBS2 SBS1 SBS0 SBS

Stack area specification

0 0 Memory bank 0

Other than above setting prohibited

0 0 must be set in the bit 2 position.

Mode switching specification

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

• Program Memory (ROM) .... 2048 × 8 bits (µPD754302)


.... 4096 × 8 bits (µPD754304)

• Addresses 0000H and 0001H


Vector table wherein the program start address and the values set for the RBE and MBE at the time a RESET
signal is generated are written. Reset and start are possible at an arbitrary address.

• 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.

• Data Memory (RAM)

• Data area .... 256 words × 4 bits (000H-0FFH)

• Peripheral hardware area .... 128 words × 4 bits (F80H-FFFH)

16
µPD754302, 754304, 754302(A), 754304(A)

Figure 5-1. Program Memory Map (1/2)

(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)

Internal reset start address (low-order 8 bits)

0 0 0 2 H MBE RBE 0 0 INTBT/INT4 start address (high-order 4 bits)

INTBT/INT4 start address (low-order 8 bits)

0 0 0 4 H MBE RBE 0 0 INT0 start address (high-order 4 bits)


CALLF
INT0 start address (low-order 8 bits) ! faddr
instruction
entry
0 0 0 6 H MBE RBE 0 0 INT1 start address (high-order 4 bits) address Branch address of
BR BCXA, BR BCDE,
INT1 start address (low-order 8 bits) BR !addr, BRA !addr1Note or
CALLA !addr1Note instruction
0 0 0 8 H MBE RBE 0 0 INTCSI start address (high-order 4 bits)

INTCSI start address (low-order 8 bits) CALL !addr instruction


subroutine entry address
0 0 0 A H MBE RBE 0 0 INTT0 start address (high-order 4 bits)
BR $addr instruction
INTT0 start address (low-order 8 bits) relative branch address
_15 to _1,
0 0 0 C H MBE RBE 0 0 INTT1 start address (high-order 4 bits) +2 to +16

INTT1 start address (low-order 8 bits)


Branch destination
address and
subroutine entry
address when GETI
instruction is executed

0020H

GETI instruction reference table

007FH
0080H

07FFH

Note Can be used in the Mk II mode only.

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)

Figure 5-1. Program Memory Map (2/2)

(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)

Internal reset start address (low-order 8 bits)

0 0 0 2 H MBE RBE 0 0 INTBT/INT4 start address (high-order 4 bits)

INTBT/INT4 start address (low-order 8 bits)

0 0 0 4 H MBE RBE 0 0 INT0 start address (high-order 4 bits)


CALLF
INT0 start address (low-order 8 bits) ! faddr
instruction
entry
0 0 0 6 H MBE RBE 0 0 INT1 start address (high-order 4 bits) address
Branch address of
BR BCXA, BR BCDE,
INT1 start address (low-order 8 bits)
BR !addr, BRA !addr1Note or
CALLA !addr1Note instruction
0 0 0 8 H MBE RBE 0 0 INTCSI start address (high-order 4 bits)

INTCSI start address (low-order 8 bits) CALL !addr instruction


subroutine entry address
0 0 0 A H MBE RBE 0 0 INTT0 start address (high-order 4 bits)
BR $addr instruction
INTT0 start address (low-order 8 bits) relative branch address
_15 to _1,
0 0 0 C H MBE RBE 0 0 INTT1 start address (high-order 4 bits) +2 to +16

INTT1 start address (low-order 8 bits)

0020H

GETI instruction reference table

007FH
0080H

Branch destination
address and
subroutine entry
address when GETI
07FFH instruction is executed
0800H

0FFFH

Note Can be used in the Mk II mode only.

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)

Figure 5-2. Data Memory Map

Data memory Memory bank


000H
General-purpose (32 × 4)
register area
01FH
Data area
static RAM
(256 × 4) 0
Stack area
256 × 4
(224 × 4)

0FFH

Not incorporated

F80H

Peripheral hardware area 128 × 4 15

FFFH

19
µPD754302, 754304, 754302(A), 754304(A)

6. PERIPHERAL HARDWARE FUNCTIONS

6.1 Digital Input Ports

The following three types of I/O ports are provided.


• CMOS input (Ports 0, 1) : 8
• CMOS I/O (Ports 2, 3, 6 to 8) : 18
• N-ch open-drain I/O (Port 5) : 4
Total 30

Table 6-1. Types and Features of Digital Ports

Port Name Function Operation, Features Remark

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.

PORT3 Can be set in input or output mode in 1-bit units. —


PORT5 4-bit I/O Can be set in input or output mode in 4-bit units. Pull-up
(N-ch open- resistor can be connected in 1-bit units by mask option.
drain, 13 V)
PORT6 4-bit I/O Can be set in input or Ports 6 and 7 are used in Multiplexed with KR0 through
output mode in 1-bit units. pairs and can input or KR3 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)

6.2 Clock Generator

• Clock generator configuration


The clock generator provides the clock signals to the CPU and peripheral hardware and its configuration
is shown in Figure 6-1.
The operation of the clock generator is set with the processor clock control register (PCC).
The instruction execution time can be changed.
• 0.95, 1.91, 3.81, 15.3 µs (system clock operating at 4.19 MHz)
• 0.67, 1.33, 2.67, 10.7 µs (system clock operating at 6.0 MHz)

Figure 6-1. Clock Generator Block Diagram

· Basic interval timer (BT)


· Timer/event counters 0, 1
· Serial interface
· INT0 noise eliminator
· Clock output circuit

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

Note Instruction execution

Remarks 1. fX = System clock frequency


2. Φ = CPU clock
3. PCC: Processor Clock Control Register
4. One clock cycle (tCY) of the CPU clock is equal to one machine cycle of the instruction.

21
µPD754302, 754304, 754302(A), 754304(A)

6.3 Clock Output Circuit

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)

Figure 6-2. Clock Output Circuit Block Diagram

From clock
generator

fX/23 Output buffer


Selector
fX/24 PCL/P22

fX/26

PORT2.2 Bit 2 of PMGB

P22 Port 2 I/O mode


CLOM3 0 CLOM1 CLOM0 CLOM output latch specification bit

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)

6.4 Basic Interval Timer/Watchdog Timer

The basic interval timer/watchdog timer has the following functions.


• Interval timer operation to generate a reference time interrupt
• Watchdog timer operation to detect a runaway of program and reset the CPU
• Selects and counts the wait time when the standby mode is released
• Reads the contents of counting

Figure 6-3. Basic Interval Timer/Watchdog Timer Block Diagram

From clock
generator
Clear Clear
fX/25

fX/27 Basic interval timer BT


MPX Set interrupt
(8-bit frequency divider)
fX/29 request flag Vectored
interrupt
BT IRQBT request signal
fX/212

3 Wait release signal


Internal reset
when standby is
signal
released.
BTM3 BTM2 BTM1 BTM0 BTM WDTM
SET1 Note

4 8 1
SET1 Note
Internal bus

Note Instruction execution

23
µPD754302, 754304, 754302(A), 754304(A)

6.5 Timer/Event Counter

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.

Table 6-2. Operation Modes of Timer/Event Counter

Channel
Channel 0 Channel 1
Mode

8-bit timer/event counter mode √ √

16-bit timer/event counter 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

TOUT Output buffer


Input buffer Comparator (8)
F/F To serial interface
TI0/TI1/P13
8 Reset
fX/22 T0
4 Overflow Timer/event counter
From clock fX/26 MPX Count register (8) (channel 1) clock input

µPD754302, 754304, 754302(A), 754304(A)


generator f X/2 CP
fX/28 Clear
fX/210
INTT0
16-bit timer/event counter mode IRQT0
set signal
IRQT0 clear signal
Timer operation start
RESET

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

Figure 6-5. Timer/Event Counter (Channel 1) Block Diagram

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

µPD754302, 754304, 754302(A), 754304(A)


8
generator f X/2
10
fX/2
fX/212

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)

Timer/event counter (channel 0) comparator


(When 16-bit timer/event counter mode)
µPD754302, 754304, 754302(A), 754304(A)

6.6 Serial Interface

The µPD754304 incorporates the clocked 8-bit serial interface, and the following three modes are provided.

• Operation stop mode


• 3-wire serial I/O mode
• 2-wire serial I/O mode

27
28

Figure 6-6. Serial Interface Block Diagram

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)

Selector SET CLR SO latch

Shift register (SIO) D Q


(8)

µPD754302, 754304, 754302(A), 754304(A)


P02/SO/SB0

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)

6.7 Bit Sequential Buffer ....... 16 Bits

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.

Figure 6-7. Bit Sequential Buffer Format

Address FC3H FC2H FC1H FC0H

Bit 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0

Symbol BSB3 BSB2 BSB1 BSB0

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)

7. INTERRUPT FUNCTION AND TEST FUNCTION

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.

(1) Interrupt function


• Vectored interrupt function for hardware control, enabling/disabling the interrupt acceptance by the
interrupt enable flag (IE×××) and interrupt master enable flag (IME).
• Can set any interrupt start address.
• Multiple interrupts wherein the order of priority can be specified by the interrupt priority select register
(IPS).
• Test function of interrupt request flag (IRQ×××). An interrupt generated can be checked by software.
• Release the standby mode. A release interrupt can be selected by the interrupt enable flag.

(2) Test function


• Test request flag (IRQxxx) generation can be checked by software.
• Release the standby mode. The test source to be released can be selected by the test enable flag.

30
Figure 7-1. Interrupt Control Circuit Block Diagram

Internal bus

2 1 4
IME IPS IST1 IST0

IM2 IM1 IM0 Interrupt enable flag (IE ××× )


Decoder
INTBT IRQBT
VRQn
Both edge
INT4/P00 detector IRQ4

INT0/P10 Note Selec- Edge


IRQ0
tor detector

µPD754302, 754304, 754302(A), 754304(A)


INT1/P11 Edge IRQ1
detector Priority control Vector table
circuit address
INTCSI IRQCSI
generator
INTT0 IRQT0

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.

Table 8-1. Operation Status in Standby Mode

Item Mode STOP mode HALT mode

Set instruction STOP instruction HALT instruction

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).

Serial interface Operable only when an external SCK Operable


input is selected as the serial clock.

Timer/event counter Operable only when a signal input to Operable


the TI0 and TI1 pins are specified as
the count clock.

External interrupt The INT1, 2, and 4 are operable.


Only the INT0 is not operated Note.

CPU The operation stops.

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.

Figure 9-1. Configuration of Reset Function

RESET
Internal RESET signal

RESET signal sent from the


basic interval timer/watchdog timer

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.

Figure 9-2. Reset Operation by RESET Signal Generation

Wait Note

RESET
signal
generated
Operation mode or
standby mode HALT mode Operation mode

Internal reset operation

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)

Table 9-1. Status of Each Hardware After Reset (1/2)

RESET signal generation RESET signal generation


Hardware
in the standby mode in operation
Program counter (PC) µPD754302 Sets the low-order 3 bits of Sets the low-order 3 bits of
program memory’s address program memory’s address
0000H to the PC10-PC8 and the 0000H to the PC10-PC8 and the
contents of address 0001H to contents of address 0001H to
the PC7-PC0. the PC7-PC0.

µPD754304 Sets the low-order 4 bits of Sets the low-order 4 bits of


program memory's address program memory's address
0000H to the PC11-PC8 and the 0000H to the PC11-PC8 and the
contents of address 0001H to contents of address 0001H to
the PC7-PC0. the PC7-PC0.
PSW Carry flag (CY) Held Undefined
Skip flag (SK0-SK2) 0 0

Interrupt status flag (IST0, IST1) 0 0


Bank enable flag (MBE, RBE) Sets the bit 6 of program Sets the bit 6 of program
memory’s address 0000H to memory’s address 0000H to
the RBE and bit 7 to the MBE. the RBE and bit 7 to the MBE.
Stack pointer (SP) Undefined Undefined

Stack bank select register (SBS) 1000B 1000B


Data memory (RAM) Held Undefined
General-purpose register (X, A, H, L, D, E, B, C) Held Undefined

Bank select register (MBS, RBS) 0, 0 0, 0


Basic interval Counter (BT) Undefined Undefined
timer/watchdog Mode register (BTM) 0 0

timer Watchdog timer enable flag (WDTM) 0 0


Timer/event Counter (T0) 0 0
counter (T0) Modulo register (TMOD0) FFH FFH

Mode register (TM0) 0 0


TOE0, TOUT F/F 0, 0 0, 0
Timer/event Counter (T1) 0 0

counter (T1) Modulo register (TMOD1) FFH FFH


Mode register (TM1) 0 0
TOE1, TOUT F/F 0, 0 0, 0

Serial Shift register (SIO) Held Undefined

interface Operation mode register (CSIM) 0 0

SBI control register (SBIC) 0 0

Slave address register (SVA) Held Undefined

Clock generator, Processor clock control register (PCC) 0 0

clock output Clock output mode register (CLOM) 0 0

circuit

34
µPD754302, 754304, 754302(A), 754304(A)

Table 9-1. Status of Each Hardware After Reset (2/2)

RESET signal generation RESET signal generation


Hardware
in the standby mode in operation
Interrupt Interrupt request flag (IRQ×××) Reset (0) Reset (0)

function Interrupt enable flag (IE×××) 0 0

Interrupt priority select register (IPS) 0 0

INT0, 1, 2 mode registers (IM0, IM1, IM2) 0, 0, 0 0, 0, 0

Digital port Output buffer Off Off

Output latch Cleared (0) Cleared (0)

I/O mode registers (PMGA, B, C) 0 0

Pull-up resistor setting registers (POGA, B) 0 0

Bit sequential buffers (BSB0-BSB3) Held Undefined

35
µPD754302, 754304, 754302(A), 754304(A)

10. MASK OPTION

The µPD754304 has the following mask options:

• Mask option of P50 through P53


Pull-up resistors can be connected to these pins.
(1) Specify connection of a pull-up resistor in 1-bit units.
(2) Do not specify connection of a pull-up resistor.

• Standby function mask option


The wait time when the RESET signal is input can be selected.
(1) 2 17/fX (21.8 ms: f X = 6.0 MHz, 31.3 ms: fX = 4.19 MHz)
(2) 2 15/fX (5.46 ms: f X = 6.0 MHz, 7.81 ms: fX = 4.19 MHz)

36
µPD754302, 754304, 754302(A), 754304(A)

11. INSTRUCTION SETS

(1) Expression formats and description methods of operands


The operand is described in the operand column of each instruction in accordance with the description
method for the operand expression format of the instruction. For details, refer to RA75X ASSEMBLER
PACKAGE USERS’ MANUAL——LANGUAGE (EEU-1363). If there are several elements, one of them
is selected. Capital letters and the + and – symbols are key words and are described as they are.
For immediate data, appropriate numbers and labels are described.
Instead of the labels such as mem, fmem, pmem, and bit, the symbols of the register flags can be
described. However, there are restrictions in the labels that can be described for fmem and pmem.
For details, refer to the µPD754304 USER’S MANUAL (U10123E).

Representation
Description method
format

reg X, A, B, C, D, E, H, L
reg1 X, B, C, D, E, H, L

rp XA, BC, DE, HL


rp1 BC, DE, HL
rp2 BC, DE
rp' XA, BC, DE, HL, XA', BC', DE', HL'
rp'1 BC, DE, HL, XA', BC', DE', HL'

rpa HL, HL+, HL–, DE, DL


rpa1 DE, DL

n4 4-bit immediate data or label


n8 8-bit immediate data or label
Note
mem 8-bit immediate data or label
bit 2-bit immediate data or label

fmem FB0H-FBFH, FF0H-FFFH immediate data or label


pmem FC0H-FFFH immediate data or label

addr 0000H-07FFH immediate data or label (µPD754302)


0000H-0FFFH immediate data or label (µPD754304)
addr1 0000H-07FFH immediate data or label (µPD754302)
0000H-0FFFH immediate data or label (µPD754304)
caddr 12-bit immediate data or label
faddr 11-bit immediate data or label

taddr 20H-7FH immediate data (where bit 0 = 0) or label

PORTn PORT0-PORT3, PORT5-PORT8


IE××× IEBT, IET0, IET1, IE0-IE2, IE4, IECSI
RBn RB0-RB3
MBn MB0, MB15

Note mem can be only used for even address in 8-bit data processing.

37
µPD754302, 754304, 754302(A), 754304(A)

(2) Legend in explanation of operation


A : A register; 4-bit accumulator
B : B register
C : C register
D : D register
E : E register
H : H register
L : L register
X : X register
XA : XA register pair; 8-bit accumulator
BC : BC register pair
DE : DE register pair
HL : HL register pair
XA’ : XA’ expanded register pair
BC’ : BC’ expanded register pair
DE’ : DE’ expanded register pair
HL’ : HL’ expanded register pair
PC : Program counter
SP : Stack pointer
CY : Carry flag; bit accumulator
PSW : Program status word
MBE : Memory bank enable flag
RBE : Register bank enable flag
PORTn : Port n (n = 0-3, 5-8)
IME : Interrupt master enable flag
IPS : Interrupt priority select register
IExxx : Interrupt enable flag
RBS : Register bank select register
MBS : Memory bank select register
PCC : Processor clock control register
. : Separation between address and bit
(××) : The contents addressed by ××
××H : Hexadecimal data

38
µPD754302, 754304, 754302(A), 754304(A)

(3) Explanation of symbols under addressing area column

*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)

*4 MB = 15, fmem = FB0H-FBFH, FF0H-FFFH

*5 MB = 15, pmem = FC0H-FFFH

*6 µPD754302 addr = 0000H-07FFH

µPD754304 addr = 0000H-0FFFH

*7 addr = (Current PC) – 15 to (Current PC) – 1


(Current PC) + 2 to (Current PC) + 16

addr1 = (Current PC) – 15 to (Current PC) – 1


(Current PC) + 2 to (Current PC) + 16

*8 µPD754302 caddr = 0000H-07FFH Program memory addressing

µPD754304 caddr = 0000H-0FFFH (PC12 = 0)

*9 faddr = 0000H-07FFH

*10 taddr = 0020H-007FH

*11 µPD754302 addr1 = 0000H-07FFH

µPD754304 addr1 = 0000H-0FFFH

Remarks 1. MB indicates memory bank that can be accessed.


2. In *2, MB = 0 independently of how MBE and MBS are set.
3. In *4 and *5, MB = 15 independently of how MBE and MBS are set.
4. *6 to *11 indicate the areas that can be addressed.

(4) Explanation of number of machine cycles column


S denotes the number of machine cycles required by skip operation when a skip instruction is executed.
The value of S varies as follows.

• When no skip is made: S = 0


• When the skipped instruction is a 1- or 2-byte instruction: S = 1
Note
• When the skipped instruction is a 3-byte instruction : S=2

Note 3-byte instruction: BR !addr, BRA !addr1, CALL !addr or CALLA !addr1 instruction

Caution The GETI instruction is skipped in one machine cycle.

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)

Instruction Number Number Addressing


Mnemonic Operand of machine Operation Skip condition
group of bytes cycles area

Transfer MOV A, #n4 1 1 A ← n4 String effect A

reg1, #n4 2 2 reg1 ← n4

XA, #n8 2 2 XA ← n8 String effect A

HL, #n8 2 2 HL ← n8 String effect B

rp2, #n8 2 2 rp2 ← n8

A, @HL 1 1 A ← (HL) *1

A, @HL+ 1 2+S A ← (HL), then L ← L+1 *1 L=0

A, @HL– 1 2+S A ← (HL), then L ← L–1 *1 L = FH

A, @rpa 1 1 A ← (rpa) *2

XA, @HL 2 2 XA ← (HL) *1

@HL, A 1 1 (HL) ← A *1

@HL, XA 2 2 (HL) ← XA *1

A, mem 2 2 A ← (mem) *3

XA, mem 2 2 XA ← (mem) *3

mem, A 2 2 (mem) ← A *3

mem, XA 2 2 (mem) ← XA *3

A, reg1 2 2 A ← reg1

XA, rp' 2 2 XA ← rp'

reg1, A 2 2 reg1 ← A

rp'1, XA 2 2 rp'1 ← XA

XCH A, @HL 1 1 A ↔ (HL) *1

A, @HL+ 1 2+S A ↔ (HL), then L ← L+1 *1 L=0

A, @HL– 1 2+S A ↔ (HL), then L ← L–1 *1 L = FH

A, @rpa 1 1 A ↔ (rpa) *2

XA, @HL 2 2 XA ↔ (HL) *1

A, mem 2 2 A ↔ (mem) *3

XA, mem 2 2 XA ↔ (mem) *3

A, reg1 1 1 A ↔ reg1

XA, rp' 2 2 XA ↔ rp'

Table MOVT XA, @PCDE 1 3 ● µPD754302

reference XA ← (PC10–8+DE)ROM

● µPD754304

XA ← (PC11–8+DE)ROM

XA, @PCXA 1 3 ● µPD754302

XA ← (PC10–8+XA)ROM

● µPD754304

XA ← (PC11–8+XA)ROM

XA, @BCDE 1 3 XA ← (BCDE)ROM Note *6

XA, @BCXA 1 3 XA ← (BCXA)ROM Note *6

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)

Instruction Number Number Addressing


Mnemonic Operand of machine Operation Skip condition
group of bytes cycles area

Bit transfer MOV1 CY, fmem.bit 2 2 CY ← (fmem.bit) *4

CY, pmem.@L 2 2 CY ← (pmem7–2+L3–2.bit(L1–0)) *5

CY, @H+mem.bit 2 2 CY ← (H+mem3–0.bit) *1

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

Operation ADDS A, #n4 1 1+S A ← A+n4 carry

XA, #n8 2 2+S XA ← XA+n8 carry

A, @HL 1 1+S A ← A+(HL) *1 carry

XA, rp' 2 2+S XA ← XA+rp' carry

rp'1, XA 2 2+S rp'1 ← rp'1+XA carry

ADDC A, @HL 1 1 A, CY ← A+(HL)+CY *1

XA, rp' 2 2 XA, CY ← XA+rp'+CY

rp'1, XA 2 2 rp'1, CY ← rp'1+XA+CY

SUBS A, @HL 1 1+S A ← A–(HL) *1 borrow

XA, rp' 2 2+S XA ← XA–rp' borrow

rp'1, XA 2 2+S rp'1 ← rp'1–XA borrow

SUBC A, @HL 1 1 A, CY ← A–(HL)–CY *1

XA, rp' 2 2 XA, CY ← XA–rp'–CY

rp'1, XA 2 2 rp'1, CY ← rp'1–XA–CY

AND A, #n4 2 2 A ← A ∧ n4

A, @HL 1 1 A ← A ∧ (HL) *1

XA, rp' 2 2 XA ← XA ∧ rp'

rp'1, XA 2 2 rp'1 ← rp'1 ∧ XA

OR A, #n4 2 2 A ← A ∨ n4

A, @HL 1 1 A ← A ∨ (HL) *1

XA, rp' 2 2 XA ← XA ∨ rp'

rp'1, XA 2 2 rp'1 ← rp'1 ∨ XA

XOR A, #n4 2 2 A ← A v n4

A, @HL 1 1 A ← A v (HL) *1

XA, rp' 2 2 XA ← XA v rp'

rp'1, XA 2 2 rp'1 ← rp'1 v XA

Accumulator RORC A 1 1 CY ← A0, A3 ← CY, An–1 ← An


manipulation
NOT A 2 2 A←A

Increment INCS reg 1 1+S reg ← reg+1 reg=0


and
rp1 1 1+S rp1 ← rp1+1 rp1=00H
decrement
@HL 2 2+S (HL) ← (HL)+1 *1 (HL)=0

mem 2 2+S (mem) ← (mem)+1 *3 (mem)=0

DECS reg 1 1+S reg ← reg–1 reg=FH

rp' 2 2+S rp' ← rp'–1 rp'=FFH

41
µPD754302, 754304, 754302(A), 754304(A)

Instruction Number Number Addressing


Mnemonic Operand of machine Operation Skip condition
group of bytes cycles area

Comparison SKE reg, #n4 2 2+S Skip if reg = n4 reg=n4

@HL, #n4 2 2+S Skip if (HL) = n4 *1 (HL) = n4

A, @HL 1 1+S Skip if A = (HL) *1 A = (HL)

XA, @HL 2 2+S Skip if XA = (HL) *1 XA = (HL)

A, reg 2 2+S Skip if A = reg A=reg

XA, rp' 2 2+S Skip if XA = rp' XA=rp'

Carry flag SET1 CY 1 1 CY ← 1


manipulation
CLR1 CY 1 1 CY ← 0

SKT CY 1 1+S Skip if CY = 1 CY=1

NOT1 CY 1 1 CY ← CY

Memory bit SET1 mem.bit 2 2 (mem.bit) ←1 *3


manipulation
fmem.bit 2 2 (fmem.bit) ←1 *4

pmem.@L 2 2 (pmem7–2+L3–2.bit(L1–0)) ←1 *5

@H+mem.bit 2 2 (H+mem3–0.bit) ←1 *1

CLR1 mem.bit 2 2 (mem.bit) ←0 *3

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

SKT mem.bit 2 2+S Skip if (mem.bit)=1 *3 (mem.bit)=1

fmem.bit 2 2+S Skip if (fmem.bit)=1 *4 (fmem.bit)=1

pmem.@L 2 2+S Skip if (pmem7–2+L3–2.bit(L1–0))=1 *5 (pmem.@L)=1

@H+mem.bit 2 2+S Skip if (H+mem3–0.bit)=1 *1 (@H+mem.bit)=1

SKF mem.bit 2 2+S Skip if (mem.bit)=0 *3 (mem.bit)=0

fmem.bit 2 2+S Skip if (fmem.bit)=0 *4 (fmem.bit)=0

pmem.@L 2 2+S Skip if (pmem7–2+L3–2.bit(L1–0))=0 *5 (pmem.@L)=0

@H+mem.bit 2 2+S Skip if (H+mem3–0.bit)=0 *1 (@H+mem.bit)=0

SKTCLR fmem.bit 2 2+S Skip if (fmem.bit)=1 and clear *4 (fmem.bit)=1

pmem.@L 2 2+S Skip if (pmem7–2+L3–2.bit(L1–0))=1 and clear *5 (pmem.@L)=1

@H+mem.bit 2 2+S Skip if (H+mem3–0.bit)=1 and clear *1 (@H+mem.bit)=1

AND1 CY, fmem.bit 2 2 CY ← CY ∧ (fmem.bit) *4

CY, pmem.@L 2 2 CY ← CY ∧ (pmem7–2+L3–2.bit(L1–0)) *5

CY, @H+mem.bit 2 2 CY ← CY ∧ (H+mem3–0.bit) *1

OR1 CY, fmem.bit 2 2 CY ← CY ∨ (fmem.bit) *4

CY, pmem.@L 2 2 CY ← CY ∨ (pmem7–2+L3–2.bit(L1–0)) *5

CY, @H+mem.bit 2 2 CY ← CY ∨ (H+mem3–0.bit) *1

XOR1 CY, fmem.bit 2 2 CY ← CY v (fmem.bit) *4

CY, pmem.@L 2 2 CY ← CY v (pmem7–2+L3–2.bit(L1–0)) *5

CY, @H+mem.bit 2 2 CY ← CY v (H+mem3–0.bit) *1

42
µPD754302, 754304, 754302(A), 754304(A)

Instruction Number Number Addressing


Mnemonic Operand of machine Operation Skip condition
group of bytes area
cycles

Branch BR Note addr – – • µPD754302 *6


PC10–0 ← addr
Select appropriate instruction from
among BR !addr, BRCB !caddr and BR
$addr according to the assembler being
used.

• µPD754304
PC11–0 ← addr
Select appropriate instruction from
among BR !addr, BRCB !caddr and BR
$addr according to the assembler being
used.

addr1 – – • µPD754302 *11


PC10-0 ← addr
Select appropriate instruction from
among BR !addr, BRA !addr1, BRCB
!caddr and BR $addr1 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)

Instruction Number Number Addressing


Mnemonic Operand of machine Operation Skip condition
group of bytes area
cycles

Branch BR BCDE 2 3 • µPD754302 *6


PC10–0 ← BCDE Note1

• µPD754304
PC11–0 ← BCDE Note2

BCXA 2 3 • µPD754302 *6
PC10–0 ← BCXA Note1

• µPD754304
PC11–0 ← BCXA Note2

BRA Note3 !addr1 3 3 • µPD754302 *11


PC10–0 ← addr1

• µPD754304
PC11–0 ← addr1

BRCB !caddr 2 2 • µPD754302 *8


PC10–0 ← caddr10–0

• µPD754304
PC11–0 ← caddr11–0

Subroutine CALLANote3 !addr1 3 3 • µPD754302 *11


stack control (SP–2) ← ×, ×, MBE, RBE
(SP–6) (SP–3) (SP–4) ← PC10–0
(SP–5) ← 0, 0, 0, 0
PC10–0 ← addr1, SP ← SP–6

• µ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

CALL Note3 !addr 3 3 • µPD754302 *6


(SP–3) ← MBE, RBE, 0, 0
(SP–4) (SP–1) (SP–2) ← PC10–0
PC10–0 ← addr, SP ← SP–4

• µ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)

Instruction Number Number Addressing


Mnemonic Operand of machine Operation Skip condition
group of bytes cycles area

Subroutine CALLF Note !faddr 2 2 • µPD754302 *9


stack control (SP–3) ← MBE, RBE, 0, 0
(SP–4) (SP–1) (SP–2) ← PC10–0
PC10–0 ← faddr, SP ← SP–4

• µ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

RET Note 1 3 • µPD754302


PC10–0 ← (SP) (SP+3) (SP+2)
MBE, RBE, 0, 0 ← (SP+1), SP ← SP+4

• µ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

RETS Note 1 3+S • µPD754302 Unconditional


MBE, RBE, 0, 0 ← (SP+1)
PC10–0 ← (SP) (SP+3) (SP+2)
SP ← SP+4
then skip unconditionally

• µ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)

Instruction Number Number Addressing


Mnemonic Operand of machine Operation Skip condition
group of bytes cycles area

Subroutine RETS Note1 1 3+S • µPD754302 Unconditional


stack control 0, 0, 0, 0 ← (SP+1)
PC10–0 ← (SP) (SP+3) (SP+2)
×, ×, MBE, RBE ← (SP+4)
SP ← SP+6
then skip unconditionally

• µPD754304
0, 0, 0, 0 ← (SP+1)
PC11–0 ← (SP) (SP+3) (SP+2)
×, ×, MBE, RBE ← (SP+4)
SP ← SP+6
then skip unconditionally

RETI Note1 1 3 • µPD754302


MBE, RBE, 0, 0 ← (SP+1)
PC10–0 ← (SP) (SP+3) (SP+2)
PSW ← (SP+4) (SP+5), SP ← SP+6

• µ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

PUSH rp 1 1 (SP–1)(SP–2) ← rp, SP ← SP–2

BS 2 2 (SP–1) ← MBS, (SP–2) ← RBS, SP ← SP–2

POP rp 1 1 rp ← (SP+1) (SP), SP ← SP+2

BS 2 2 MBS ← (SP+1), RBS ← (SP), SP ← SP+2

Interrupt EI 2 2 IME (IPS.3) ← 1

control IE××× 2 2 IE××× ← 1

DI 2 2 IME (IPS.3) ← 0

IE××× 2 2 IE××× ← 0

Input/output IN Note2 A, PORTn 2 2 A ← PORTn (n = 0-3, 5-8)

XA, PORTn 2 2 XA ← PORTn+1, PORTn (n = 6)

OUT Note2 PORTn, A 2 2 PORTn ← A (n = 2, 3, 5-8)

PORTn, XA 2 2 PORTn+1, PORTn ← XA (n = 6)

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

CPU control HALT 2 2 Set HALT Mode (PCC.2 ← 1)

STOP 2 2 Set STOP Mode (PCC.3 ← 1)

NOP 1 1 No Operation

Special SEL RBn 2 2 RBS ← n (n = 0-3)

MBn 2 2 MBS ← n (n = 0, 15)

GETI Notes 1, 2 taddr 1 3 • µPD754302 *10


• When TBR instruction
PC10–0 ← (taddr) 2–0 + (taddr+1)
–––––––––––––––––––––––––––––––––– ––––––––––––
• When TCALL instruction
(SP–4) (SP–1) (SP–2) ← PC10–0
(SP–3) ← MBE, RBE, 0, 0
PC10–0 ← (taddr) 2–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

• µ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

Special GETI Notes 1, 2 taddr 1 3 • µPD754304 *10


• When TBR instruction
PC11–0 ← (taddr) 3–0 + (taddr+1)
–––––––––––––––––––––––––––––––––––––––– ––––––––––––
4 • When TCALL instruction
(SP–6) (SP–3) (SP–4) ← PC11–0
(SP–5) ← 0, 0, 0, 0
(SP–2) ← ×, ×, MBE, RBE
PC11–0 ← (taddr) 3–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.

48
µPD754302, 754304, 754302(A), 754304(A)

12. ELECTRICAL SPECIFICATIONS

Absolute Maximum Ratings (TA = 25 °C)

Parameter Symbol Test Conditions Ratings Unit

Supply voltage V DD –0.3 to +7.0 V


Input voltage V I1 Except port 5 –0.3 to V DD + 0.3 V
V I2 Port 5 Pull-up resistor incorporated –0.3 to V DD + 0.3 V

N-ch open-drain –0.3 to +14 V


Output voltage VO –0.3 to V DD + 0.3 V
Output current, high IOH Per pin –10 mA

For all pins –30 mA


Output current, low I OL Note Per pin 30 mA
For all pins 220 mA

Operating ambient TA –40 to +85 °C


temperature
Storage temperature T stg –65 to +150 °C

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.

Capacitance (TA = 25 °C, V DD = 0 V)

Parameter Symbol Test Conditions MIN. TYP. MAX. Unit

Input capacitance CIN f = 1 MHz 15 pF


Output capacitance COUT Unmeasured pins returned to 0 V 15 pF
I/O capacitance CIO 15 pF

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

Ceramic Oscillation 1.0 6.0 Note2 MHz


resonator frequency (fX) Note1
X1 X2

Oscillation After VDD reaches MIN. 4 ms


C1 C2
stabilization value of oscillation
time Note 3 voltage range

Crystal Oscillation 1.0 6.0Note2 MHz


resonator frequency(fX) Note1

X1 X2
Oscillation VDD = 4.5 to 5.5 V 10 ms
stabilization time Note3
C1 C2
30 ms

External X1 input 1.0 6.0 Note2 MHz


clock frequency (fX) Note1
X1 X2

X1 input high- and 83.3 500 ns


low-level widths
(t XH, tXL)

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)

Recommended Oscillation Circuit Constants

Ceramic Resonator (TA = –40 to +85 °C)

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Ω

Mfg. Co., Ltd CSA2.00MG 2.0 30 30 1.8 5.5


CST2.00MG – – Capacitor incorporated
CSA3.58MG 3.58 30 30 1.8 5.5

CST3.58MGW – – Capacitor incorporated


CSA3.58MGU 30 30
CST3.58MGWU – – Capacitor incorporated

CSA4.00MG 4.0 30 30 2.0 5.5


CST4.00MGW – – Capacitor incorporated
CSA4.00MGU 30 30 1.8

CST4.00MGWU – – Capacitor incorporated


CSA6.00MG 6.0 30 30 2.9 5.5
CST6.00MGW – – Capacitor incorporated

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

KBR-4.0MSA 4.0 33 33 1.8 5.5


KBR-4.0MKS – – Capacitor incorporated, T A = –20 to +80 °C
PBRC 4.00A 33 33 TA = –20 to +80 °C

PBRC 4.00B – – Capacitor incorporated, T A = –20 to +80 °C


KBR-6.0MSA 6.0 33 33 1.8 5.5 TA = –20 to +80 °C
PBRC 6.00A

PBRC 6.00B – – Capacitor incorporated, T A = –20 to +80 °C


TDK CCR1000K2 1.0 100 100 1.8 5.5
CCR2.0MC33 2.0 – – Capacitor incorporated

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)

DC Characteristics (TA = –40 to + 85 °C, VDD = 1.8 to 5.5 V)

Parameter Symbol Test Conditions MIN. TYP. MAX. Unit


Output current, low I OL Per pin 15 mA

For all pins 150 mA


Input voltage, high V IH1 Ports 2, 3, 8 2.7 V≤VDD≤5.5 V 0.7 VDD VDD V
1.8 V≤VDD<2.7 V 0.9 VDD VDD V

V IH2 Ports 0, 1, 6, 7, RESET 2.7 V≤VDD≤5.5 V 0.8 VDD VDD V


1.8 V≤VDD<2.7 V 0.9 VDD VDD V
V IH3 Port 5 Pull-up resistor 2.7 V≤VDD≤5.5 V 0.7 VDD VDD V

incorporated 1.8 V≤VDD<2.7 V 0.9 VDD VDD V


N-ch open drain 2.7 V≤VDD≤5.5 V 0.7 VDD 13 V
1.8 V≤VDD<2.7 V 0.9 VDD 13 V

V IH4 X1 VDD–0.1 VDD V


Input voltage, low V IL1 Ports 2, 3, 5, 8 2.7 V≤VDD≤5.5 V 0 0.3 VDD V
1.8 V≤VDD<2.7 V 0 0.1 VDD V

V IL2 Ports 0, 1, 6, 7, RESET 2.7 V≤VDD≤5.5 V 0 0.2 VDD V


1.8 V≤VDD<2.7 V 0 0.1 VDD V
V IL3 X1 0 0.1 V

Output voltage, high V OH SCK, SO, ports 2, 3, 6, 7, 8 IOH = –1 mA VDD–0.5 V


Output voltage, low V OL1 SCK, SO, ports 2, 3, 5, 6, 7, 8 IOL = 15 mA 0.2 2.0 V
VDD = 5 V±10%

IOL = 1.6 mA 0.4 V


V OL2 SB0 N-ch open-drain pull-up resistor≥1 kΩ 0.2 VDD V
Input leak current, high ILIH1 VI = VDD Pins other than X1 3 µA
I LIH2 X1 20 µA
I LIH3 V I = 13 V Port 5 (N-ch open drain) 20 µA
Input leak current, low I LIL1 VI = 0 V Pins other than X1 and port 5 –3 µA
I LIL2 X1 –20 µA
I LIL3 Port 5 (N-ch open drain) –3 µA
Other than input instruction

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)

DC Characteristics (TA = –40 to +85 °C, VDD = 1.8 to 5.5 V)

Parameter Symbol Test Conditions MIN. TYP. MAX. Unit


Supply current Note1
IDD1 6.00 MHz VDD = 5.0 V ± 10% Note2
1.50 5.00 mA

Crystal resonator VDD = 3.0 V ± 10% Note3


0.33 1.00 mA
IDD2 C1 = C2 = 22 pF HALT mode VDD = 5.0 V ± 10% 0.61 1.85 mA
VDD = 3.0 V ± 10% 0.24 0.75 mA

IDD1 4.19 MHz VDD = 5.0 V ± 10% Note2


1.20 3.50 mA
Crystal resonator VDD = 3.0 V ± 10% Note3
0.17 0.55 mA
IDD2 C1 = C2 = 22 pF HALT mode VDD = 5.0 V ± 10% 0.40 1.50 mA

VDD = 3.0 V ± 10% 0.13 0.50 mA


IDD5 STOP mode VDD = 5.0 V ± 10% 0.05 10.0 µA
VDD = 3.0 V ± 10% 0.02 5.00 µA
TA = 25 °C 0.02 3.00 µA

Notes 1. Does not include current fed to on-chip pull-up resistor.


2. When processor clock control register (PCC) is set to 0011, during high-speed mode.
3. When PCC is set to 0000, during low-speed mode.

54
µPD754302, 754304, 754302(A), 754304(A)

AC Characteristics (TA = –40 to +85 °C, VDD = 1.8 to 5.5 V)

Parameter Symbol Test Conditions MIN. TYP. MAX. Unit


Note1
CPU clock cycle time tCY When system VDD = 2.7 to 5.5 V 0.67 64 µs
(Minimum instruction execution clock is used
0.95 64 µs
time = 1 machine cycle)

TI0, TI1 input frequency fTI VDD = 2.7 to 5.5 V 0 1 MHz


0 275 kHz
TI0, TI1 input high- and tTIH, tTIL VDD = 2.7 to 5.5 V 0.48 µs
low-level width 1.8 µs
Interrupt input high- and tINTH, t INTL INT0 IM02 = 0 Note 2 µs
low-level width IM02 = 1 10 µs
INT1, 2, 4 10 µs
KR0-7 10 µs
RESET low-level width tRSL 10 µs

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]

the interrupt mode register (IM0). 3

0.5
0 1 2 3 4 5 6
Supply voltage VDD [V]

55
µPD754302, 754304, 754302(A), 754304(A)

Serial Transfer Operation

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)

Parameter Symbol Test Conditions MIN. TYP. MAX. Unit

SCK cycle time tKCY1 V DD = 2.7 to 5.5 V 1300 ns


3800 ns
SCK high- and tKL1, V DD = 2.7 to 5.5 V t KCY1/2–50 ns

low-level width tKH1 tKCY1/2–150 ns


SINote1 setup time tSIK1 V DD = 2.7 to 5.5 V 150 ns
(to SCK↑) 500 ns

SINote1 hold time tKSI1 V DD = 2.7 to 5.5 V 400 ns


(from SCK↑) 600 ns
SCK↓→SONote1 tKSO1 R = 1 kΩ, C = 100 pF Note2 VDD = 2.7 to 5.5 V 0 250 ns

output delay time 0 1000 ns

Notes 1. SB0 in the 2-wire serial I/O mode.


2. R and C are the load resistance and load capacitance of the SO output line.

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)

Parameter Symbol Test Conditions MIN. TYP. MAX. Unit


SCK cycle time tKCY2 V DD = 2.7 to 5.5 V 800 ns
3200 ns

SCK high- and tKL2, V DD = 2.7 to 5.5 V 400 ns


low-level width tKH2 1600 ns
SI Note1 setup time tSIK2 V DD = 2.7 to 5.5 V 100 ns

(to SCK↑) 150 ns


SI Note1 hold time tKSI2 V DD = 2.7 to 5.5 V 400 ns
(from SCK↑) 600 ns

SCK↓→SONote1 tKSO2 R = 1 kΩ, C = 100 pF Note2 VDD = 2.7 to 5.5 V 0 300 ns


output delay time 0 1000 ns

Notes 1. SB0 in the 2-wire serial I/O mode.


2. R and C are the load resistance and load capacitance of the SO output line.

56
µPD754302, 754304, 754302(A), 754304(A)

AC Timing Test Points (Excluding X1 Input)

VIH (MIN.) VIH (MIN.)


VIL (MAX.) VIL (MAX.)

VOH (MIN.) VOH (MIN.)


VOL (MAX.) VOL (MAX.)

Note For the values, refer to the DC Characteristics.

Clock Timing

1/fX

tXL tXH

X1 input VDD – 0.1 V


0.1 V

TI0, TI1 Timing

1/fTI

tTIL tTIH

TI0, TI1

57
µPD754302, 754304, 754302(A), 754304(A)

Serial Transfer Timing

3-wire Serial I/O Mode

tKCY1, 2

tKL1, 2 tKH1, 2

SCK

tSIK1, 2 tKSI1, 2

SI Input data

tKSO1, 2

SO Output data

2-wire Serial I/O Mode

tKCY1, 2

tKL1, 2 tKH1, 2

SCK

tSIK1, 2 tKSI1, 2

SB0

tKSO1, 2

58
µPD754302, 754304, 754302(A), 754304(A)

Interrupt Input Timing

tINTL tINTH

INT0,1,2,4
KR0-7

RESET Input Timing

tRSL

RESET

Data Memory STOP Mode Low-Supply Voltage Data Retention Characteristics (TA = –40 to +85 °C)

Parameter Symbol Test Conditions MIN. TYP. MAX. Unit

Release signal set time tSREL 0 µs


Oscillation stabilization tWAIT Release by RESET Note2 ms
wait time Note1 Release by interrupt request Note3 ms

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).

BTM3 BTM2 BTM1 BTM0 Wait Time


When fX = 4.19 MHz When fX = 6.0 MHz

– 0 0 0 220/fX (Approx. 250 ms) 220/fX (Approx. 175 ms)


– 0 1 1 217/fX (Approx. 31.3 ms) 217/fX (Approx. 21.8 ms)
– 1 0 1 215/fX (Approx. 7.81 ms) 215/fX (Approx. 5.46 ms)

– 1 1 1 213/fX (Approx. 1.95 ms) 213/fX (Approx. 1.37 ms)

59
µPD754302, 754304, 754302(A), 754304(A)

Data Retention Timing (on releasing STOP mode by RESET)

Internal reset operation


HALT mode
STOP mode Operation mode

Data retention mode

VDD
VDDDR tSREL

Execution of STOP instruction

RESET

tWAIT

Data Retention Timing (Standby release signal: on releasing STOP mode by interrupt signal)

HALT mode
STOP mode Operation mode

Data retention mode

VDD
VDDDR tSREL

Execution of STOP instruction

Standby release signal


(interrupt request)

tWAIT

60
µPD754302, 754304, 754302(A), 754304(A)

13. CHARACTERISTICS CURVES (REFERENCE VALUES)

IDD VS VDD (System Clock: 6.0-MHz Crystal Resonator)


(TA = 25 °C)
10

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

Supply Voltage VDD (V)

61
µPD754302, 754304, 754302(A), 754304(A)

IDD VS VDD (System Clock: 4.19-MHz Crystal Resonator)

(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

Supply Voltage VDD (V)

62
µPD754302, 754304, 754302(A), 754304(A)

14. PACKAGE DRAWING

36 PIN PLASTIC SHRINK SOP (300 mil)

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

E 0.125 ± 0.075 0.005 ± 0.003


F 1.8 MAX. 0.071 MAX.
G 1.55 0.061
H 7.7 ± 0.3 0.303 ± 0.012
I 5.6 0.220
J 1.1 0.043
K 0.20 +0.10
–0.05 0.008+0.004
–0.002

+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)

15. RECOMMENDED SOLDERING CONDITIONS

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.

Table 15-1. Surface Mounting Type Soldering Conditions

µPD754302GS-×××: 36-pin plastic shrink SOP (300 mil, 0.8-mm pitch)


µPD754304GS-×××: 36-pin plastic shrink SOP (300 mil, 0.8-mm pitch)
µPD754302GS(A)-×××: 36-pin plastic shrink SOP (300 mil, 0.8-mm pitch)
µPD754304GS(A)-×××: 36-pin plastic shrink SOP (300 mil, 0.8-mm pitch)

Soldering Method Soldering Conditions Symbol


Infrared rays reflow Package peak temperature: 235 °C, Time: 30 seconds max. (at 210 °C or higher), IR35-00-2
Count: Twice or less
VPS Package peak temperature: 215 °C, Time: 40 seconds max. (at 200 °C or higher), VP15-00-2
Count: Twice or less

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)

APPENDIX A. COMPARISON OF FUNCTIONS AMONG µPD750004, 754304, AND 75P4308

Item µPD750004 µPD754304 µPD75P4308


Program memory Mask ROM Mask ROM One-time PROM
0000H-0FFFH 0000H-0FFFH 0000H-1FFFH
(4096 × 8 bits) (4096 × 8 bits) (8192 × 8 bits)
Data memory 000H-1FFH (512 × 4 bits) 000H-0FFH (256 × 4 bits)
CPU 75XL CPU
Instruction w/main system clock • 0.67, 1.33, 2.67, or 10.7 µs (at 6.0 MHz)
execution • 0.95, 1.91, 3.81, or 15.3 µs (at 4.19 MHz)
time w/subsystem clock • 122 µs (at 32.768 kHz) No subsystem clock
I/O port CMOS input 8 (of which 7 can be connected with on-chip pull-up resistor via software)
CMOS I/O 18 (on-chip pull-up resistor can be connected via software)
N-ch open-drain I/O 8 (pull-up resistor can be 4 (pull-up resistor can be 4 (no mask option)
(withstand 13 V) connected by mask option) connected by mask option)
Total 34 30 (no port 4 pins)
Timer 4 channels 3 channels
• Basic interval timer/ • Basic interval timer/watchdog timer
watchdog timer • 8-bit timer/event counter 0 (fX/2 2 added)
• 8-bit timer/event counter • 8-bit timer/event counter 1 (TI1, fX/22 added)
• 8-bit timer (can be used as 16-bit timer/event counter)
• Watch timer
Clock output (PCL) • Φ, 524, 262, or 65.5 kHz
(main system clock: 4.19 MHz)
• Φ, 750, 375, or 93.8 kHz
(main system clock: 6.0 MHz)
BUZ output Provided None
Serial interface 3 modes are supported 2 modes are supported
• 3-wire serial I/O mode • 3-wire serial I/O mode ··· MSB/LSB first selectable
··· MSB/LSB first • 2-wire serial I/O mode
selectable
• 2-wire serial I/O mode
• SBI mode

Watch mode register (WM) Provided None

System clock control register


(SCC)

Suboscillation circuit control


register (SOS)

MBS register MB0, 1 MB0 only

Stack area (SBS1, 0)

65
µPD754302, 754304, 754302(A), 754304(A)

Item µPD750004 µPD754304 µPD75P4308


TM0, 1 registers Bits 0, 1, and 7 are –
fixed to 0

Vectored interrupt External: 3, internal: 4

Test input External: 1, internal: 1 External: 1

Test enable flag (IEW) Provided None

Test request flag (IRQW)

Supply voltage VDD = 2.2 to 5.5 V VDD = 1.8 to 5.5 V

Operating ambient temperature TA = –40 to +85 ˚C

Package • 42-pin plastic • 36-pin plastic shrink SOP


shrink DIP (600 mil) (300 mil, 0.8-mm pitch)
• 44-pin plastic QFP
(10 × 10 mm)

66
µPD754302, 754304, 754302(A), 754304(A)

APPENDIX B. DEVELOPMENT TOOLS

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

RA75X relocatable assembler Order code


Host machine
OS Supply media (part number)

PC-9800 series MS-DOSTM 3.5” 2HD µS5A13RA75X


Ver. 3.30 to 5” 2HD µS5A10RA75X
Ver. 6.2 Note

IBM PC/ATTM or Refer to 3.5” 2HC µS7B13RA75X


compatible machine “OS for IBM PC” 5” 2HC µS7B10RA75X

Device file Order code


Host machine
OS Supply media (part number)

PC-9800 series MS-DOS 3.5” 2HD µS5A13DF754304


Ver. 3.30 to 5” 2HD µS5A10DF754304
Ver. 6.2 Note

IBM PC/AT or Refer to 3.5” 2HC µS7B13DF754304


compatible machine “OS for IBM PC” 5” 2HC µS7B10DF754304

PROM writing tools

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.

Host machine Order code


OS Supply media (part number)

PC-9800 series MS-DOS 3.5” 2HD µS5A13PG1500


Ver. 3.30 to 5” 2HD µS5A10PG1500
Ver. 6.2 Note

IBM PC/AT or Refer to 3.5” 2HD µS7B13PG1500


compatible machine “OS for IBM PC” 5” 2HC µS7B10PG1500

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.

EP-754304GS-R Emulation probe for the µPD754304GS.


It must be connected to IE-75000-R (or IE-75001-R) and IE-75300-R-EM.
It is supplied with the flexible board EV-9500GS-36 which facilitates connection to a
EV-9500GS-36 target system.

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)

PC-9800 series MS-DOS 3.5” 2HD µS5A13IE75X


Ver. 3.30 to 5” 2HD µS5A10IE75X
Ver. 6.2 Note 2

IBM PC/AT or Refer to 3.5” 2HC µS7B13IE75X


compatible machine “OS for IBM PC” 5” 2HC µS7B10IE75X

Notes 1. Maintenance parts


2. Although Ver.5.00 and later have a task swap function, this function cannot be used with this software.

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

PC DOSTM Ver. 5.02 to Ver. 6.3


J6.1/V Note to J6.3/V Note

MS-DOS Ver. 5.0 to Ver. 6.22


5.0/V Note to 6.2/V Note

IBM DOSTM J5.02/V Note

Note Only English version is supported.

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)

APPENDIX C. RELATED DOCUMENTS

The related documents indicated in this publication may include preliminary versions. However, preliminary
versions are not marked as such.

Device related documents

Document Number
Document Name
Japanese English

µPD754302, 754304 Data Sheet U10797J This document

µPD75P4308 Data Sheet U10909J U10909E

µPD754304 User’s Manual U10123J U10123E

µPD754304 Instruction Table IEM-5605 —

75XL Series Selection Guide U10453J U10453E

Development tool related documents

Document Number
Document Name
Japanese English

Hardware IE-75000-R/IE-75001-R User's Manual EEU-846 EEU-1416

IE-75300-R-EM User's Manual U11354J EEU-1493

EP-754304GS-R User's Manual U10677J U10677E

PG-1500 User's Manual EEU-651 EEU-1335

Software RA75X Assembler Package User's Manual Operation EEU-731 EEU-1346

Language EEU-730 EEU-1363

PG-1500 Controller User's Manual PC-9800 series EEU-704 EEU-1291


(MS-DOS) base

PC-9800 series EEU-5008 U10540E


(PC DOS) base

Other related documents

Document Number
Document Name
Japanese English

IC Package Manual C10943X

Semiconductor Device Mounting Technology Manual C10535J C10535E

Quality Grades on NEC Semiconductor Devices C11531J IEI-1209

NEC Semiconductor Device Reliability/Quality Control System C10983J C10983E

Static Electricity Discharge (ESD) Test MEM-539 –

Guide to Quality Assurance for Semiconductor Devices MEI-603 MEI-1202

Microcomputer Related Product Guide - Other Manufacturers MEI-604 –

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)

NOTES FOR CMOS DEVICES

1 PRECAUTION AGAINST ESD FOR SEMICONDUCTORS

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.

2 HANDLING OF UNUSED INPUT PINS FOR CMOS

Note: No connection for CMOS device inputs can be cause of malfunction. If no


connection is provided to the input pins, it is possible that an internal input
level may be generated due to noise, etc., hence causing malfunction. CMOS
device behave differently than Bipolar or NMOS devices. Input levels of
CMOS devices must be fixed high or low by using a pull-up or pull-down
circuitry. Each unused pin should be connected to VDD or GND with a
resistor, if it is considered to have a possibility of being an output pin. All
handling related to the unused pins must be judged device by device and
related specifications governing the devices.

3 STATUS BEFORE INITIALIZATION OF MOS DEVICES

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

• Product release schedule

• Availability of related technical literature

• 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)

MS-DOS is a trademark of Microsoft Corporation.


IBM DOS, PC/AT, and PC DOS are trademarks of IBM Corporation.

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

Datasheets for electronic components.

You might also like