UPD7564ACSA [NEC]

4-BIT SINGLE-CHIP MICROCOMPUTER; 4位单片机
UPD7564ACSA
型号: UPD7564ACSA
厂家: NEC    NEC
描述:

4-BIT SINGLE-CHIP MICROCOMPUTER
4位单片机

计算机
文件: 总56页 (文件大小:431K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
DATA SHEET  
MOS INTEGRATED CIRCUIT  
µPD7564A, 7564A(A)  
4-BIT SINGLE-CHIP MICROCOMPUTER  
DESCRIPTION  
The µPD7564A is a 4-bit single-chip microcomputer with a small number of ports in a small package, which is  
of low-order models, µPD7554 and 7564 sub-series in the µPD7500 series. With an on-chip serial interface, it per-  
forms efficient dispersion processing of a system as a sub-CPU for the 75X series or 78k series.  
The µPD7564A has outputs to directly drive a triac and LEDs and allows selection among many types of input/  
output circuits using their respective mask options, sharply reducing the number of external circuits required.  
Details of functions are described in the User’s Manual shown below. Be sure to read in design.  
µPD7554, 7564 User’s Manual: IEM-1111D  
8-bit serial interface  
FEATURES  
Standby (STOP/HALT) function  
Low supply voltage data retaining function for data  
memory  
47 types of instructions  
(Subset of µPD7500H SET B)  
Instruction cycle  
Ceramic oscillation : 2.86 µs  
Built-in ceramic oscillator for system clock  
Low power dissipation  
(in operation at 700 kHz, 5 V)  
Program memory (ROM) capacity: 1024 × 8 bits  
Data memory (RAM) capacity: 64 × 4 bits  
Test source: One external source and two internal  
sources  
Single power supply (2.7 to 6.0 V)  
PIN CONFIGURATION (TOP VIEW)  
8-bit timer/event counter  
P00/INT0  
P01/SCK  
P02/SO  
P03/SI  
P80  
VSS  
15 I/O lines (Total output current of all pins: 100 mA)  
• Can directly drive a triac and a LED: P80 to P82  
• Can directly drive LEDs: P100 to P103 and P110 to  
P113  
1
2
3
4
5
6
7
8
9
10  
20  
19  
18  
17  
16  
15  
14  
13  
12  
11  
P113  
P112  
P111  
P110  
P103  
P102  
P101  
P100  
RESET  
µ
• Mask option function provided for every port  
P81  
P82  
APPLICATIONS  
µPD7564A  
CL2  
: PPCs,printers,VCRs,audioequipments,  
etc.  
CL1  
VDD  
µPD7564A(A) : Automotive and transportation equip-  
ments, etc.  
The quality grade and absolute maximum ratings of the µPD7564A and the µPD7564A(A) differ.  
Except where specifically noted, explanations here concern the µPD7564A as a representative product.  
If you are using the µPD7564A(A), use the information presented here after the checking the func-  
tional differences.  
The information in this document is subject to change without notice.  
The mark shows major revised points.  
Document No. IC-2401C  
(O. D. No. IC-7834C)  
Date Published December 1994 P  
Printed in Japan  
1994  
©
µPD7564A, 7564A(A)  
ORDERING INFORMATION  
Ordering Code  
Package  
Quality Grade  
µPD7564ACS-×××  
µPD7564AG-×××  
20-pin plastic shrink DIP (300 mil)  
20-pin plastic SOP (300 mil)  
Standard  
Standard  
Special  
µPD7564ACS(A)-×××  
µPD7564AG(A)-×××  
20-pin plastic shrink DIP (300 mil)  
20-pin plastic SOP (300 mil)  
Special  
Caution  
Be sure to specify a mask option when ordering this device.  
Remarks "×××" is a ROM code number.  
Please refer to “Quality grade on NEC Semiconductor Devices” (Document number IEI-1209) published by  
NEC Corporation to know the specification of quality grade on the devices and its recommended applications.  
2
P01/SCK P03/SI  
P02/SO  
INT0  
µ
CP  
P00/INT0  
CLOCK  
TIMER/EVENT  
COUNTER  
TEST  
CONTROL  
SERIAL  
INTERFACE  
CONTROL  
CL  
PORT0  
BUFFER  
4
3
4
4
P00–P03  
PROGRAM COUNTER (10)  
C
A (4)  
ALU  
GENERAL REGISTERS  
H (2) L (4)  
PORT8  
LATCH  
BUFFER  
P80–P82  
PROGRAM MEMORY  
INSTRUCTION  
DECODER  
STACK POINTER (6)  
1024 × 8 BITS  
PORT10  
LATCH  
BUFFER  
P100–P103  
P110–P113  
CL  
φ
DATA MEMORY  
µ
SYSTEM  
CLOCK  
GENERATOR  
PORT11  
LATCH  
64 × 4 BITS  
STANDBY  
CONTROL  
BUFFER  
CL1 CL2  
V
DD  
V
SS  
RESET  
µPD7564A, 7564A(A)  
CONTENTS  
1. PIN FUNCTIONS ......................................................................................................................................... 6  
1.1 PORT FUNCTIONS ............................................................................................................................................... 6  
1.2 OTHER THAN PORTS .......................................................................................................................................... 6  
1.3 PIN MASK OPTION .............................................................................................................................................. 7  
1.4 CAUTION ON USE OF P00/INT0 PIN AND RESET PIN ................................................................................... 7  
1.5 PIN INPUT/OUTPUT CIRCUITS .......................................................................................................................... 8  
1.6 RECOMMENDED CONNECTION OF UNUSED µPD7564A PINS .................................................................. 11  
1.7 OPERATION OF INPUT/OUTPUT PORTS ....................................................................................................... 11  
2. INTERNAL BLOCK FUNCTIONS ............................................................................................................ 13  
2.1 PROGRAM COUNTER (PC): 10 BITS................................................................................................................ 13  
2.2 STACK POINTER (SP): 6 BITS .......................................................................................................................... 14  
2.3 PROGRAM MEMORY (ROM): 1024 WORDS × 8 BITS ................................................................................... 15  
2.4 GENERAL REGISTER ......................................................................................................................................... 15  
2.5 DATA MEMORY (RAM): 64 × 4 BITS ............................................................................................................... 16  
2.6 ACCUMULATOR (A): 4 BITS ............................................................................................................................. 17  
2.7 ARITHMETIC LOGIC UNIT (ALU): 4 BITS ........................................................................................................ 17  
2.8 PROGRAM STATUS WORD (PSW): 4 BITS .................................................................................................... 17  
2.9 SYSTEM CLOCK GENERATOR ......................................................................................................................... 18  
2.10 CLOCK CONTROL CIRCUIT ............................................................................................................................... 19  
2.11 TIMER/EVENT COUNTER ................................................................................................................................. 20  
2.12 SERIAL INTERFACE ........................................................................................................................................... 21  
2.13 TEST CONTROL CIRCUIT .................................................................................................................................. 23  
3. STANDBY FUNCTIONS ........................................................................................................................... 25  
3.1 STOP MODE........................................................................................................................................................ 25  
3.2 CANCELLING THE HALT MODE ....................................................................................................................... 25  
3.3 CANCELLING STOP MODE BY RESET INPUT................................................................................................ 26  
3.4 CANCELLING HALT MODE BY TEST REQUEST FLAG ................................................................................. 26  
3.5 CANCELLING HALT MODE BY RESET INPUT ................................................................................................ 26  
4. RESET FUNCTIONS ................................................................................................................................. 27  
4.1 DETAILS OF INITIALIZATION ........................................................................................................................... 27  
5. µPD7564A INSTRUCTION SET............................................................................................................... 28  
6. ELECTRICAL SPECIFICATIONS .............................................................................................................. 33  
7. CHARACTERISTICS CURVES .................................................................................................................. 40  
8. µPD7564A APPLIED CIRCUITS............................................................................................................... 43  
9. PACKAGE INFORMATION ....................................................................................................................... 45  
4
µPD7564A, 7564A(A)  
10. RECOMMENDED PACKAGING PATTERN OF SOP (REFERENCE) ..................................................... 49  
11. RECOMMENDED SOLDERING CONDITIONS....................................................................................... 50  
APPENDIX A. COMPARISON BETWEEN SUB-SERIES PRODUCT FUNCTIONS..................................... 51  
APPENDIX B. DEVELOPMENT TOOLS ........................................................................................................ 52  
APPENDIX C. RELATED DOCUMENTS..........................................................................................................54  
5
µPD7564A, 7564A(A)  
1. PIN FUNCTIONS  
1.1 PORT FUNCTIONS  
Dual-Function  
Pin  
Input/Output  
After RESET  
Pin Name  
Input/Output  
Input  
Function  
Circuit  
P00  
P01  
P02  
P03  
INT0  
SCK  
SO  
S
4-bit input port (Port 0)  
X
Input/output  
Input  
P00 serves also as a count clock (event pulse)  
input.  
W
S
Input  
SI  
3-bit output port (Port 8)  
High current (15 mA), middle-high voltage (9 V)  
output  
High  
O
P80 to P82  
Output  
––  
––  
impedance  
4-bit I/O port (Port 10)  
High  
P100 to P103 Input/output  
P110 to P113 Input/output  
Middle-high current (10 mA), middle-high voltage  
(9 V) input/output  
impedance  
P
or  
4-bit I/O port (Port 11)  
high-level  
output  
––  
Middle-high current (10 mA), middle-high voltage  
(9 V) input/output  
1.2 OTHER THAN PORTS  
Dual-Function  
Pin  
Input/Output  
Circuit  
Pin Name  
Input/Output  
Function  
After RESET  
INT0  
SCK  
SO  
Input  
Input/output  
Output  
P00  
P01  
P02  
P03  
Edge detection testable input pin (Rising edge)  
Serial clock Input/output pin  
Serial data output pin  
S
X
Input  
Input  
Input  
W
S
SI  
Input  
Serial data input pin  
CL1  
CL2  
Connection pin for ceramic oscillation ceramic  
resonator  
––  
System reset input pin (high-level active)  
A pull-down resistor can be incorporated using  
the mask option.  
RESET  
R
VDD  
Positive power supply pin  
GND potential pin  
VSS  
6
µPD7564A, 7564A(A)  
1.3 PIN MASK OPTION  
Each pin is provided with the following mask options which can be selected for each bit according to the purpose:  
Pin Name  
Mask Options  
P00  
P01  
P02  
P03  
P80  
P81  
P82  
P100  
No internally provided resistor Pull-down resistor internally provided Pull-up resistor internally provided  
No internally provided resistor Pull-down resistor internally provided Pull-up resistor internally provided  
No internally provided resistor Pull-down resistor internally provided Pull-up resistor internally provided  
No internally provided resistor Pull-down resistor internally provided Pull-up resistor internally provided  
N-ch open-drain output  
N-ch open-drain output  
N-ch open-drain output  
CMOS (push-pull) output  
CMOS (push-pull) output  
CMOS (push-pull) output  
N-ch open-drain input/output Push-pull input/output  
N-ch open-drain + pull-up resistor built-in input/output  
P101  
P102  
P103  
P110  
P111  
P112  
P113  
RESET  
N-ch open-drain input/output Push-pull input/output  
N-ch open-drain + pull-up resistor built-in input/output  
N-ch open-drain input/output Push-pull input/output  
N-ch open-drain + pull-up resistor built-in input/output  
N-ch open-drain input/output Push-pull input/output  
N-ch open-drain + pull-up resistor built-in input/output  
N-ch open-drain input/output Push-pull input/output  
N-ch open-drain + pull-up resistor built-in input/output  
N-ch open-drain input/output Push-pull input/output  
N-ch open-drain + pull-up resistor built-in input/output  
N-ch open-drain input/output Push-pull input/output  
N-ch open-drain + pull-up resistor built-in input/output  
N-ch open-drain input/output Push-pull input/output  
N-ch open-drain + pull-up resistor built-in input/output  
Incorporating no pull-down resistor  
Incorporating a pull-down resistor  
There is no mask option for PROM products. For more information, see the µPD75P64 Data Sheet (IC-2838).  
1.4 CAUTION ON USE OF P00/INT0 PIN AND RESET PIN  
In addition to the functions shown in 1.1, 1.2 and 1.3, the P00/INT0 pin and RESET pin have a function for setting  
the test mode in which the internal operation of the µPD7564A is tested (IC test only).  
When a potential greater than VSS is applied to either of these pins, the test mode is set. As a result, if noise  
exceeding VSS is applied during normal operation, the test mode will be entered and normal operation may be  
impeded.  
If, for example, the routing of the wiring between the P00/INT0 pin and RESET pin is long, the above problem  
may occur as the result of inter-wiring noise between these pins.  
Therefore, wiring should be carried out so as to suppress inter-wiring noise as far as possible. If it is not possible  
to suppress noise, anti-noise measures should be taken using external parts as shown in the figures below.  
• Connection of diode with small VF between P00/  
INT4/RESET pin and VSS  
• Connection of capacitor between P00/INT0/  
RESET pin and VSS  
V
DD  
V
DD  
V
DD  
V
DD  
P00/INT0, RESET  
P00/INT0, RESET  
Diode  
with  
Small V  
F
V
SS  
V
SS  
7
µPD7564A, 7564A(A)  
1.5 PIN INPUT/OUTPUT CIRCUITS  
This section presents the input/output circuit for each pin of the µPD7564A in a partly simplified format:  
(1) Type A (for Type W)  
VDD  
P–ch  
IN  
N–ch  
Forming an input buffer conformable to the CMOS specification  
(2) Type D (for Types W and X)  
VDD  
data  
P–ch  
OUT  
output  
disable  
N–ch  
Forming a push-pull output which becomes high impedance (with both P-ch and N-ch off) in response to  
RESET input  
8
µPD7564A, 7564A(A)  
(3) Type O  
VDD  
data  
P–ch  
Mask Option  
OUT  
N–ch (Middle-High Voltage,  
High-Current)  
output  
disable  
(4) Type P  
VDD  
data  
P–ch  
Mask Option  
IN/OUT  
N–ch (Middle-High Voltage,  
High-Current)  
output  
disable  
Middle-High Input Buffer  
(5) Type R  
Mask Option  
9
µPD7564A, 7564A(A)  
(6) Type S  
VDD  
Mask Option  
IN  
(7) Type W  
data  
Type D  
IN/OUT  
VDD  
output  
disable  
Mask Option  
Type A  
(8) Type X  
data  
Type D  
IN/OUT  
VDD  
output  
disable  
Mask Option  
10  
µPD7564A, 7564A(A)  
1.6 RECOMMENDED CONNECTION OF UNUSED µPD7564A PINS  
Pin  
Recommended Connection  
Connect to VSS.  
P00/INT0  
P01 to P03  
P80 to P82  
P100 to P103  
P110 to P113  
Connect to VSS or VDD.  
Leave open.  
Input state : Connect to VSS or VDD.  
Output state: Leave open.  
1.7 OPERATION OF INPUT/OUTPUT PORTS  
(1) P00 to P03 (Port 0)  
The port 0 is a 4-bit input port consisting of 4-bit input pins P00 to P03. In addition to being used for port input,  
P00 serves as a count clock input or testable input (INT0), each of P01 to P03 serves as a serial interface input/output.  
To use P00 as a count clock input, set bits 2 (CM2) and 1 (CM1) of the clock mode register to 01. (See 2.10 “CLOCK  
CONTROL CIRCUIT” for details.)  
To use P00 as a INT0, set bit 3 (SM3) of the shift mode register to 1.  
The serial interface function to use P01 to P03 as a serial interface I/O port is determined by bits 2 and 1 (SM2  
and SM1) of the shift mode register. See 2.12 “SERIAL INTERFACE” for details.  
Even though this port operates using any function other than the port function, execution of the port input  
instruction (IPL) permits loading data on the P00 to P03 line to the accumulator (A0 to A3) at any time.  
(2) P80 to P83 (Port 8)  
The port 8 is a 4-bit output port with an output latch, which consists of 4-bit output pin.  
The port output instruction (OPL) latches the content of the accumulator (A0 to A3) to the output latch and outputs  
it to pins P80 to P83.  
The SPBL and RPBL instructions allow bit-by-bit setting and resetting of pins P80 to P82.  
For these ports, mask options for the output format are available to select CMOS (push-pull) output or N-ch open-  
drain output.  
The port specified as a N-ch open-drain output and provides an efficient interface to the circuit operating at a  
different supply voltage because the output buffer has a dielectric strength of 9 V.  
11  
µPD7564A, 7564A(A)  
(3) P100 to P103 (Port 10) and P110 to P113 (Port 11): Quasi-bidirectional input/output  
P100 to P103 are 4-bit I/O pins which form the port 10 (4-bit I/O port with an output latch). P110 to P113 are 4-  
bit I/O pins which form the port 11 (4-bit I/O port with an output latch).  
The port output instruction (OPL) latches the content of the accumulator to the output latch and outputs it to the  
4-bit pins.  
The data written once in the output latch and the output buffer state are retained until the output instruction to  
operate the port 10 or 11 is executed or the RESET signal is input. Even though an input instruction is executed for  
the port 10 or 11, the states of both the output latch and output buffer do not change.  
The SPBL and RPBL instructions allow bit-by-bit setting and resetting of pins P100 to P103 and P110 to P113.  
The input/output format of each of the ports 10 and 11 can be selected from among the N-ch open-drain input/  
output, N-ch open-drain + pull-up resistor built-in input/output, and CMOS (push-pull) input/output by their  
respective mask options.  
When the CMOS (push-pull) input/output is selected, the port cannot return to the input mode once the output  
instruction is executed. However, the states of the pins of the port can be checked by reading via the port input  
instruction (IPL).  
When one of the other two formats is selected, the port can enter the input mode to load the data on the 4-bit  
line to the accumulator (as a quasi-bidirectional port) when the port receives high level output. Select each type of  
the input/output format to meet the use of the port:  
CMOS input/output  
i) Uses all 4 bits of the port as input ports.  
ii) Uses pins of the port as output pins not requiring middle withstand voltage output.  
N-ch open-drain input/output  
i) Uses pins of the port as I/O pins requiring a middle withstand voltage dielectric strength.  
ii) Uses input pins of the port which also has output pins.  
iii) Uses each pin of the port for both input and output by switching them over.  
N-ch open-drain + pull-up resistor built-in input/output  
i) Uses input pins of the port which also has output pins, that require a pull-up resistor.  
ii) Uses each pin of the port for both input and output by switching them over. This requires a pull-up resistor.  
Caution  
Before using input pins in the case of or , write 1 in the output latch to turn the N-ch transistor  
off.  
12  
µPD7564A, 7564A(A)  
2. INTERNAL BLOCK FUNCTIONS  
2.1 PROGRAM COUNTER (PC): 10 BITS  
The program counter is a 10-bit binaryc ounter to retain program memory (ROM) address information.  
Fig. 2-1 Program Counter Configuration  
PC9  
PC8  
PC7  
PC6  
PC5  
PC4  
PC3  
PC2  
PC1  
PC0  
PC  
When one instruction is executed, usually the program counter is incremented by the number of bytes of the  
instruction.  
When the call instruction is executed, the PC is loaded with a nkew call address after the stack memory saves  
the current contents (return address) of the PC. When the return instruction is executed, the content (return address)  
of the stack memory is loaded onto the PC. When the jump instruction is executed, the immediate data identifying  
the destination of the jump is loaded to all or some of bits of the PC.  
When a skip occurs, the PC is incremented by 2 or 3 during the machine cycle depending on the number of bytes  
in the next instruction.  
When the RESET signal is input, all the bits of the PC are cleared to zero.  
13  
µPD7564A, 7564A(A)  
2.2 STACK POINTER (SP): 6 BITS  
The stack pointer is a 6-bit register which retains head address information of the stack memory (LIFO type) which  
is a part of the data memory.  
Fig. 2-2 Stack Pointer Configuration  
SP5  
SP4  
SP3  
SP2  
SP1  
SP0  
SP  
The stack pointer is decremented when the call instruction is executed. It is incremented when the return  
instruction is executed.  
To determine the stack area, initialize the SP using the TAMSP instruction. Note that bit SP0 is loaded with 0  
unconditionally when the TAMSP instruction is executed. Set the SP to the value of “the highest address of the stack  
area + 1” because the stack operation starts with decrementation of the SP.  
When the highest address of the stack area is 3FH which is the highest address of the data memory, the initial  
value of SP5-0 must be 00H. For emulation using the µPD7500H (EVAKIT-7500B), set the data to be used for AM  
when executing the TAMSP instruction.  
Fig. 2-3 In Execution of TAMSP Instruction  
A3  
A2  
A1  
A0  
(HL)  
3
(HL)  
2
(HL)  
1
(HL)  
0
0
SP5  
SP4  
SP3  
SP2  
SP1  
SP0  
Note that the contents of the SP cannot be read.  
Caution  
Be sure to set the SP at the initial stage of the program execution because the SP becomes undefined  
when the RESET signal is input.  
Example LHLI  
00H  
0
LAI  
ST  
LAI  
4
TAMSP  
;SP = 40H  
14  
µPD7564A, 7564A(A)  
2.3 PROGRAM MEMORY (ROM): 1024 WORDS × 8 BITS  
The program memory is a mask programmable ROM of 1024 word × 8 bits configuration. It is addressed by the  
program counter.  
The program memory stores programs.  
Address 000H is the reset start address.  
Fig. 2-4 Program Memory Map  
(0) 000H  
Reset Start  
(1023) 3FFH  
2.4 GENERAL REGISTER  
General registers H (with two bits) and L (with four bits) operate individually. They also form a pair register HL  
(H: high order and L: low order) to serve as a data pointer for addressing the data memory.  
Fig. 2-5 General Register Configuration  
1
0
3
0
H
L
The L register is also used to specify I/O ports and the mode register when an input/output instruction (IPL or  
OPL) is executed. It also used to specify the bits of a port when the SPBL or RPBL instruction is executed.  
15  
µPD7564A, 7564A(A)  
2.5 DATA MEMORY (RAM): 64 × 4 BITS  
The data memory is a static RAM of 64 word × 4 bits configuration. It is used as the area to store or stack processed  
data. The data memory may be processed in 8-bit units when paired with the accumulator.  
Fig. 2-6 Data Memory Map  
( 0 ) 00H  
64 Words × 4 Bits  
(63) 3FH  
The data memory is addressed in the following three ways:  
• Direct: Direct addressing based on immediate data of an instruction  
• Register indirect: Indirect addressing according to the contents of the pair register HL (including automatic  
incrementation and decrementation)  
• Stack: Indirect addressing according to the contents of the stack pointer (SP)  
An arbitrary space of the data memory is available as stack memory. The boundary of the stack area is specified  
when the TAMSP instruction initializes the SP. After that, the stack area is accessed automatically by the call or return  
instruction.  
After the call instruction is executed, the content of the PC and PSW is stored in the order shown in the following  
diagram:  
Stack Area  
3
0
0
SP – 4  
SP – 3  
SP – 2  
SP – 1  
0
PC9  
PSW*  
PC8  
PC3 – PC0  
PC7 – PC4  
* Bit 1 is fixed at 0.  
When the return instruction is executed, the content of the PSW is not restored while those of the PC are restored.  
Data in the data memory is retained at a low supply voltage in the STOP mode.  
16  
µPD7564A, 7564A(A)  
2.6 ACCUMULATOR (A): 4 BITS  
The accumulator is a 4-bit register which plays a major role in many types of arithmetic operations. The  
accumulator may be processed in 8-bit units when paired with the data memory addressed by the pair register HL.  
Fig. 2-7 Accumulator Configuration  
A3  
A2  
A1  
A0  
A
2.7 ARITHMETIC LOGIC UNIT (ALU): 4 BITS  
The arithmetic logic unit is a 4-bit arithmetic circuit to perform arithmetic and bit processing such as binary  
addition, logical operation, incrementation, decrementation, and comparison.  
2.8 PROGRAM STATUS WORD (PSW): 4 BITS  
The program status word consists of skip flags (SK1 and SK0) and a carry flag (C). Bit 1 of the PSW is fixed at 0.  
Fig. 2-8 Program Status Word Configuration  
3
2
1
0
0
SK1  
SK0  
C
PSW  
(1) Skip flags (SK1 and SK0)  
Skip flags store the following skip status:  
• Stacking by the LAI instruction  
• Stacking by the LHLI instruction  
• Skip condition establishment by any instruction other than stack instructions  
The skip flags are set and reset automatically when respective instructions are executed.  
(2) Carry flag (C)  
The carry flag is set to 1 when a carry from bit 3 of the ALU occurs when the add instruction (ACSC) is executed.  
The flag is reset to 0 when the carry does not occur. The SC and RC instructions respectively set and reset the carry  
flag. The SKC instruction tests the contents of the flag.  
The content of the PSW are automatically stored in the stack area when the call instruction is executed. It cannot  
be restored by the return inhstruction.  
When the RESET signal is input, SK1 and SK0 are both cleared to zero and C becomes undefined.  
17  
µPD7564A, 7564A(A)  
2.9 SYSTEM CLOCK GENERATOR  
The system clock generator contains an ceramic oscillator, 1/2 divider, and standby (STOP/HALT) mode control  
circuit.  
Fig. 2-9 System Clock Generator  
STOP F/F  
Q
S
R
STOP*  
HALT F/F  
Oscillator  
Stop  
HALT*  
Q
S
R
RESET (High)  
CL1  
CL2  
Ceramic  
Oscillator  
HALT RELEASE  
RESET (  
RESET (  
)
)
φ (To CPU)  
1/2  
CL (System Clock)  
* Instruction execution  
The ceramic oscillator oscillates with a ceramic resonator R connected to pins CL1 and CL2.  
The ceramic oscillator outputs the system clock (CL) which is 1/2 divided to the CPU clock (φ).  
The control circuit in the standby mode consists mainly of STOP F/F and HALT F/F.  
The STOP F/F is set by the STOP instruction to stop ceramic oscillation, blocking every clock from being supplied  
(STOP mode). The STOP F/F is reset by the RESET input (high level) to restart ceramic oscillation. When the RESET  
input returns to the low level after that, the oscillator once more supplys each clock.  
The HALT F/F is set by the HALT instruction to disable the input to the 1/2 divider which generates the CPU clock  
φ, stopping only the CPU clock φ (HALT mode).  
The HALT F/F is reset at the fall of the HALT RELEASE signal (which goes active when even one test request flag  
is set) or the RESET input signal, causing the oscillator to start supplying the CPU clock φ.  
The HALT F/F remains on for the same function of the HALT mode even while the RESET input is active (high).  
When a power-on reset occurs, ceramic oscillation starts at rise of the RESET input signal. However, it takes a  
certain time for the oscillation output level to be stabilized after the start of oscillation. To prevent the CPU from  
malfunctioning by unstable clock pulses, the standby mode control circuit sets the HALT F/F while the RESET input  
remains high to suppress the CPU clock φ. Thus the high-level duration of the RESET input must be set so that it  
exceeds the stabilizing time required for the ceramic resonator to be used.  
18  
µPD7564A, 7564A(A)  
2.10 CLOCK CONTROL CIRCUIT  
The clock control circuit consists of 2-bit clock mode registers (CM2 and CM1), prescalers 1, 2 and 3, and a  
multiplexer. The circuit inputs the system clock generator output (CL) and the event pulse (P00). It also selects a  
clock source and a prescaler according to the specifications of clock mode register and supplies a count pulse (CP)  
to the timer/event counter.  
Fig. 2-10 Clock Control Circuit  
Internal Bus  
OPL*  
CM2 CM1  
PRESCALER 1  
(1/4)  
PRESCALER 2  
(1/8)  
PRESCALER 3  
(1/8)  
CL  
P00  
CP  
* Instruction execution  
Use the OPL instruction to set codes in the clock mode registers.  
Fig. 2-11 Clock Mode Register Format  
CM2 CM1  
Clock Mode Register  
CM2 CM1 Count Pulse Frequency (CP)  
1
256  
0
0
1
1
0
1
0
1
CL ×  
P00  
1
32  
CL ×  
CL ×  
1
4
Caution  
When setting codes in the clock mode registers using the OPL instruction, be sure to set bit 0 of the  
accumulator to 0. (Bit 0 corresponds to CM0 of the µPD7500 of EVAKIT-7500B in emulation.)  
19  
µPD7564A, 7564A(A)  
2.11 TIMER/EVENT COUNTER  
The timer/event counter is based on an 8-bit count register as shown in Fig. 2-12.  
Fig. 2-12 Timer/Event Counter  
Internal Bus  
8
*TCNTAM  
Count  
Holding  
Circuit  
8-BIT COUNT REG  
CLR  
CP  
INTT  
(To Test Control Circuit)  
*TIMER  
RESET  
* Instruction execution  
The 8-bit count register is a binary 8-bit up-counter which is incremented whenever a count pulse (CP) is input.  
The register is cleared to 00H when the TIMER instruction is executed, RESET signal is input, or an overflow occurs  
(FFH to 00H).  
As the count pulse, the clock mode register can select one of the following four. See 2.10 “CLOCK CONTROL  
CIRCUIT”.  
1
1
1
CP : CL × ––, CL × –––, CL × ––––, P00  
32 256  
4
The count register continues to be incremented as long as count pulses are input. The TIMER instruction clears  
the count register to 00H and triggers the timer operation.  
The count register is incremented in synchronization with the CP (or the rise of the P00 input when an external  
clock is used). On the count reaches 256, the register returns the count value to 00H from FFH, generates the overflow  
signal INTT, and sets the INTT test flag INTT RQF.  
In this way, the count register counts over from 00H.  
To recognize the overflow, test the flag INTT RQF using the SKI instruction.  
When the timer/event counter serves as a timer, the reference tiome is determined by the CP frequency. The  
precision is determined by the system clock oscillator frequency when the system clock system is selected and by  
the P00 input frequency when the P00 input is selected.  
The content of the count register can be read at any time by the TCNTAM instruction. This function allows  
checking the current time of the timer and counting event pulses input to the P00 input. This enables the number  
of even pulses that have been generated so far (event counter function).  
The count holding circuit ignores the change of the count pulse (CP) during execution of the TCNTAM instruction.  
This is to prevent reading undefined data in the count register using the TCNTAM instruction while the counter is  
being updated.  
Since the timer/event counter operates the system clock system (CL) or the P00 input for count pulses, it is used  
to cancel the HALT mode which stops the CPU clock φ as well as the STOP mode which stops the system clock CL.  
(See 3. “STANDBY FUNCTIONS”.)  
20  
µPD7564A, 7564A(A)  
2.12 SERIAL INTERFACE  
The serial interface consists of an 8-bit shift register, 3-bit shift mode register, and 3-bit counter. It is used for  
input/output of serial data.  
Fig. 2-13 Serial Interface Block Diagram  
Internal Bus  
8
*IPL  
*TSIOAM  
TAMSIO*  
OPL*  
4
8
P03/SI  
SHIFT MODE REG  
8–BIT SHIFT REG  
LSB  
MSB  
P02/SO  
SM3  
3–BIT CNT  
P01/SCK  
φ
R
INTS  
SIO*  
P00/INT0  
INT0  
RS F/F  
Q
S
*
Instruction execution  
Remarks 1. φ indicates the internal clock signal (system clock).  
2. SM3 and INT0 go to the test control circuit.  
Input/output of serial data is controlled by the serial clock. The highest bit (bit 7) of the shift register is output  
from the SO line at rise of the serial clock (SCK pin signal). At its fall, the contents of the shift register is shifted by  
one bit (bit n bit n+1) and data on the SI line is loaded to the lowest bit (bit 0) of the shift register.  
The 3-bit counter (octal counter) counts serial clock pulses. Wthenever it counts eight clock pulses (on completion  
of 1-byte serial data transfer), the counter generates an internal test request signal INTS to set the test request flag  
(INT0/S RQF).  
Fig. 2-14 Shift Timing  
SCK  
SI  
INTS RQF  
Setting Timing  
DI  
MSB  
DO  
7
DI  
6
DI  
5
DI  
4
DI  
3
DI  
2
DI  
1
DI  
LSB  
DO  
0
SO  
7
DO  
6
DO  
5
DO  
4
DO  
3
DO  
2
DO  
1
0
Remarks 1. DI: Serial data input  
2. DO: Serial data output  
21  
µPD7564A, 7564A(A)  
The serial interface sets serial data for transmission in the shift register using the TAMSIO instruction and starts  
the transfer using the SIO instruction. To recognize the termination of one-byte transfer, check the test request flag  
INT0/S RQF using the corresponding instruction.  
The serial interface starts serial data reception, using the SIO instruction, checks the termination of one-byte  
transfer using the instruction, and then receives data from the shift register by executing the TSIOAM instruction.  
Two types of serial clock sources are available: one is the system clock φ and the other is the external clock (SCK  
input). They are selected respectively by bits 2 and 1 (SM2 and SM1) of the shift mode register.  
When the system clock φ is selected and the SIO instruction is executed, the clock pulse is supplied to the serial  
interface as a serial clock to control serial data input/output and is output from the SCK pin.  
When the system clock φ pulse is supplied eight times, the supply to the serial interface is automatically stopped  
and the SCK output remains high. Since serial data input/output stops automatically after transfer of one byte. The  
programmer does not need to control the serial clock. In this case, the transfer speed is determined by the system  
clock frequency.  
In this mode, it is possible to read receive data (by the TSIOAM instruction) and write data (by the TAMSIO  
instruction) from and to the shift register only by waiting for 6 machine cycles after execution of the SIO instrucction  
on the program without waiting until the INT0/S RQF is set.  
Fig. 2-15 TAMSIO/TSIOAM Instruction Execution Timing  
TAMSIO  
TSIOAM  
Instruction Execution  
Machine Cycle  
SIO  
Wait (6 Machine Cycle)  
SCK  
When the external clock (SCK input) is selected, the interface inputs serial clock pulses from the SCK input. When  
an external serial clock pulse is input eight times, the INT0/S RQF is set and the termination of one-byte transfer  
can be recognized. However, the eight serial clocks to be input must be counted on the side of the external clock  
source because serial clock disable control is not performed internally. The transfer speed is determined by the  
external serial clock within the range from DC to the maximum value limited by the standard.  
When the external clock is used, the SIO, TAMSIO, or TSIOAM instruction the execution must be executed while  
the serial clock pulse SCK is high. If such an instruction is executed while the SCK is rising or falling or is low, the  
function of the instruction is not guaranteed.  
22  
µPD7564A, 7564A(A)  
Fig. 2-16 Shift Mode Register Format  
SM3 SM2 SM1  
Shift Mode Register  
Settings for serial interface operation and the associated mode of the port 0  
SM2 SM1  
P03/SI  
P02/SO  
P01/SCK  
Port input  
Serial Operation  
0
0
1
1
0
1
0
1
Port input Port input  
Stop  
φ continuous output  
SCK input  
Operation based on external clock  
SI input  
SO output  
SCK output (φ × 8)  
Operation based on φ  
INT0/INTS selection  
SM3  
0
Test Sources  
INTS  
1
INT0  
Caution  
When setting a code in the shift mode register using the OPL instruction, be sure to set bit 0 of the  
accumulator to 0 (Bit 0 corresponds to CM0 of the µPD7500H of EVAKIT-7500B in emulation).  
In the system which does not require serial interface, the 8-bit shift register can be used as a simple register and  
data can be read or writtene by the TSIOAM or TAMSIO instruction when serial operation is off.  
2.13 TEST CONTROL CIRCUIT  
The µPD7564A is provided with the following three types of test sources (one external source and two internal  
sources):  
Test Sources  
Internal/External Request Flag  
INTT (Overflow from timer/event counter)  
INT0 (Test request signal from P00 pin)  
INTS (Transfer end signal from serial interface)  
Internal  
External  
Internal  
INTT RQF  
INT 0/S RQF  
The test control circuit checks consist mainly of test request flags (INTT RQF and INT0/S RQF) which are set by  
three different test sources and the test request flag control circuit which checks the content of test request flags  
using the SKI instruction and controls resetting the checked flags.  
The INT0 and INTS are common in the request flag. Which one is selected is determined by bit 3 (SM3) of the  
shift mode register.  
SM3  
0
Test Sources  
INTS  
1
INT0  
23  
µPD7564A, 7564A(A)  
The INTT RQF is set when a timer overflow occurs and is reset by the SKI or TIMER instruction.  
The INT0/S request flag functions in the following two ways according to the setting of the SM3:  
(1) SM3 = 0  
The INTS is validated. The request flag INT0/S RQF is set when the INTS signal to indicate the termination of 8-  
bit serial data transfer is issued. The flag is reset when the SKI or SIO instruction is executed.  
(2) SM3 = 1  
The IN0 is validated. The request flag INT0/S RQF is set when the leading edge signal enters the INT0/P00 pin.  
The flag is reset when the SKI instruction is executed.  
The OR output of each test request flag is used to cancel the HALT mode. If one or more request flags are set  
in the HALT mode, the standby mode is cancelled.  
The RESET signal cancels every request flag and the SM3. In the reset initial status, the INTS is selected and the  
INT0 input is disabled.  
Fig. 2-17 Test Control Circuit Block Diagram  
Internal Bus  
SKI*  
OPL*  
SM3  
TEST RQF  
CONTROL  
S
R
Q
Q
NONSYNC  
EDGE GATE  
INTT  
RQF  
INTT  
TIMER*  
HALT  
RELEASE  
INTS  
INT0  
NONSYNC  
EDGE GATE  
S
R
INT0/S  
RQF  
*SIO  
*
Instruction execution  
Remarks SM3 is bit 3 of the shift mode register.  
24  
µPD7564A, 7564A(A)  
3. STANDBY FUNCTIONS  
The µPD7564A provides two types of standby modes (STOP and HALT modes) to save power while the program  
is on standby. The STOP and HALT modes are set by the STOP and HALT instructions, respectively. The STOP mode  
stops every clock and the HALT mode stops only the CPU clockφ. The HALT mode halts program execution, however,  
it holds the contents of all the internal registers and data memory that have been stored.  
The serial interface and timer/event counter can operate even in the HALT mode.  
The STOP mode is cancelled only by RESET input. The HALT mode is cancelled when the test request flag (INTT  
RQF or INT0/S RQF) is set or by RESET input. Note that if even one test request flag is set, the device cannot enter  
either the STOP or HALT mode even though the STOP or HALT instruction is executed. Before setting the STOP  
or HALT mode at a point where a test request flag may be set, execute the SKI instruction to reset the test request  
flag.  
3.1 STOP MODE  
When the STOP instruction is executed, the device can enter the STOP mode at any time unless any request flag  
is set.  
In the STOP mode, the contents of the data memory are retained and the RESET input used to cancel the STOP  
mode is valid. In the STOP mode, however, any other functions are turned off to minimize power consumption.  
Caution  
In the STOP mode, the CL1 input is internally connected to VDD (high level) to prevent a leak in the  
ceramic oscillator.  
3.2 CANCELLING THE HALT MODE  
The HALT mode stops only the 1/2 divider in the system clock generator (allowing operation of the system clock  
CL and stopping the CPU clock φ). Therefore, the operations of the CPU requiring the φ signal and the serial interface  
using φ as a serial clock are stopped in the HALT mode.  
Since the HALT mode allows operation of the clock control circuit, the circuit inputs the CL signal from the clock  
generator and the event pulse from the (P00) pin to supply the count pulses (CP) for both subsystems selectively  
to the timer event counter. Thus, the timer event counter can operate depending on the both-system count pulses  
and continue counting time.  
The serial interface operates in this mode when the external clock (SCK input) is selected as a serial clock.  
25  
µPD7564A, 7564A(A)  
3.3 CANCELLING STOP MODE BY RESET INPUT  
When the RESET input goes high from low in the STOP mode, the standby mode returns to the HALT mode to  
start ceramic oscillation.  
When the RESET input returns to low, the HALT mode is cancelled and the CPU starts the program from address  
0 after normal reset operation. The STOP mode is cancelled in this way.  
Note that the content of the data memory is retained even during the cancelling operation, however, the content  
of the other registers becomes undefined on cancellation.  
Fig. 3-1 STOP Mode Cancel Timing  
STOP  
instruction  
RESET Input  
STOP Mode  
HALT Mode  
(Oscillation stabilizing time)  
Cancellation  
Normal Resetting Operation  
(Starting from address 0)  
Starting Clock Oscillation  
Caution  
The STOP mode does not result from setting the test request flag.  
3.4 CANCELLING HALT MODE BY TEST REQUEST FLAG  
When the test request flat (INTT RQF or INT0/S RQF) is set in the HALT mode, the mode is cancelled and the  
program stars executing the instruction that follows the HALT instruction.  
Cancellation of the HALT mode does not affect the content of any register or the data memory, that is retained  
in the mode.  
3.5 CANCELLING HALT MODE BY RESET INPUT  
RESET input cancels the HALT mode unconditionally.  
Fig. 3-2 shows the HALT mode unconditionally.  
Fig. 3-2 HALT mode cancel timing by RESET input  
RESET  
HALT Mode  
Cancellation  
Normal Resetting Operation  
(Starting from address 0)  
The HALT mode is maintained while the RESET input is being active (high). When the RESET input goes low, the  
HALT mode is cancelled and the CPU starts to execute the program from address 0 after a normal reset operation.  
Note that RESET input does not affect the content of the data memory that is retained in the HALT mode, however,  
the contents of the other registers become undefined on cancellation of the mode.  
26  
µPD7564A, 7564A(A)  
4. RESET FUNCTIONS  
The µPD7564A is reset and initialized when the RESET pin inputs a high or active RESET signal as follows:  
4.1 DETAILS OF INITIALIZATION  
(1) The program counter (PC9-PC0) is cleared to zero.  
(2) The skip flags (SK1 and SK0) in the program status word are reset to zero.  
(3) The count register in the timer-event counter is cleared to 00H.  
(4) The clock control circuit becomes as follows:  
• Clock mode registers (CM2 and CM1) = 0  
1
CP = CL × –––––  
256  
• Prescalers 1, 2, and 3 = 0  
(5) The shift mode register (SM3 to SM1) is cleared to zero.  
Shifting of the serial interface is stopped.  
The port 0 enters the input mode (high impedance).  
INT0/S, INTS is selected.  
(6) The test request flag (INTT RQF or INT0/S RQF) is reset to zero.  
(7) The contents of the data memory and the following registers become undefined:  
Stack pointer (SP)  
Accumulator (A)  
Carry flag (C)  
General registers (H and L)  
Output latch of each port  
(8) The output buffer of every port goes off and has high impedance. The I/O port enters the input mode.  
Caution  
When the STANDBY mode is cancelled by the RESET signal, the content of the data memory is retained  
without becoming undefined.  
When the RESET input is cancelled, the program is executed starting with address 000H. The content of each  
register shall either be initialized in the process of the program or reinitialized depending on conditions.  
27  
µPD7564A, 7564A(A)  
5. µPD7564A INSTRUCTION SET  
(1) Operand representation and description  
addr  
10-bit immediate data or label  
caddr  
10-bit immediate data or label  
caddr1  
100H to 107H, 140H to 147H, 180H to 187H,  
IC0H to IC7H immediate data or label  
mem  
6-bit immediate data or label  
n5  
n4  
n2  
5-bit immediate data or label  
4-bit immediate data or label  
2-bit immediate data or label  
bit  
pr  
2-bit immediate data or label  
HL-, HL+, HL  
(2) Mnemonics for operation descriptions  
A
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
Accumulator  
H
H register  
L
L register  
HL  
pr  
Pair register HL  
Pair register HL-, HL+, or HL  
Stack pointer  
SP  
PC  
C
Program counter  
Carry flag  
PSW  
SIO  
CT  
In  
Program status word  
Shift register  
Count register  
Immediate data to n5, n4 or n2  
Immediate data to addr, caddr, or caddr1  
Immediate data to bit  
Immediate data to mem  
Immediate data to pr  
Content addressed by ××  
Hexadecimal data  
Pn  
Bn  
Dn  
Rn  
(××)  
×H  
28  
µPD7564A, 7564A(A)  
(3) Port/mode register selection  
IPL Instruction  
L
0
Port  
Port 0  
Port 10  
Port 11  
AH  
BH  
OPL Instruction  
L
Port/mode register  
8
Port 8  
AH  
BH  
CH  
FH  
Port 10  
Port 11  
Clock mode register  
Shift mode register  
RPBL/SPBL Instruction  
L
FH  
3
EH  
2
DH  
1
CH  
0
BH  
3
AH  
2
9
1
8
0
2
2
1
1
0
0
Bit  
Port  
Port 11  
Port 10  
Port 8  
(4) Selection of pair register addressing  
pr  
R1  
0
R0  
0
HL–  
HL+  
HL  
0
1
1
0
29  
Mne-  
Ope-  
Operation Code  
Skip  
Operation  
Note  
monic  
rands  
B1  
B2  
Condition  
LAI  
LHI  
n4  
n2  
0
0
0
0
0
1
1
0
I3 I2 I1 I0  
An4  
Hn2  
Loads n4 to the accumulator.  
Loads n2 to H register.  
Stack LAI  
1
0
0
0
I1 I0  
Loads the contents of the memory  
address by pr to the accumulator.  
L = FH(HL –)  
L = 0 (HL +)  
LAM  
LHLI  
ST  
pr  
0
1
0
1
1
1
0
0
0
1
R1 R0  
A(pr) pr = HL –, HL +, HL  
H0I4, LI30  
n5  
I4 I3 I2 I1 I0  
Loads n5 to the pair register HL.  
Stack LHLI  
Stores the contents of the accumulator  
in the memory addressed by HL.  
1
0
1
0
1
1
1
(HL)A  
Stores n4 in the memory addressed by  
HL and increments the L register.  
STII  
XAL  
n4  
0
0
1
1
0
1
I3 I2 I1 I0  
(HL)n4, LL+1  
AL  
Exchanges the contents of the accumu-  
lator and the L register.  
1
0
0
1
1
1
Exchanges the contents of the accumu-  
lator and the memory addressed by pr.  
L = FH(HL–)  
L = 0 (HL+)  
XAM  
AISC  
ASC  
pr  
0
0
0
1
0
1
0
0
1
1
0
1
R1 R0  
A(pr) pr = HL – , HL + , HL  
AA + n4  
n4  
I3 I2 I1 I0  
Adds the accumulator to n4.  
Carry  
Adds the contents of the accumulator  
and the memory addressed by HL.  
1
1
0
1
AA + (HL)  
Carry  
Adds the contents of the accumulator,  
the memory addressed by HL, and of  
the carry flag.  
ACSC  
EXL  
0
0
1
1
1
1
1
1
1
1
0
0
A, CA + (HL) + C  
Carry  
Calculate the exclusive OR of the  
contents of the accumulator and the  
memory addressed by HL.  
1
1
1
0
AA (HL)  
––  
CMA  
RC  
0
0
0
0
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
0
0
1
0
0
0
1
0
1
1
AA  
Complements the accumulator.  
Resets the carry flag.  
C0  
SC  
C1  
Sets the carry flag.  
ILS  
LL + 1  
Increments the L register.  
L = 0  
µ
Increments the contents of the memory  
addressed by mem.  
IDRS  
DLS  
mem  
0
0
0
0
1
0
1
0
1
1
1
1
1
1
1
1
0
1
0
0
0
1
0
0
0
0
0
0
D5 D4 D3 D2 D1 D0 (mem)(mem) + 1  
LL – 1  
(mem) = 0  
L = FH  
Decrements the L register.  
Decrements the contents of the memory  
addressed by mem.  
DDRS  
mem  
bit  
D5 D4 D3 D2 D1 D0 (mem)(mem) – 1  
(mem) = FH  
Resets the bits specified by B1–0, of the  
memory addressed by HL.  
RMB  
SMB  
0
0
1
1
1
1
0
0
1
1
0
1
B1 B0  
B1 B0  
(HL)bit0  
(HL)bit1  
Sets the bits specified by B1–0, of the  
memory addressed by HL.  
bit  
Note Instruction Group  
Mne-  
Ope-  
Operation Code  
Skip  
Operation  
Note  
monic  
rands  
B1  
B2  
Condition  
JMP  
addr  
0
1
0
0
1
0
0
0
P9 P8 P7 P6 P5 P4 P3 P2 P1 P0  
PC9–0P9–0  
Jumps to the address specified by P9–0.  
Jumps to the address specified by  
replacing PC5–0 with P5–0.  
JCP  
addr  
P5 P4 P3 P2 P1 P0  
PC5–0P5–0  
(SP–1)(SP–2)(SP–4)PC9–0  
Saves the contents of PC and PSW to the  
stacxk memory, decrements SP by 4, and  
calls the address specified by caddr.  
CALL  
caddr  
0
0
1
1
0
0
P9 P8 P7 P6 P5 P4 P3 P2 P1 P0 (SP–3)PSW, SPSP – 4  
PC9–0P9–0  
(SP–1)(SP–2)(SP–4)PC9–0  
Saves the contents of PC and PSW to the  
stacxk memory, decrements SP by 4, and  
CAL  
RT  
caddr1  
1
0
0
1
1
1
1
0
0
P4 P3 P2 P1 P0  
(SP–3)PSW, SPSP – 4  
PC9–00 1 P4 P3 0 0 0 P2 P1 P0 calls the address specified by caddr1.  
PC9–0(SP)(SP+2)(SP+3)  
SPSP + 4  
Restores the contents of the stack  
1
1
0
1
0
0
1
1
1
1
memory to PC, and increments SP by 4.  
PC9–0(SP)(SP+2)(SP+3)  
SPSP + 4  
Restores the contents of the stack  
memory to PC, increments SP by 4,  
and causes unconditional skipping.  
Uncondition-  
ally  
RTS  
then skip unconditionally  
Transfers the two low-order bits of the  
accumulator to SP5–4 and the three high-  
order bits of the memory addressed by  
HL to SP3–1.  
PC5–4A1–0  
TAMSP  
SKC  
0
0
1
1
1
1
1
1
1
0
0
0
1
1
0
0
0
1
SP3–1(HL)3–1, SP00  
0
0
1
1
0
1
1
1
1
0
0
1
Skip if C = 1  
Causes skipping if the carry flag is 1.  
C = 1  
Causes skipping of the bit of the accumu-  
lator, which is specified by B1-0 is 1.  
SKABT bit  
B1 B0  
Skip if Abit = 1  
Abit = 1  
Causes skipping of the bit of the memory  
addressed by HL, which is specified by  
B1–0 is 1.  
SKMBT bit  
0
0
1
1
1
1
0
0
0
0
1
0
B1 B0  
Skip if (HL)bit = 1  
Skip if (HL)bit = 0  
(HL)bit = 1  
(HL)bit = 0  
Causes skipping of the bit of the memory  
addressed by HL, which is specified by  
B1–0 is 0.  
SKMBF bit  
SKAEM  
B1 B0  
µ
Causes skipping if the contents are the  
same between the accumulator and the  
memory addressed by HL.  
0
1
0
1
1
1
1
1
Skip if A = (HL)  
Skip if A = n4  
A = (HL)  
SKAEI  
SKI  
n4  
n2  
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
0
0
0
I3 I2 I1 I0  
I1 I0  
Skips if the accumulator is equal to n4.  
A = n4  
Skip if INT RQF = 1  
Then reset INT RQF  
Skips if INT RQF is 1, and then sets  
INT RQF to 0.  
0
0
INT RQF = 1  
Note Instruction Group  
Mne-  
Ope-  
Operation Code  
Skip  
Operation  
Note  
monic  
rands  
B1  
B2  
Condition  
Transfers the contents of the accumulator  
to the four high-order bits of the shift  
register and the contents of the memory  
addressed by HL to the four low-order bits.  
SIO7–4A  
TAMSIO  
TSIOAM  
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
0
1
1
0
0
SIO3–0(HL)  
Transfers the four high-order bits of the  
shift register to the accumulator and the  
four low-order bits to the memory  
addressed by HL.  
ASIO7–4  
1
(HL)SIO3–0  
SIO  
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
0
Start SIO  
Starts shifting.  
TIMER  
Start Timer  
Starts timer operation.  
Transfers the four high-order bits of  
the count register to the accumulator  
and the four low-order bits to the  
memory addressed by HL.  
ACT7–4  
TCNTAM  
0
0
1
1
1
1
1
1
0
0
1
1
1
0
1
1
(HL)CT3–0  
Loads the contents of the port specified  
by the L register to the accumulator.  
IPL  
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
APort (L)  
Outputs the contents of the accumu-  
lator to the port specified by the L  
OPL  
Port/Mode reg. (L)A  
register or the mode register.  
Resets the bits of ports 8, 10, and 11,  
that are specified by the L register.  
RPBL*  
SPBL*  
0
0
1
1
0
0
1
1
1
1
1
1
0
0
0
1
Port bit (L)0  
Sets the bits of ports 8, 10, and 11,  
that are specified by the L register.  
Port bit (L)1  
HALT  
STOP  
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
1
1
0
1
Set Halt Mode  
Set Stop Mode  
Sets the HALT mode.  
Sets the STOP mode.  
Performs no operation for one  
machine cycle.  
µ
NOP  
0
0
0
0
0
0
0
0
No operation  
*
SPBL and RPBL are bit-wise set/reset instructions. They perform output to each 4-bit port including the specified bits as well as set and reset operation  
(They output the contents of the output latch to bits other than the specified bits.). Before executing these instructions, intialize the contents of the output  
latch using the OPL instruction.  
Note Instruction Group  
µPD7564A, 7564A(A)  
6. ELECTRICAL SPECIFICATIONS  
µPD7564A: ABSOLUTE MAXIMUM RATINGS (Ta = 25°C)  
Parameter  
Symbol  
Test Conditions  
Rating  
–0.3 to +7.0  
–0.3 to VDD + 0.3  
–0.3 to VDD + 0.3  
–0.3 to +11  
–0.3 to VDD + 0.3  
–0.3 to VDD + 0.3  
–0.3 to +11  
–5  
Unit  
V
Supply voltage  
VDD  
Except ports 10 and 11  
Ports 10 and 11  
V
Input voltage  
VI  
*1  
*2  
V
V
Except ports 8, 10, 11  
Ports 8, 10 and 11  
V
Output voltage  
VO  
*1  
*2  
V
V
1 pin  
mA  
mA  
mA  
mA  
mA  
mA  
°C  
°C  
Output current high  
IOH  
All pins in total  
–15  
P01, P02  
Port 8  
5
1 pin  
30  
Output current low  
IOL  
Others  
15  
All pins in total  
100  
Operating temperature  
Storage temperature  
Topt  
–10 to +70  
–65 to +150  
480  
Tstg  
Shrink DIP  
Mini flat  
Power consumption  
Pd  
Ta = 70 °C  
mW  
250  
*
1. CMOS input/output or N-ch open-drain output + pull-up resistor built-in input/output  
2. N-ch open-drain input/output  
Caution  
Even if one of the parameters exceeds its absolute maximum rating even momentarily, the quality of  
the product may be degraded. The absolute maximum rating therefore specifies the upper or lower  
limit of the value at which the product can be used without physical damages. Be sure not to exceed  
or fall below this value when using the product.  
33  
µPD7564A, 7564A(A)  
µPD7564A(A): ABSOLUTE MAXIMUM RATINGS (Ta = 25°C)  
Parameter  
Symbol  
Test Conditions  
Rating  
–0.3 to +7.0  
–0.3 to VDD + 0.3  
–0.3 to VDD + 0.3  
–0.3 to +11  
–0.3 to VDD + 0.3  
–0.3 to VDD + 0.3  
–0.3 to +11  
–5  
Unit  
V
Supply voltage  
VDD  
Except ports 10 and 11  
Ports 10 and 11  
V
Input voltage  
VI  
*1  
*2  
V
V
Except ports 8, 10, 11  
Ports 8, 10 and 11  
V
Output voltage  
VO  
*1  
*2  
V
V
1 pin  
mA  
mA  
mA  
mA  
mA  
mA  
°C  
°C  
Output current high  
IOH  
All pins in total  
–15  
P01, P02  
Port 8  
5
1 pin  
30  
Output current low  
IOL  
Others  
15  
All pins in total  
100  
Operating temperature  
Storage temperature  
Topt  
Tstg  
–40 to +85  
–65 to +150  
350  
Shrink DIP  
Mini flat  
Power consumption  
Pd  
Ta = 85°C  
mW  
195  
*
1. CMOS input/output or N-ch open-drain output + pull-up resistor built-in input/output  
2. N-ch open-drain input/output  
Caution  
Even if one of the parameters exceeds its absolute maximum rating even momentarily, the quality of  
the product may be degraded. The absolute maximum rating therefore specifies the upper or lower  
limit of the value at which the product can be used without physical damages. Be sure not to exceed  
or fall below this value when using the product.  
CAPACITY (Ta = 25 °C, VDD = 0 V)  
Parameter  
Input capacity  
Output capacity  
Symbol  
CIN  
Test Conditions  
P00, P03  
MN.  
TYP.  
MAX.  
15  
Unit  
pF  
f = 1 MHz  
COUT  
Port 8  
35  
pF  
Unmeasured pins  
returned to 0 V.  
P01, P02  
15  
pF  
I/O capacity  
CIO  
Ports 10 and 11  
35  
pF  
34  
µPD7564A, 7564A(A)  
RESONATOR CHARACTERISTICS µPD7564A  
: Ta = –10 to +70°C, VDD = 2.7 to 6.0 V  
µPD7564A(A) : Ta = –40 to +85°C, VDD = 2.7 to 6.0 V  
Resonator  
External Circuit  
Parameter  
Test Conditions  
VDD = 4.5 to 6.0 V  
VDD = 4.0 to 6.0 V  
VDD = 3.5 to 6.0 V  
VDD = 2.7 to 6.0 V  
MIN.  
290  
290  
290  
290  
TYP.  
700  
500  
400  
300  
MAX.  
710  
Unit  
kHz  
kHz  
kHz  
kHz  
Oscillator  
frequency  
(fCC)  
510  
CL1  
CL2  
410  
Ceramic  
R2  
C2  
310  
resonator *  
Oscillation  
stabilization  
time (tOS)  
After reaching MIN.  
of operating voltage  
range  
C1  
20  
ms  
*
The following ceramic resonators are recommended.  
Operating Voltage  
Range [V]  
Recommended Constant  
Manufacturer  
Murata Mfg.  
Product Name  
C1 [pF]  
330  
220  
100  
100  
470  
330  
220  
220  
120  
100  
82  
C2 [pF]  
330  
220  
100  
100  
470  
330  
220  
220  
120  
100  
82  
R2 [k]  
6.8  
6.8  
6.8  
6.8  
0
MIN.  
MAX.  
6.0  
6.0  
6.0  
6.0  
6.0  
6.0  
6.0  
6.0  
6.0  
6.0  
6.0  
CSB300D  
CSB400P  
CSB500E  
CSB700A  
KBR-300B  
KBR-400B  
KBR-500B  
KBR-680B  
CRK-400  
CRK-500  
CRK-680  
2.7  
3.5  
4.0  
4.5  
2.7  
3.5  
4.0  
4.5  
3.5  
4.0  
4.5  
0
Kyocera  
Toko  
0
0
12  
12  
12  
Caution 1. Install the oscillation circuit as close to CL1 and CL2 pins as possible.  
2. Do not allow other signal lines to pass through the area enclosed by dotted lines.  
35  
µPD7564A, 7564A(A)  
DC CHARACTERISTICS µPD7564A  
: Ta = –10 to +70°C, VDD = 2.7 to 6.0 V  
µPD7564A(A) : Ta = –40 to +85°C, VDD = 2.7 to 6.0 V  
Parameter  
Input voltage high  
Input voltage low  
Symbol  
VIH1  
Test Conditions  
Except ports 10 and 11  
MIN.  
0.7VDD  
0.7VDD  
0
TYP.  
MAX.  
VDD  
Unit  
V
VIH2  
Ports 10 and 11 *1  
9
V
VIL  
0.3VDD  
V
VDD = 4.5 to 6.0 V  
IOH = –1 mA  
VDD – 2.0  
VDD – 1.0  
V
V
V
V
V
Output voltage high  
VOH  
IOH = –100 µA  
VDD = 4.5 to 6.0 V  
IOL = 1.6 mA  
0.4  
0.5  
0.4  
P01, P02  
IOL = 400 µA  
VDD = 4.5 to 6.0 V  
IOL = 1.6 mA  
Output voltage low  
VOL  
Ports 10 and 11  
VDD = 4.5 to 6.0 V  
IOL = 10 mA  
2.0  
0.5  
2.0  
V
V
V
IOL = 400 µA  
VDD = 4.5 to 6.0 V  
IOL = 15 mA  
Port 8  
IOL = 600 µA  
0.5  
3
V
ILIH1  
ILIH2  
ILIL  
VIN = VDD  
µA  
µA  
µA  
µA  
µA  
µA  
Input leak current high  
Input leak current low  
Output leak current high  
Output leak current low  
VIN = 9 V, ports 10 and 11 *1  
VIN = 0 V  
10  
–3  
3
ILOH1  
ILOH2  
ILOL  
VOUT = VDD  
VOUT = 9 V, ports 8, 10, and 11 *1  
VOUT = 0 V  
10  
–3  
Input pin built-in resistor  
(pull-up/down resistor)  
Port 0, RESET  
23.5  
7.5  
47  
70.5  
KΩ  
Output pin built-in resistor  
(pull-up resistor)  
Ports 10 and 11  
15  
22.5  
KΩ  
µA  
VDD = 5 V ± 10 %  
650  
2200  
fCC = 700 kHz  
Operating mode  
IDD1  
VDD = 3 V ± 10 %  
120  
450  
65  
360  
1500  
200  
µA  
µA  
µA  
fCC = 300 kHz  
VDD = 5 V ± 10 %  
Supply current *2  
fCC = 700 kHz  
HALT mode  
IDD2  
VDD = 3 V ± 10 %  
fCC = 300 kHz  
VDD = 5 V ± 10 %  
STOP mode  
0.1  
0.1  
10  
5
µA  
µA  
IDD3  
VDD = 3 V ± 10 %  
*
1. For N-ch open-drain input/output selection  
2. The current flowing in built-in pull-up and pull-down resistors is excluded.  
36  
µPD7564A, 7564A(A)  
AC CHARACTERISTICS µPD7564A  
: Ta = –10 to +70°C, VDD = 2.7 to 6.0 V  
µPD7564A(A) : Ta = –40 to +85°C, VDD = 2.7 to 6.0 V  
Parameter  
Symbol  
Test Conditions  
VDD = 4.5 to 6.0 V  
MIN.  
2.8  
6.4  
0
TYP.  
MAX.  
6.9  
Unit  
µs  
µs  
kHz  
kHz  
µs  
µs  
µs  
µs  
µs  
µs  
µs  
µs  
µs  
Internal clock cycle time  
tCY *  
6.9  
VDD = 4.5 to 6.0 V  
710  
350  
0.2  
P00 event input frequency  
P00 input rise/fall time  
fPO  
Duty = 50%  
0
tPOR, tPOF  
tPOH, tPOL  
VDD = 4.5 to 6.0 V  
Input  
0.7  
1.45  
2.0  
P00 input high/low level  
width  
VDD = 4.5 to 6.0 V  
Output  
Input  
2.5  
SCK cycle time  
tKCY  
5.0  
Output  
Input  
5.7  
1.0  
VDD = 4.5 to 6.0 V  
Output  
Input  
1.25  
2.5  
SCK high/low level width  
tKH, tKL  
µs  
µs  
ns  
ns  
ns  
ns  
µs  
Output  
2.85  
100  
100  
SI setup time (to SCK)  
SI hold time (from SCK)  
tSIK  
tKSI  
VDD = 4.5 to 6.0 V  
850  
SCK↓→ SO output delay time  
tKSO  
1200  
INT0 high/low level width  
tIOH, tIOL  
10  
10  
RESET high/low level  
width  
tRSH, tRSL  
µs  
*
tCY = 2/fCC (See the characteristics curves for the power supply conditions specified above.)  
AC Timing Test Point (Except CL1 Input)  
0.7 VDD  
0.3 VDD  
0.7 VDD  
0.3 VDD  
Test  
Points  
37  
µPD7564A, 7564A(A)  
CHARACTERISTICS OF DATA MEMORY DATA RETENTION AT LOW SUPPLY VOLTAGE IN STOP MODE  
µPD7564A  
: Ta = –10 to +70°C  
µPD7564A(A) : Ta = –40 to +85°C  
Parameter  
Symbol  
VDDDR  
IDDDR  
tSRS  
Test Conditions  
MIN.  
2.0  
TYP.  
0.1  
MAX.  
6.0  
Unit  
V
Data retention supply voltage  
Data retention supply current  
RESET setup time  
VDDDR = 2.0 V  
5
µA  
µs  
0
Oscillation stabilization time  
tOS  
After VDD reaches 4.5 V  
20  
ms  
Data Retention Timing  
HALT  
mode  
Operating Mode  
STOP Mode  
Data Retention Mode  
V
DD  
V
DDDR  
STOP Instruction  
Execution  
t
SRS  
RESET  
t
OS  
38  
µPD7564A, 7564A(A)  
P00 Input Timing  
1/fP0  
tPOL  
tPOH  
P00 Input  
t
POR  
t
POF  
Serial Transfer Timing  
tKCY  
tKL  
tKH  
SCK  
tSIK  
tKSI  
Input Data  
SI  
tKSO  
SO  
Output Data  
Test Input Timing  
t
IOL  
t
IOH  
INT0  
RESET Input Timing  
t
RSL  
t
RSH  
RESET  
39  
µPD7564A, 7564A(A)  
7. CHARACTERISTIC CURVES  
f
CC (Ceramic Oscillation) vs. VDD  
µ PD7564A : Ta = –10 to +70˚C  
µ PD7564A(A) : Ta = –40 to +85˚C  
CL1 CL2  
R2  
C2  
C1  
1000  
500  
Operating  
Guarantee  
Range  
100  
0
1
2
3
4
5
6
Supply Voltage VDD [V]  
fPO vs. VDD Operating Guarantee Range  
µ PD7564A : Ta = –10 to +70˚C  
µ PD7564A(A) : Ta = –40 to +85˚C  
t
1
t
2
CL1  
1
=
t
t
1
>t  
<t  
2
2
: f  
: f  
X
X
2t  
12  
1000  
500  
1
=
2t  
1
Operating  
Guarantee  
Range  
100  
10  
0
1
2
3
4
5
6
Supply Voltage VDD [V]  
40  
µPD7564A, 7564A(A)  
I
DD vs. VDD Characteristic Example  
(Reference Value)  
(Ta = 25°C)  
CL1 CL2  
CL1 CL2  
6.8 kΩ  
330 100  
pF pF  
6.8 kΩ  
f
CC  
=
330  
pF  
100  
pF  
700 kHz  
µ
1000  
500  
Operating mode  
CSB300D  
CSB700A  
HALT mode  
fCC = 300 kHz  
Operating mode  
100  
50  
HALT mode  
10  
0
1
2
3
4
5
6
Supply Voltage VDD [V]  
I
OL vs. VOL Characteristic Example (Port 8)  
(Reference Value)  
(Ta = 25°C)  
30  
25  
20  
15  
10  
5
V
DD = 5 V  
V
DD = 3 V  
Caution  
The absolute maximum rating is 30  
mA per pin.  
0
0
1
2
3
4
5
6
Output Voltage Low VOL [V]  
41  
µPD7564A, 7564A(A)  
I
OL vs. VOL Characteristic Example (Port 10, 11)  
(Reference Value)  
(Ta = 25°C)  
30  
25  
20  
15  
10  
5
V
DD = 5 V  
V
DD = 3 V  
Caution  
The absolute maximum rating is 15 mA per  
pin.  
0
0
1
2
3
4
5
6
Output Voltage Low VOL [V]  
I
OH vs. VOH Characteristic Example  
(Reference Value)  
(Ta = 25°C)  
–5  
–4  
–3  
–2  
–1  
0
VDD = 5 V  
V
DD = 3 V  
Caution  
The absolute maximum rating is -5 mA  
per pin.  
0
1
2
3
4
5
6
V
DD – VOH [V]  
42  
µPD7564A, 7564A(A)  
8. µPD7564A APPLIED CIRCUITS  
(1) Remote control reception + key entry + LED display  
Master  
Microcomputer  
µPD7564A  
P110  
P111  
SCK  
SO  
SI  
SCK  
Driver µPA80C  
SI  
SO  
P113 (Chip  
Selector  
Transfer  
Request)  
RES  
µPD75008  
LED 8  
µPD75108  
etc.  
P80  
P81  
P82  
P112  
Remote  
Control  
Signal  
P100  
P101  
P102  
P103  
Amplifier  
Circuit  
INT0  
CL1  
µPC2800AHA(MS) etc.  
CL2  
Key Input 4 × 4  
43  
µPD7564A, 7564A(A)  
(2) Remote control transmission  
µPD7564A  
P80  
(CMOS Output)  
RESET  
2SA733  
MAX. 40 Keys  
On-Chip Pull-Down  
Resistor  
P00  
P01  
P02  
On-Chip  
Pull-Up  
P03  
Resistor  
Input  
P100  
P101  
P102  
P103  
P82  
P110  
P111  
P112  
P113  
N-ch  
Open-Drain  
Output  
P81  
CL2  
2SA952  
CL1  
Ceramic Resonator  
304 kHz  
Infrared Light  
Emitting Diode  
SE307-C  
44  
µPD7564A, 7564A(A)  
9. PACKAGE INFORMATION  
DRAWINGS OF MASS-PRODUCTION PRODUCT PACKAGES  
Caution  
Dimensions of ES products are different from those of mass-production products. Refer to DRAWINGS  
OF ES PRODUCT PACKAGES (1/2).  
45  
µPD7564A, 7564A(A)  
DRAWINGS OF MASS-PRODUCTION PRODUCT PACKAGES (2/2)  
20 PIN PLASTIC SOP (300 mil)  
20  
11  
detail of lead end  
1
10  
A
H
I
J
L
B
C
N
M
M
D
NOTE  
ITEM MILLIMETERS  
INCHES  
Each lead centerline is located within 0.12 mm (0.005 inch) of  
its true position (T.P.) at maximum material condition.  
A
B
C
13.00 MAX.  
0.78 MAX.  
1.27 (T.P.)  
0.512 MAX.  
0.031 MAX.  
0.050 (T.P.)  
+0.10  
0.40  
+0.004  
0.016  
D
–0.05  
–0.003  
E
F
G
H
I
0.1±0.1  
1.8 MAX.  
1.55  
0.004±0.004  
0.071 MAX.  
0.061  
7.7±0.3  
5.6  
0.303±0.012  
0.220  
J
1.1  
0.043  
+0.004  
0.008  
+0.10  
0.20  
K
L
–0.002  
–0.05  
+0.008  
0.024  
0.6±0.2  
–0.009  
M
N
0.12  
0.10  
0.005  
0.004  
+7°  
3°  
+7°  
3°  
P
–3°  
–3°  
P20GM-50-300B, C-4  
Caution  
Dimensions of ES products are different from those of mass-production products. Refer to DRAWINGS  
OF ES PRODUCT PACKAGES (2/2).  
46  
µPD7564A, 7564A(A)  
DRAWINGS OF ES PRODUCT PACKAGES (1/2)  
20-Pin Shrink DIP for ES (Reference) (Unit: mm)  
47  
µPD7564A, 7564A(A)  
DRAWINGS OF ES PRODUCT PACKAGES (2/2)  
20-Pin Ceramic SOP for ES (Reference) (Unit: mm)  
48  
µPD7564A, 7564A(A)  
10. RECOMMENDED PACKAGING PATTERN OF SOP (REFERENCE) (UNIT: mm)  
7.62  
1.27  
This recommended pattern conforms to the General Rules for Integrated Citrcuit Outer Shape (IC-74-2) specified  
by the Electronic Industries Association of Japan (EIAJ).  
The above pattern dimensions are applicable to all the products designated as EIAJ flat DIP (mini flat) of “Form  
A 300 mil type”.  
If there is any possibility of causing a solder bridge, adjust the width (0.76) of each pad while maintaining the  
same length (1.27).  
49  
µPD7564A, 7564A(A)  
11. RECOMMENDED SOLDERING CONDITIONS  
Solder µPD7564A on the following recommended conditions.  
For details of recommended soldering conditions, refer to the information document “Surface Mount Tech-  
nology Manual” (IE-1207).  
For details on the soldering method and soldering conditions other than the recommended conditions, call the  
NEC salesman.  
Table 11-1 Surface Mounting Type Conditions  
µPD7564AG-×××: 20-pin plastic SOP (300 mil)  
µPD7564AG(A)-×××: 20-pin plastic SOP (300 mil)  
Recommended  
Soldering Method  
Soldering Conditions  
Condition Symbol  
Package peak temperature: 230°C, Duration: 30 sec. max. (at 210°C or above),  
Infrared reflow  
VPS  
IR30-00-1  
Number of times: Once  
Package peak temperature: 215°C, Duration: 40 sec. max. (at 200°C or above),  
VP15-00-1  
Number of times: Once  
Solder both temperature: 260˚C or below, Duration: 10 sec. max.,  
Number of times: Once, Preheat temperature: 120˚C max.  
(Package surface temperature)  
Wave soldering  
Pin part heating  
WS60-00-1  
––  
Pin temperature: 300°C or below, Duration: 3 sec. max. (per device side)  
Caution  
Use of more than one soldering method should be avoided (except in the case of pin part heating).  
Table 11-2 Insertion Type Soldering Conditions  
µPD7564ACS-×××: 20-pin plastic shrink DIP (300 mil)  
µPD7564ACS(A)-×××: 20-pin plastic shrink SOP (300 mil)  
Soldering Method  
Soldering Conditions  
Wave soldering  
(Pin only)  
Solder bath temperatures: 260°C or below, Duration: 10 sec. max.  
Pin temperature: 300°C or below, Duration: 3 sec. max. (per pin)  
Pin part heating  
Caution  
Ensure that the application of wave soldering is limited to the pins and no solder touches the main unit  
directly.  
50  
µPD7564A, 7564A(A)  
APPENDIX A.  
COMPARISON BETWEEN SUB-SERIES PRODUCT FUNCTIONS  
Product Name  
µPD7554  
µPD75P54  
µPD7554A µPD7554A(A) µPD7564  
µPD75P64  
µPD7564A µPD7564A(A)  
Item  
RC  
4 µs/500 kHz  
––––  
Instruction cycle/system  
clock (5 V)  
Outside  
Ceramic  
2.86 µs/700 kHz  
––––  
––––  
2.86 µs/700 kHz  
Instruction set  
ROM  
47 types (SET B)  
1024 × 8  
RAM  
64 × 4  
Total number  
Port 0  
16  
15  
P00 to P03  
I/O  
Port 8  
P80 to P82, P83 (CL2)  
P80 to P82  
port Withstand voltage  
Ports 10 and 11  
12 V  
12 V  
9 V  
P100 to P103, P110 to P113  
9 V 12 V  
12 V  
9 V  
9 V  
Withstand voltage  
Timer/event counter  
Serial interface  
8 bits  
8 bits  
Power voltage range  
2.5 to 6.0 V 4.5 to 6.0 V 2.0 to 6.0 V 2.7 to 6.0 V 2.7 to 6.0 V 4.5 to 6.0 V 2.7 to 6.0 V 2.7 to 6.0 V  
20-pin plastic shrink DIP  
20-pin plastic SOP  
Package  
51  
µPD7564A, 7564A(A)  
APPENDIX B.  
DEVELOPMENT TOOLS  
The following development tools are available for developing systems that use µPD7564A.  
Language Processor  
This program is used to convert the program written with mnemonic codes to the  
program written with object codes so that the program can be executed by the  
microcomputer.  
The function for automatic optimization of branch instruction and so on is also  
provided.  
Ordering Code  
µPD7550/7560 series  
Host Machine  
PC-9800 series  
OS  
Supply Medium  
3.5-inch 2HD  
(Product Name)  
absolute assembler  
MS-DOS™  
(Ver.3.10 to  
Ver.5.00A*)  
µS5A13AS7554  
5-inch 2HD  
5-inch 2HC  
µS5A10AS7554  
µS7B10AS7554  
PC DOS™  
(Ver. 3.1)  
IBM PC/AT™  
PROM Write Tools  
PROM programmer which allows programming of single-chip microcomputer with  
typical PROM of 256K to 4M bits by stand-alone or from a host machine by  
connecting the accessory board and optional programmer adapter.  
PG-1500  
µPD75P54/75P64 PROM programmer adapter. Used by connecting it to the PG-1500.  
PA-75P54CS  
Connects the PG-1500 and host machine by serial and parallel interface and controls  
the PG-1500 on the host machine.  
Ordering Code  
Host Machine  
PC-9800 series  
OS  
Supply Medium  
(Product Name)  
PG-1500 controller  
MS-DOS  
(Ver.3.10 to  
Ver.5.00A*)  
3.5-inch 2HD  
5-inch 2HD  
µS5A13PG1500  
µS5A10PG1500  
PC DOS  
(Ver.3.1)  
IBM PC/AT  
5-inch 2HC  
µS7B10PG1500  
*
A task swap function is provided in Ver. 5.00/5.00A, but the task swap function cannot be used with this  
software.  
Remarks Operation of the assembler and PG-1500 controller is only guaranteed on the host machines and  
OSs shown above.  
52  
µPD7564A, 7564A(A)  
Debugging Tools  
EVAKIT-7500B is an evaluation board that can be used for µPD7500 series models.  
For µPD7564A, EVAKIT-7500B and option board EV-7554A are combined and used  
for system development.  
EVAKIT-7500B can operate alone. EVAKIT-7500B has a built-in serial interface on  
the board, so it enables debugging when it is connected to a RS-232-C interfaced  
console.  
EVAKIT-7500B  
EVAKIT-7500B works as is a real-time tracer and traces state of the program counter  
and output port in real time. EVAKIT-7500B has a built-in PROM writer and improves  
debugging efficiency considerably.  
EV-7554A is an adapter board which is connected to EVAKIT-7500B and evaluates  
EV-7554A  
SE-7554A  
µPD7564A.  
SE-7554A is a simulation board that has the programs developed by EVAKIT-7500B.  
SE-7554A evaluates a system in place of µPD7564A.  
EVAKIT-7500 Control Program connects EVAKIT-7500B and the host machine with  
RC-232-C and controls EVAKIT-7500B on the host machine.  
Ordering Code  
Host Machine  
PC-9800  
OS  
Supply Medium  
(Product Name)  
EVAKIT-7500  
control program  
(EVAKIT controller)  
MS-DOS  
(Ver.3.10 to  
Ver.5.00A*)  
3.5-inch 2HD  
5-inch 2HD  
µS5A13EV7500-P01  
µS5A10EV7500-P01  
series  
IBM PC  
series  
PC DOS  
(Ver.3.1)  
5-inch 2HC  
µS7B11EV7500-P01  
*
A task swap function is provided in Ver. 5.00/5.00A, but the task swap function cannot be used with this  
software.  
Caution  
It is not possible to internally mount a pull-up resistor in a port in the EVAKIT-7500B. When  
evaluating, arrange to have a pull-up resistor mounted in the user system.  
Remarks Operation of the EVAKIT controller is only guaranteed on the host machines and OSs shown above.  
53  
µPD7564A, 7564A(A)  
APPENDIX C. RELATED DOCUMENTS  
Document Related to Device  
Document Name  
User's Manual  
Document No.  
IEU-1111D  
IF-1027G  
µPD7500 Series Selection Guide  
Document Related to Development Tool  
Document Name  
EVAKIT-7500B User's Manual  
Document No.  
EEU-1017C  
EEU-1034A  
EEU-1335B  
Hardware  
Software  
EV-7554A User's Manual  
PG-1500 User's Manual  
µPD7550, 7560 Series Absolute Assembler User's Manual EEM-1006  
EVAKIT-7500 Control Program User's Manual  
MS-DOS base  
EEM-1356  
EEM-1049  
EEU-1291B  
PC-DOS base  
PG-1500 Controller User's Manual  
Other Related Document  
Document Name  
Document No.  
Package Manual  
IEI-1213  
IEI-1207  
IEI-1209A  
IEI-1203A  
IEI-1201  
MEI-1202  
Note  
Semiconductor Device Mounting Technology Manual  
Quality Grade on NEC Semiconductor Devices  
NEC Semiconductor Device Reliability/Quality Control System  
Static Electricity Discharge (ESD) Test  
Semiconductor Device Quality Guarantee Guide  
Microcomputer Related Product Guide – Third Party Product –  
Remarks These documents above are subject to change without notice. Be sure to use the latest document for  
designing.  
Note To be published.  
54  
µPD7564A, 7564A(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  
devices 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. Production  
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 immedi-  
ately after power-on for devices having reset function.  
55  
µPD7564A, 7564A(A)  
[MEMO]  
The application circuits and their parameters are for references only and are not intended for use in actual design-in's.  
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.  
The devices listed in this document are not suitable for use in aerospace equipment, submarine cables, nuclear  
reactor control systems and life support systems. If customers intend to use NEC devices for above applications  
or they intend to use "Standard" quality grade NEC devices for applications not intended by NEC, please contact  
our sales people in advance.  
Application examples recommended by NEC Corporation  
Standard: Computer, Office equipment, Communication equipment, Test and Measurement equipment,  
Machine tools, Industrial robots, Audio and Visual equipment, Other consumer products, etc.  
Special: Automotive and Transportation equipment, Traffic control systems, Antidisaster systems, Anticrime  
systems, etc.  
M4 92.6  
MS-DOS is a trademark of MicroSoft Corporation.  
PC DOS and PC/AT are trademarks of IBM Corporation.  

相关型号:

UPD7564AG

4-BIT SINGLE-CHIP MICROCOMPUTER
NEC

UPD7564AG(A)-XXX

Microcontroller, 4-Bit, MROM, 0.71MHz, MOS, PDSO20, 0.300 INCH, PLASTIC, SOP-20
NEC

UPD7564AG-XXX

Microcontroller, 4-Bit, MROM, 0.71MHz, CMOS, PDSO20, PLASTIC, SOP-20
NEC

UPD7564AGA

4-BIT SINGLE-CHIP MICROCOMPUTER
NEC

UPD7564CS

Microcontroller, 4-Bit, MROM, 0.71MHz, CMOS, PDIP20, SHRINK, PLASTIC, DIP-20
NEC

UPD7564CS-XXX

Microcontroller, 4-Bit, MROM, 0.71MHz, CMOS, PDIP20, SHRINK, PLASTIC, DIP-20
NEC

UPD7564G

Microcontroller, 4-Bit, MROM, 0.71MHz, CMOS, PDSO20, PLASTIC, SO-20
NEC

UPD7564G-XXX

Microcontroller, 4-Bit, MROM, 0.71MHz, CMOS, PDSO20, PLASTIC, SOP-20
NEC

UPD7566

4-BIT, SINGLE-CHIP CMOS MICROCOMPUTERS WITH COMPARATOR
NEC

UPD7566A

4-BIT SINGLE-CHIP MICROCOMPUTER
NEC

UPD7566AA

4-BIT SINGLE-CHIP MICROCOMPUTER
NEC

UPD7566ACS

4-BIT SINGLE-CHIP MICROCOMPUTER
NEC