UPD7566A RENESAS | Alldatasheet

Document overview

  • Manufacturer or author: Provided By www.digicamel.com(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 60

Technical content

Datasheet sections

  • 1.1 PORT FUNCTIONS
  • 1.2 OTHER FUNCTIONS
  • 1.3 MASK OPTIONS FOR PINS
  • 1.4 NOTES ON USING THE P00/INT0, AND RESET PINS
  • 1.5 PIN I/O CIRCUITS
  • 1.6 RECOMMENDED PROCESSING OF UNUSED PINS
  • 1.7 I/O PORT OPERATIONS
  • 2.1 PROGRAM COUNTER (PC)
  • 2.2 STACK POINTER (SP)
  • 2.3 PROGRAM MEMORY (ROM)
  • 2.4 GENERAL-PURPOSE REGISTERS
  • 2.5 DATA MEMORY (RAM)
  • 2.6 ACCUMULATOR (A)
  • 2.7 ARITHMETIC LOGIC UNIT (ALU)
  • 2.8 PROGRAM STATUS WORD (PSW)
  • 2.9 SYSTEM CLOCK GENERATOR
  • 2.10 CLOCK CONTROL CIRCUIT
  • 2.11 TIMER/EVENT COUNTER
  • 2.12 TEST CONTROL CIRCUIT
  • 3.1 STOP MODE
  • 3.2 HALT MODE
  • 3.3 RELEASING STOP MODE BY USING RESET INPUT
  • 3.4 RELEASING HALT MODE BY USING TEST REQUEST FLAGS
  • 3.5 RELEASING HALT MODE BY USING RESET INPUT
  • 4.1 INITIALIZATION
  • 6 ELECTRICAL SPECIFICATIONS

To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding. Renesas Electronics website: http://www.renesas.com April 1st, 2010 Renesas Electronics Corporation Issued by: Renesas Electronics Corporation (http://www.renesas.com) Send any inquiries to http://www.renesas.com/inquiry.

  1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website. 2. Renesas Electronics does not assume any liability for infringeme nt of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. 3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. 4. Descriptions of circuits, software and other related informat ion in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 5. When exporting the products or technology described in this doc ument, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. 6. Renesas Electronics has used reasonable care in preparing th e information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. 7. Renesas Electronics products ar e classified according to the following three quality grades: “Standard”, “High Quality”, and “Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise expressly specified in a Renesas Electronics data sheets or data books, etc. “Standard”: Computers; office equipmen t; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots. “High Quality”: Transportation equi pment (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”: Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life. 8. You should use the Renesas Electronics pr oducts described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges. 9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 10. Please contact a Renesa s Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas Electronics. 12. Please contact a Renesa s Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries. (Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority- owned subsidiaries. (Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.

© 1994 4-BIT SINGLE-CHIP MICROCOMPUTER Document No. IC-2478D (O. D. No. IC-7885D) Date Published December 1994 P Printed in Japan DATA SHEET MOS INTEGRATED CIRCUIT µPD7566A, 7566A(A) The information in this document is subject to change without notice. The ★ mark shows major revised points. 1989

DESCRIPTION

The µPD7566A is a product of the µPD7554, 7564 sub-series which is a low-end, low-cost version of the µPD7500 series microcomputers. This 4-bit single-chip microcomputer has fewer ports than the other products in the µPD7500 series, in order to reduce the package size, and is especially ideal for temperature control applications, as well as for application systems, such as air conditioners, microwave ovens, refrigerators, rice cooker, washing machines, and cassette deck controllers. Some of the output pins for the microcomputer can be used to directly drive triacs and LEDs. In addition, various I/O circuits can be selected by mask options, so that the number of necessary external circuits can be significantly reduced. A detailed function description is provided in the following user's manual. Be sure to read this manual when designing your system. µPD7556, 7566 User's Manual: IEM-1111D FEATURES PIN CONFIGURATION (Top View)

  • 45 instructions (subset of the µPD7500H SET B)
  • Instruction cycle: 2.86 microseconds (700 kHz, at 5V) with ceramic oscillator
  • Program memory (ROM): 1,024 words x 8 bits
  • Data memory (RAM): 64 words x 4 bits
  • Test sources: 1 external and 1 internal
  • 8-bit timer/event counter
  • 19 I/O lines (total output current: 100 mA) . Five pins can be used to directly drive triacs and LEDS : P80 to P82, P90 to P91 . Eight pins can be used to directly drive LEDs : P100 to P103, P110 to P113 . Four comparator input pins: P10/Cin 0 to P13/Cin 3 . Mask option functions available on all ports
  • Standby functions (STOP/HALT)
  • Data memory contents can be retained on a low voltage
  • Internal ceramic oscillator for system clock oscillation
  • CMOS
  • Low-power dissipation
  • Single power source (2.7 to 6.0V) VSS P91 P90 P113 P112 P111 P110 P103 P102 P101 P100 RESET P00/INT0 P01/Vref P10/Cin0 P11/Cin1 P12/Cin2 P13/Cin3 P80 P81 P82 CL2 CL1 V DD µPD7566A ★APPLICATIONS µPD7566A : Air conditioner, microwave oven, refrigerator, audio equipment controller, etc. µPD7566A(A) : Automotive and transportation equipments, etc. The quality level and absolute maximum ratings of the µPD7566A and the µPD7566A(A) differ. Except where specifically noted, explanations here concern the µPD7566A as a representative product. If you are using the µPD7566A(A), use the information presented here after checking the functional differences.

µPD7566A, 7566A(A)

ORDERING INFORMATION

Part Number Package Quality Grade µPD7566ACS-xxx 24-pin plastic shrink DIP (300 mil) Standard µPD7566AG-xxx 24-pin plastic SOP (300 mil) Standard µPD7566ACS(A)-xxx 24-pin plastic shrink DIP (300 mil) Special µPD7566AG(A)-xxx 24-pin plastic SOP (300 mil) Special Caution Be sure to specify mask options when placing your order. Remark xxx indicates 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.

µPD7566A, 7566A(A) µPD7566A BLOCK DIAGRAM P00/INT0 P01/Vref P10/Cin0 - P13/Cin3 P80 - P82 P90, P91 P100 - P103 P110 - P113 PORT11 LATCH BUFFER PORT1 BUFFER /COMPARATOR PORT10 LATCH BUFFER PORT9 LATCH BUFFER PORT8 LATCH BUFFER PORT0 BUFFER TEST CONTROL INT0/P00 A(4)C INTTTIMER/ EVENT COUNTER ALU(4) CPCLOCK CONTROL CL PC(10) PROGRAM MEMORY 1024X8 BITS SYSTEM CLOCK GENERATOR CL Ø STANDBY CONTROL CL1 CL2 V DD VSS RESET INSTRUCTION DECODER DATA MEMORY 64X4 BITS L(4)H(2) SP(6)

µPD7566A, 7566A(A)

µPD7566A, 7566A(A) 1. PIN FUNCTIONS

1.1 PORT FUNCTIONS

Name Output with: Function At Reset Circuit Type P00 INT0 2-bit input port (PORT 0). P00 is also used to S Input input count clocks (event pulses). Input P01 Vref T P10-P13 Input Cin0 - 4-bit input port (PORT 1) Input U Cin3 P80-P82 Output - 3-bit output port (PORT 8). High-current (15 mA), and medium-voltage (9V) output High impedance O P90, P91 Output - 2-bit output port (PORT 9). High-current (15 mA), and medium-voltage (9V) output P100 - Input/ - 4-bit I/O port (PORT 10). Medium-current High P103 Output (10 mA), and medium-voltage (9V) I/O impedance or high- P P110- Input 4-bit I/O port (PORT 11). Medium-current level P113 Output - (10 mA), and medium-voltage (9V) I/O output

1.2 OTHER FUNCTIONS

Name Output with: Function At Reset Circuit Type INT0 Input P00 Edge-detecting testable input pin (rising edge) Input S Comparator reference voltage input pin Vref Input P01 (Whether this pin is used as P01 or as Vref is Input T specified by a mask option.) 4-bit comparator input pins (Whether these Cin0-Cin3 Input P10-P13 pins are used as digital input pins (P10 to P13) Input U or as comparator input pins (Cin0 to Cin3) is specified by the mask option for each bit. CL1 A ceramic oscillator is connected across these pins. CL2 System reset input pin (high-level active). RESET A pull-down resistor can be interconnected R to this pin by a mask option. V DD Power pin VSS GND pin

µPD7566A, 7566A(A)

1.3 MASK OPTIONS FOR PINS

The following mask options are available. These mask options can be selected in bit units. Pin Name Mask Option P00 ➀ No internally provided resistor ➁ Pull-down resistor internally provided ➂ Pull-up resistor internally provided P01/Vref ➀ External V ref input ➁ No internally provided resistor (CMOS input) ➂ Pull-down resistor internally provided (CMOS input) ➃ Pull-up resistor internally provided (CMOS input) P10/Cin0 ➀ Comparator input ➁ No internally provided register ➂ Pull-down resistor internally provided (CMOS input) ➃ Pull-up resistor internally provided (CMOS input) P11/Cin1 ➀ Comparator input ➁ No internally provided register ➂ Pull-down resistor internally provided (CMOS input) ➃ Pull-up resistor internally provided (CMOS input) P12/Cin2 ➀ Comparator input ➁ No internally provided register ➂ Pull-down resistor internally provided (CMOS input) ➃ Pull-up resistor internally provided (CMOS input) P13/Cin3 ➀ Comparator input ➁ No internally provided register ➂ Pull-down resistor internally provided (CMOS input) ➃ Pull-up resistor internally provided (CMOS input) P80 ➀ N-channel open-drain output ➁ CMOS (push-pull) output P81 ➀ N-channel open-drain output ➁ CMOS (push-pull) output P82 ➀ N-channel open-drain output ➁ CMOS (push-pull) output P90 ➀ N-channel open-drain output ➁ CMOS (push-pull) output P91 ➀ N-channel open-drain output ➁ CMOS (push-pull) output P100 ➀ N-channel open-drain I/O ➁ Push-pull I/O ➂ N-channel open-drain I/O with pull-up resistor internally provided P101 ➀ N-channel open-drain I/O ➁ Push-pull I/O ➂ N-channel open-drain I/O with pull-up resistor internally provided P102 ➀ N-channel open-drain I/O ➁ Push-pull I/O ➂ N-channel open-drain I/O with pull-up resistor internally provided P103 ➀ N-channel open-drain I/O ➁ Push-pull I/O ➂ N-channel open-drain I/O with pull-up resistor internally provided P110 ➀ N-channel open-drain I/O ➁ Push-pull I/O ➂ N-channel open-drain I/O with pull-up resistor internally provided P111 ➀ N-channel open-drain I/O ➁ Push-pull I/O ➂ N-channel open-drain I/O with pull-up resistor internally provided P112 ➀ N-channel open-drain I/O ➁ Push-pull I/O ➂ N-channel open-drain I/O with pull-up resistor internally provided P113 ➀ N-channel open-drain I/O ➁ Push-pull I/O ➂ N-channel open-drain I/O with pull-up resistor internally provided RESET ➀ Pull-down resistor is not internally provided ➁ Pull-down resistor is internally provided Internal V ref ➀ Internal bias is not provided setting Note ➁ A 1/2 V DD internal bias is applied to V ref Note When any of pins P10-P13 is specified as “➀ comparator“, and “➀ internal bias is not provided“ is specified for the internal Vref setting, specify “➀ external Vref input“ for pin P01. When none of pins P10-P13 is specified as “ ➀ comparator“, specify “➀ internal bias is not provided“ for the internal Vref setting. There is no mask option for PROM products. For more information, see the µPD75P66 Data Sheet (IC-7518).

µPD7566A, 7566A(A)

1.4 NOTES ON USING THE P00/INT0, AND RESET PINS

In addition to the functions described in 1.1, 1.2, and 1.3, an exclusive function for setting the test mode, in which the internal functions of the µPD7566A are tested, is provided to the P00/INT0 and RESET pins. If a voltage less than VSS is applied to either of these pins, the µPD7566A is put into test mode. Therefore, even when the µPD7566A is in normal operation, if noise less than the VSS is input into any of these pins, the µPD7566A will enter the test mode, and this will cause problems for normal operation. As an example, if the wiring to the P00/INT0 pin or the RESET pin is long, stray noise may be picked up and the above mentioned problem may occur. Therefore, all wiring to these pins must be made short enough to not pick up stray noise. If noise cannot be avoided, suppress the noise using a capacitor or diode as shown in the figure below.

  • Connect a diode having a low V F across • Connect a capacitor across P00/INT0 and RESET, P00/INT0 and RESET, and V SS. and V SS. VDD P00/INT0, RESET VDD VSS Low VF diode VDD P00/INT0, RESET VDD VSS

µPD7566A, 7566A(A)

1.5 PIN I/O CIRCUITS

Schematic drawings of the I/O circuits for the microcomputer’s pins are shown below. (1) Type O (2) Type P (3) Type R Mask Option VDD P-ch OUT Mask option data output disable N-ch (medium-voltage, high current) data output disable VDD P-ch Mask option IN/OUT N-ch (medium-voltage, high-curren Medium-voltage, input buffer

µPD7566A, 7566A(A) (4) Type S Mask Option IN VDD (5) Type T (6) Type U Mask option IN VDD Reference voltage Mask option Mask option VDD VDD IN Rref Rref

µPD7566A, 7566A(A)

1.6 RECOMMENDED PROCESSING OF UNUSED PINS

Pin Recommended Processing P00/INT0 Connect to V SS P01/Vref Connect to V SS or VDD P10-P13 P80-P82 Open P90, P91 P100-P103 Input : Connect to V SS or VDD P110-P113 Output: Open

µPD7566A, 7566A(A)

1.7 I/O PORT OPERATIONS

(1) P00, P01 (Port 0) Port 0 is a 2-bit input port and consists of pins P00 and P01. These pins are multiplexed, and P00 can also input count clocks or testable signal (INT0), while P01 is used, when so specified by a mask option, to input a reference voltage (Vref) to the internal comparator. To input a count clock from P00, set bits 2 and 1 (CM2 and 1) for the clock mode register to “01” (see 2.10, Clock Control Circuit). To allow P00 to serve as INT0, set the SM3 flag to 1. Whether P01 is used to input a reference voltage (Vref) to the comparator is specified by a mask option. In this case, the port function for the P01 pin cannot be used. The data on P00 and P01 can be loaded to the lower 2 bits (A0 and A1) of the accumulator at any time, by executing a port input instruction (IPL, L = 0). (2) P10/Cin 0 to P13/Cin 3 (Port 1) Port 1 is a 4-bit input port consisting of these four pins, which can also be used to input analog voltages to the comparator, when so specified by mask options. To input analog voltages through Port 1, a comparator must be connected to each bit of the port by a mask option, and a port input instruction (IPL, L = 1) must be executed. The analog voltage input through these pins to the comparator is always compared with a reference voltage input through the Vref pin. It takes up to 3 machine cycles to accomplish this comparison. Therefore, to change the voltage applied to the Vref pin by port output to form an A/D converter by using a resistor ladder, wait for 3 machine cycles after executing a port output (OPL) instruction. Then carry out an input (IPL, L = 1) instruction to obtain the result of the comparison. If the output instruction is executed during a 3 machine cycle period that precedes the IPL instruction (L = 1), which inputs the comparison result, the comparator accuracy may be degraded. For this reason, do not execute the OPL instruction during 3 machine cycles immediately before the IPL instruction is executed. Example: LHLI 0AH ; L = 10 OPL ; Port 10 output (Vref is changed) NOP NOP LHLI 1 ; L = 1 IPL ; Input of comparison result (3) P80 to P82 (Port 8), and P90 to P91 (Port 9) Pins 80 to P82 constitute a 3-bit output port with output latch, Port 8, while P90 to P91 form a 2-bit output port with output latch, Port 9. When a port output instruction (OPL, L = 8, or L = 9) is executed, the contents of the accumulator are latched on the output latches, and, at the same time, output to these ports. Each bit in Ports 8 and 9 can be set or reset by SPBL or RPBL instruction. Two output modes can be selected for Ports 8 and 9 by a mask option: CMOS (push-pull) or N-channel open-drain mode. The N-channel open-drain output mode is useful for interfacing a circuit operating on a supply voltage different from that to the microcomputer, because the output buffer in this mode can withstand an applied 9V.

µPD7566A, 7566A(A) Pins P100 to P103 constitute a 4-bit I/O port with output latches, Port 10, while P110 to P113 form Port 11, which is a 4-bit I/O port with output latches. When a port output instruction (OPL, L = 10 or L11) is executed, the accumulator contents are latched to the output latches and, at the same time, output to either of these ports. Data once written to the output latch and the state of the output buffer are retained until an output instruction that manipulates Port 10 or 11 is executed next, or until the RESET signal is input. Therefore, the states of the output latches and output buffer will not be changed, even when an input instruction is executed to these ports. Each bit of Ports 10 and 11 can be set or reset by SPBL or RPBL instruction. Three input modes can be selected for Ports 10 and 11 by mask options: N-channel open-drain I/O, N-channel open-drain I/O with pull-up resistors connected, and CMOS (push-pull) modes. The N-channel open-drain mode is useful for interfacing a circuit operating on a supply voltage different from that fed to the microcomputer, because the I/O buffer in this mode can withstand a 9V application. If the CMOS (push-pull) I/O mode has been selected and an output instruction has once been executed, the ports cannot return to the input mode. However, the pin states can be checked by executing a port input (IPL) instruction. In the N-channel open-drain mode, regardless of whether the pull-up resistors are connected or not, the ports are set in the input mode, when high-level signals are output to them, and the data on the 4 bits of each port can be loaded to the accumulator. Thus, the port serves as a pseudo-bidirectional port. The three I/O modes are selected under the following conditions: ➀ CMOS I/O i) To use all the 4-bits as input port pins ii) To use port pins as output pins from which no medium-voltage output is required ➁ N-channel open-drain I/O i) To use port pins in applications where inputting outputting a medium-voltage is required ii) To use some port pins as input pins and the others as output pins iii) To alternately input and output data through one port pin ➂ N-channel open-drain I/O with pull-up resistor connected i) To use some port pins as input pins and the other, as output pins in applications where pull-up resistors are required ii) To alternately input and output data through one port pin in application where a pull-up resistor is required Caution To use port pins as input pins in modes ➁ and ➂ above, it is necessary to write “1” to the output latch in advance and to turn off the N-channel transistor.

µPD7566A, 7566A(A) 2. INTERNAL FUNCTIONAL BLOCKS This is a 10-bit binary counter that retains the address information for the program memory (ROM). Fig. 2-1 Program Counter PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PC Normally, each time an instruction has been executed, the PC contents are automatically incremented by the number of bytes for the instruction. When a call instruction has been executed, the current contents of the PC (i.e., return address) are saved to the stack, and a new call address is loaded to the PC. When a return instruction has been executed, the contents of the stack (i.e., return address) are loaded to the PC. When a jump instruction has been executed, immediate data that indicates the jump destination is loaded to some or all of the bits for the PC. When a skip instruction has been executed, the PC contents are incremented by 2 or 3 during 1 machine cycle, depending on the number of bytes for the instruction to be executed next. All the PC bits are cleared to 0, when the RESET signal has been input.

µPD7566A, 7566A(A) This is a 6-bit register. When port of the data memory is used as a last-in, first-out (LIFO) stack area, the SP retains the first address for the stack. Fig. 2-2 Stack Pointer SP5 SP4 SP3 SP2 SP1 SP0 SP The SP contents are decremented when a call instruction has been executed, and are incremented when a return instruction has been executed. To obtain a stack area, the SP must be initialized by TAMSP instruction. Note, however, that 0 is is unconditionally loaded to the LSB for the SP (i.e., bit SP0) when TAMSP instruction has been executed. Stacking operation begins with decrementing the SP contents. Therefore, the highest address for the stack area +1 is set in the SP. If the highest address for the stack area is 3FH, which is the highest address in the data memory, the initial values for the SP5 to 0 bits must be 00H. However, keep the data to be stored in AM to 40H when TAMSP instruction is executed, so that the microcomputer can be easily emulated by µPD7500H (EVAKIT-7500B). Fig. 2-3 Executing TAMSP Instruction The SP contents cannot be read. Caution The SP contents are undefined, when the RESET signal has been input. Therefore, make sure that the SP is initialized at the beginning of the program. Example: LHLI 00H LAI 0 ST LAI 4 TAMSP ; SP = 40H SP4 SP2SP3 SP0 SP1 A2 A1 A0 (HL) 3 SP5 (HL)2 (HL)1 (HL)0

µPD7566A, 7566A(A) This is a mask programmable ROM, consisting of 1,024 words by 8 bits. The ROM is addressed by the program counter (PC). The program is stored in the program memory. Address 000H in this memory is a reset start address. Fig. 2-4 Program Memory Map

2.4 GENERAL-PURPOSE REGISTERS

Two general-purpose registers, H (2 bits) and L (4 bits), are available. Each of these registers can be manipulated independently from the other. In addition, these registers can be used as a pair register (HL). The pair register serves as a data pointer to address the data memory. Fig. 2-5 General-Purpose Registers (0) 000H (1023) 3FFH Reset start 10 3 0 HL The L register is also used to specify an I/O port or mode register, when an input/output instruction (IPL or OPL) is executed. This register is also used to specify the port bit to be set or reset by SPBL or RPBL instruction.

µPD7566A, 7566A(A) The data memory is static RAM configured of 64 words by 4 bits, and is used to store various data and as a stack area. The data memory is also used in pairs with the accumulator, making it possible to process 8-bit data. Fig. 2-6 Data Memory Map When a return instruction has been executed, the PC contents are restored, but the PSW contents are not. The data memory contents can be retained on a low supply voltage in the STOP mode. SP - 4 0 0 PC9 PC8 SP - 3 PSW Note SP - 2 PC3 - PC0 SP - 1 PC7 - PC4 Note Bit 1 of PSW is always 0. (0) 00H (63) 3FH 64 words x 4 bits The data memory can be addressed in the following three addressing modes:

  • Direct: In this mode, the data memory is directly addressed by the immediate data for an instruction.
  • Register indirect: The data memory is indirectly addressed by the contents of pair register HL (including autoincrement and autodecrement).
  • Stack: The data memory is indirectly addressed by the contents of the stack pointer (SP). Any space in the data memory can be used as stack. The boundary of the stack is determined by initializing the SP by TAMSP instruction. After that, the stack area is automatically accessed by call and return instructions. When a call instruction is executed, the contents of the PC and program status word (PSW) are stored in stack, as illustrated below. Stack area

µPD7566A, 7566A(A) This is a 4-bit register which plays a central role, when an arithmetic operation is performed. The accumulator can also be used in pairs with a data memory address, indicated by pair register HL, to process 8-bit data. Fig. 2-7 Accumulator A3 A2 A1 A0 A This is a 4-bit arithmetic operation circuit that carries out operations such as binary addition, logic operations, increment, decrement and comparison, as well as bit manipulation. The PSW consists of two skip flags (SK1 and SK0) and a carry flag (C). Bit 1 of this register is always 0. Fig. 2-8 Program Status Word 3210 SK1 SK0 0 C PSW (1) Skip flags (SK1 and SK0) These flags retain the following skip conditions:

  • String effect by LAI instruction
  • String effect by LHLI instruction
  • Establishment of skip conditions by instructions other than string-effect instructions The skip flags are automatically set or reset each time an instruction has been executed. (2) Carry flag (C) This flag is set to 1, when an addition instruction (ACSC) is executed, and a carry is consequently generated from the bit 3 of the ALU. If a carry is not generated, the carry flag is cleared to 0. In addition, the carry flag can also be set by SC instruction, and cleared by RC instruction. The content of the flag can be tested by SKC instruction. The PSW contents are automatically stored in the stack area when a call instruction is executed, and are not restored even when a return instruction is implemented. When the RESET signal is input, the SK1 and SK0 flags are cleared to 0, and the C flag content becomes undefined.

µPD7566A, 7566A(A)

2.9 SYSTEM CLOCK GENERATOR

The system clock generator consists of a ceramic oscillator, a 1/2 frequency divider, standby mode (STOP/HALT) control circuit, and other circuits. The ceramic oscillator can oscillate, when an external ceramic oscillator is connected across pins CL1 and CL2. The signal output by the internal ceramic oscillator is a system clock (CL), which is then divided in two to create a CPU clock (ø). The standby mode control circuit mainly consists of a STOP flip-flop and HALT flip-flop. The STOP flip-flop is set by a STOP instruction, stopping the clock supply. When the ceramic oscillator is operating, this flip-flop stops the oscillator, setting the microcomputer in the STOP mode. The STOP flip-flop is reset when a high-level RESET signal is input. As a result, the ceramic oscillator resumes its operation, and the clocks supply is started, when the RESET signal later goes low. The HALT flip-flop is set by a HALT instruction, disabling the input of the 1/2 frequency divider, which generates CPU clock ø, and thereby stopping only CPU clock ø (HALT mode). The HALT flip-flop is reset by the HALT RELEASE or the falling of RESET input (which becomes active when one of the test request flags has been set), allowing the supply of ø to be started. The HALT flip-flop remains set even while the RESET signal is active (high-level), and operates in the same manner as in the HALT mode. When Power-ON Reset is performed, the ceramic oscillator starts at the rising edge of the RESET signal. After the oscillator has started, however, a specific period is required for the oscillator to stabilize. To present the CPU from malfunctioning due to anstable clock, the HALT flip-flop is set to suppress the CPU clock ø while the RESET signal is high. Therefore, the high-level width of the RESET signal must be greater than the time required for the ceramic oscillator you use to stabilize. Fig. 2-9 System Clock Generator Note indicates that an instruction has been executed. CL1 CL2 Ceramic oscillator Oscillation stops Q S RQ S R STOP F/F HALT F/F STOP HALT RESET (high) HALT RELEASE RESET ( ) RESET ( ) ø (to CPU) CL (System clock) Note Note

µPD7566A, 7566A(A)

2.10 CLOCK CONTROL CIRCUIT

The clock control circuit consists of a 2-bit clock mode register (made up of bits CM2 and 1), three prescalers (1, 2, and 3), and a multiplexer. This circuit inputs the output from the system clock generator (i.e., CL). An event pulse (from pin P00) selects a clock source and prescaler, as specified by the clock mode register, and supplies a count pulse (CP) to the timer/event counter. Fig. 2-10 Clock Control Circuit Note indicates that an instruction has been executed. A code is set in the clock mode register by an OPL (L = 12) instruction. Fig. 2-11 Clock Mode Register Format CM2 CM1 Clock mode register CM2 CM1 Count pulse frequency (CP) 0 0 CL x 1/256 0 1 P00 1 0 CL x 1/32 1 1 CL x 1/4 Caution When setting a code in the clock mode register by the OPL instruction, be sure to clear the bit 0 (which corresponds to CM0 of EVAKIT-7500B ( µPD7500) during emulation) for the accumulator to 0. CM1CM2 OPL CP Internal Bus P00 PRESCALER 1 (1/4)CL PRESCALER 2 (1/8) PRESCALER 3 (1/8) Note

µPD7566A, 7566A(A)

2.11 TIMER/EVENT COUNTER

The timer/event counter mainly consists of an 8-bit count register. Fig. 2-12 Timer/Event Counter 256 Note indicates that an instruction has been executed. The 8-bit count register is a binary up-counter. The contents of this counter are incremented each time a count pulse (CP) is input to the counter, and are cleared to 00H when TIMER instruction has been executed, when the RESET signal has been input, or when overflow (i.e., counting from FFH to 00H) has occurred in the counter. The following four count pulses can be selected by the clock mode register (see 2.10 Clock Control Circuit). CP: CL x , CL x , CL x , P00 The count register always counts up as long as the count pulse is input to it. Therefore, the TIMER instruction clears the contents of the count register to 00H and triggers a timer operation. The count register contents are incremented in synchronization with CP (or the rising edge of the P00 signal, when an external clock is selected). When the number of counts reaches 256, the count value is returned from FFH to 00H. At this time, the count register generates an overflow signal (INTT), setting the INTT test flag (INTT RQF). The count register then starts counting up from 00H. Whether or not an overflow has occurred can be learned by testing the INT RQF flag, using the SKI instruction. When the timer/event counter operates as a timer, the reference time for the timer is determined by the CP frequency. The accuracy of the measured time is determined, when the system clock is selected, by the system clock oscillation frequency. If the signal input through the P00 pin is selected as the clock, the accuracy is determined by the frequency of the signal input to the P00 pin. The contents of the count register can always be made ready by TCNTAM instruction. By using this instruction, the current time for the timer can be checked, or it can be determined how many event pulses have been generated so far by inputting the event pulses to the P00 pin and counting them (event counter operation). The count pending circuit is to ignore changes in the count pulses (CPs) while TCNTAM instruction is executed. This is necessary because, when TCNTAM instruction is used to read the contents of the count register, unstable data may be read while the present count is being updated. The timer/event counter operates using the system clocks (CL) or the signals input to the P00 pin as count pulses. Therefore, the timer/event counter can be used to release the HALT mode, in which the supply of the CPU clock ø is stopped (see 3. STANDBY FUNCTIONS). Internal bus 8-BIT COUNT REG Count pending circuit CP TCNTAM TIMER RESET CLR INTT (to test control circuit) Note Note

µPD7566A, 7566A(A)

2.12 TEST CONTROL CIRCUIT

The test control circuit consists of two test flags, a flag called SM3, and a test request flag control circuit. The test request flags, INT0 RQF and INTT RQF, are set by two kinds of test sources (external test input (INT0) and timer overflow (INTT)). The SM3 flag determines whether or not inputting signals to the INT0 pin is enabled. The test request flag control circuit checks the contents of the test request flags, when an SKI instruction is executed, and resets the flags. The SM3 flag is set by an OPL (L = 0FH) instruction (corresponding to A3). When this flag is 1, the INT0 input is enabled. The INT0 RQF flag is set when the rising edge is detected on the INT0 pin, and is reset by an SKI instruction. The INTT RQF flag is set when an overflow occurs in the timer, and is reset by an SKI or TIMER instruction. The signals output by the test request flags are used to release the HALT modes. If one of or both the flags were to be set, the HALT modes are released. When the RESET signal is input, both the test request flags and SM3 flag are reset. Therefore, INT0 input is disabled as the initial condition after the RESET signal has been applied. Fig. 2-13 Test Control Circuit Note indicates that an instruction has been executed. Internal bus SM3 INTT INT0 NONSYNC EDGE GATE INTT RQF NONSYNC EDGE GATE INT0 RQF S R S R Q Q HALT RELEASE TEST RQF CONTROL Note Note Note OPL SKI TIMER

µPD7566A, 7566A(A) 3. STANDBY FUNCTIONS The µPD7566A can be set in two standby modes (STOP and HALT), in which the power dissipation for the microcomputer can be reduced while the program stands by. The STOP mode is set by a STOP instruction, while the HALT mode is set by a HALT Instruction. In the STOP mode, the supply of all the clocks is stopped, but the supply of only the CPU clock ø is stopped in the HALT mode. When the HALT mode is set, program execution is stopped, but the contents of all the registers and data memory, immediately before the HALT mode has been set, are retained. The timer/event counter can operate even in the HALT mode. The STOP mode is released only by the input of the RESET signal. The HALT mode can be released by setting either or both the test request flags (INTT RQF and INT0 RQF), or by inputting the RESET signal. Therefore, the standby mode cannot be set, even when the STOP or HALT instruction is executed while one of the test request flags is set. To set the standby mode, when it is possible that one of the test request flags is set, execute an SKI instruction in advance to reset the test request flag.

3.1 STOP MODE

The STOP mode can be set any time by executing the STOP instruction, unless either or both the test request flags are set. In this mode, the data memory contents are retained, but all other functions are stopped and become invalid, except for the RESET signal, which is used to release the STOP mode. Consequently, the power dissipation for the microcomputer is minimized. Caution In the STOP mode, the CL1 pin is internally short-circuited to V DD (high level) to prevent the leakage current from the ceramic oscillator.

3.2 HALT MODE

In this mode, only the 1/2 frequency divider for the system clock generator is stopped. Consequently, the supply of system clock (CL) is not stopped and only the CPU clock (ø) is stopped. The operation of the CPU, which calls for the CPU clock, is therefore stopped. However, the clock control circuit is not stopped. The clock control circuit can therefore input the CL signal generated by the system clock generator and event pulses input from an external source through the P00 pin, can supply both the clocks to the timer/event counter as count pulses (CPs). The timer/event counter can therefore operate on both the count pulses and its operation will not be interrupted.

3.3 RELEASING STOP MODE BY USING RESET INPUT

When the RESET signal becomes high in the STOP mode, the HALT mode is set, and at the same time, ceramic oscillation starts. When the RESET signal goes low, the HALT mode is released followed by ordinary RESET operation. After that, the CPU starts executing the program from address 0. The STOP mode is thus released. The contents of the data memory are retained even while the mode is released, that the contents of registers become undefined.

µPD7566A, 7566A(A) STOP instruction RESET input STOP mode HALT mode (oscillator stabilization time) Clock oscillation starts Released Ordinary reset operation (execution starts from address 0) Caution The STOP mode is not released by setting the test request flags.

3.4 RELEASING HALT MODE BY USING TEST REQUEST FLAGS

The HALT is released when either or both of the test request flags (INTT RQF and INT0 RQF) are set, and program execution is resumed, starting from the instruction next to the HALT instruction. The contents of the registers and data memory, which have been retained during the HALT mode, are not affected by the release of the HALT mode.

3.5 RELEASING HALT MODE BY USING RESET INPUT

When the RESET signal is input, the HALT mode is unconditionally released, as illustrated in Fig. 3-2. Fig. 3-2 HALT Mode Release Timing by RESET Input Fig. 3-1 STOP Mode Release Timing RESET HALT mode Released Ordinary reset operation (execution starts from address 0) While the RESET signal is active (high level), the HALT mode continues. When the RESET signal goes low, the HALT mode is released. Ordinary resetting operation is then accomplished. Then, the program is executed starting from address 0. The contents of the data memory, retained during the HALT mode, are not affected by the RESET signal. However, the contents of the registers are affected and become undefined.

µPD7566A, 7566A(A) 4. RESET FUNCTION The microcomputer is reset and initialized as follows, when an active-high RESET signal is input to the RESET pin:

4.1 INITIALIZATION

(1) The program counter (PC9 to PC0) is cleared to 0. (2) The skip flags (SK1 and SK0) for the program status word are reset to 0. (3) The count register for the timer/event counter is cleared to 00H. (4) The clock control circuit is initialized as follows:

  • Clock mode register (bits CM2 and 1) = 0 ➝ CP = CL x
  • Prescalers 1, 2, and 3 = 0 (5) The SM3 flag is reset to 0, disabling the external test input (INT0). (6) The test request flags (INTT RQF and INT0 RQF) are reset to 0. (7) The contents of the data memory and the following registers will become undefined. Stack pointer (SP) Accumulator (A) Carry flag (C) General-purpose registers (H and L) Output latches for ports (8) The output buffers for all the ports are turned off and enter the output high-impedance state. The I/O ports are set in the input mode. Caution When the RESET signal is used to released the standby mode, the contents of the data memory do not become undefined, but are retained. When the RESET signal is removed, the program is executed starting from address 000H. However, initialize or reinitialize the contents for the registers by program. 256

µPD7566A, 7566A(A) 5. INSTRUCTION SET (1) Operand representation format and description addr 10-bit immediate data or label caddr 10-bit immediate data or label caddr1 Immediate data 100H-107H, 140H-147H or label Immediate data 180H-187H, 1C0H-1C7H or label mem 6-bit immediate data or label n5 5-bit immediate data or label n4 4-bit immediate data or label n2 2-bit immediate data or label bit 2-bit immediate data or label pr HL-, HL+, HL (2) Legend for “Operation” column A : Accumulator H : H register L : L register HL : Pair register (HL) pr : Pair register (HL-, HL+, HL) SP : Stack pointer PC : Program counter C : Carry flag PSW : Program status word CT : Count register In : Immediate data corresponding to n5, n4, or n2 Pn : Immediate data corresponding to addr, caddr, or caddr1 Bn : Immediate data corresponding to bit Dn : Immediate data corresponding to mem Rn : Immediate data corresponding to pr (xx) : Contents addressed by xx xH : Hexadecimal data

µPD7566A, 7566A(A) (3) Selection of port/mode register IPL Instruction L Port

0 Port 0

1 Port 1

8 Port 8

9 Port 9

RPBL; SPBL Instruction L F H E H D H C H B H A H 9854210 B i t 3210321010210 Port Port 11 Port 10 Port 9 Port 8 (4) Selection of addressing mode by pair register pr R 1 R0 HL- 0 0 HL+ 0 1 HL 1 0

µPD7566A, 7566A(A) Arithmetic Operation Accumulator/ Carry Flag Manipulation Increment/ Decrement ↕↕↕ 0 0 0 1 I3 I2 I1 I0 0 0 1 0 1 0 I1 I0 0 1 0 1 0 0 R1 R0 1 1 0 I4 I3 I2 I1 I0 0 1 0 1 0 1 1 1 0 1 0 0 I3 I2 I1 I0 0 1 1 1 1 0 1 1 0 1 0 1 0 1 R 1 R0 0 0 0 0 I3 I2 I1 I0 0 1 1 1 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 0 0 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0 0 0 0 0 1 1 1 1 0 0 0 1 1 0 1 0 B 1 B0 0 1 1 0 1 1 B1 B0 0 0 D5 D4 D3 D2 D1 D0 0 0 D5 D4 D3 D2 D1 D0 OP Code Instructions Mne- ope-Operation Skip monic rand B1 B2Condition Load/Store LAI n4 A n4 Loads n4 to accumulator String-effect LAI LHI n2 H n2 Loads n2 to register H LAM pr A (pr) pr = HL-, HL+, HL Loads memory contents addressed L = FH (HL-) by pr to accumulator L = 0 (HL+) LHLI n5 H 0 I4, L I3-0Loads n5 to registerpair HL String-effect LHLI ST (HL) A Stores accumulator contents to memory addressed by HL STII n4 (HL) n4, L L+1 Stores n4 in memory addressed by HL and then increments L register

contents

XAL A L Exchanges accumulator contents with L register contents XAM pr A (pr) pr = HL-, HL+, HL Exchanges accumulator contents with L = FH (HL-) contents of memory addressed by pr L = 0 (HL+) AISC n4 A A + n4 Adds accumulator contents to n4 Carry ASC A A + (HL) Adds accumulator contents to Carry contents of memory addressed by HL ACSC A, C A + (HL) + C Adds accumulator contents to Carry contents of memory addressed by HL with carry flag EXL A A V (HL) Exclusive-ORs accumulator contents with contents of memory addressed by HL CMA A A Complements accumulator contents RC C 0 Resets carry flag SC C 1 Sets carry flag ILS L L + 1 Increments L register contents L = 0 IDRS mem (mem) (mem) + 1 Increments contents of memory (mem) = 0 addressed by mem DLS L L - 1 Decrements L register contents L = FH DDRS mem (mem) (mem) - 1 Decrements contents of memory (mem) = FH addressed by mem Memory bit RMB bit (HL) bit 0 Resets bit, specified by B1-0, of Manipulationmemory addressed by HL SMB bit (HL)bit 1 Sets bit, specified by B1-0, of memory addressed by HL

µPD7566A, 7566A(A) OP Code Instructions Mne- ope-Operation Skip monic rand B1 B2Condition Jump JMP addr PC9-0 P9-0Jumps to address indicated by P9-0 JCP addr PC5-0 P5-0Jumps to address specified by P5-0 which replaces PC5-0 Subroutine/ CALL caddr (SP-1)(SP-2)(SP-4) PC9-0Saves contents of PC and PSW to Stack(SP-3) PSW, SP SP - 4 stack, decrements SP by 4, and ControlPC9-0 P9-0calls address indicated by caddr CAL caddr1 (SP-1)(SP-2)(SP-4) PC9-0Saves contents of PC and PSW to (SP-3) PSW, SP SP - 4 stack, decrements SP by 4, and calls PC9-0 0 1 P4P30 0 0 P2P1P0address indicated by caddr1 RT PC9-0 (SP)(SP+2)(SP+3) Restores contents of stack memory to SP SP + 4 PC and increments SP by 4 RTS PC9-0 (SP)(SP+2)(SP+3) Restores contents of stack memory to Un- SP SP + 4 PC, increments SP by 4, and skips conditionally then skip unconditionally unconditionally TAMSP SP 5-4 A1-0Transfers lower 2 bits of accumulator SP3-1 (HL)3-1, SP0 0 to SP5-4, and higher 3 bits of contents of memory, addressed by HL, to SP 3-1 Skip SKC Skip if C = 1 Skips if carry flag is 1 C = 1 SKABT bit Skip if Abit = 1 Skips if bit, specified by B1-0, of Abit = 1 accumulator is 1 SKMBT bit Skip if (HL)bit = 1 Skips if bit, specified by B1-0, of (HL)bit = 1 memory addressed by HL is 1 SKMBF bit Skip if (HL)bit = 0 Skips if bit, specified by B1-0, of (HL)bit = 0 memory addressed by HL is 0 SKAEM Skip if A = (HL) Skips if accumulator contents are A = (HL) equal to contents of memory addressed by HL SKAEI n4 Skip if A = n4 Skips if accumulator contents are A= n4 equal to n4 SKI n2 Skip if INT RQF = 1 Skips if INT RQF is 1, and then INT RQF = 1 Then reset INT RQF clears INT RQF to 0 0 0 1 0 0 0 P9 P8 1 0 P5 P4 P3 P2 P1 P0 0 0 1 1 0 0 P9 P8 1 1 1 P4 P3 P2 P1 P0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 1 1 1 1 1 0 1 0 1 1 0 1 0 0 1 1 1 0 1 B1 B0 0 1 1 0 0 1 B1 B0 0 1 1 0 0 0 B1 B0 0 1 0 1 1 1 1 1 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 P7 P6 P5 P4 P3 P2 P1 P0 P7 P6 P5 P4 P3 P2 P1 P0 0 0 1 1 0 0 0 1 0 1 1 0 I3 I2 I1 I0 0 1 0 0 0 0 I1 I0

µPD7566A, 7566A(A) Timer Control→ 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 1 0 1 1 1 0 0 0 1 0 1 1 1 0 1 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 1 0 1 1 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 1 OP Code Instructions Mne- ope-Operation Skip monic rand B1 B2Condition TIMER Start Timer Starts timer operation TCNTAM A CT7-4Transfers higher 4 bits of count (HL) CT3-0register to accumulator, and lower 4 bits to memory addressed by HL Input/Output IPL A Port (L) Loads contents of port specified by L register to accumulator IP1 A Port 1 Inputs contents of port to accumulator OPL Port/Mode reg.(L) A Outputs accumulator contents to port or mode register specified by L register RPBL NotePort bit (L) 0 Resets bits of port 8, 10, or 11 specified by L register SPBL NotePort bit (L) 1 Sets bits of port 8, 10, or 11 specified by L register CPU Control HALT Set Halt mode Sets HALT mode STOP Set Stop Mode Sets STOP mode NOP No operation Performs nothing but waits for 1 machine cycle NoteAlthough the SPBL and RPBL instructions are to set or reset a specified bit, they also output port contents (in 4-bit units) including the specified bit as soon as the specified bit has been set or reset (the contents of the output latch are output to pins other than the specified bit). Before executing these instructions, initialize the contents of the output latch by executing the OPL instruction.

µPD7566A, 7566A(A) 6. ELECTRICAL SPECIFICATIONS µPD7566A: ABSOLUTE MAXIMUM RATINGS (Ta = 25°C) Item Symbol Condition Rating Unit Supply Voltage V DD -0.3 to + 7.0 V Other than ports 10 and 11 -0.3 to V DD + 0.3 V Input Voltage V I Ports 10 Note 1 -0.3 to VDD + 0.3 V and 11 Note 2 -0.3 to +11 V Other than ports 8 to 11 -0.3 to V DD + 0.3 V Output Voltage V O Ports 8 Note 1 -0.3 to VDD + 0.3 V to 11 Note 2 -0.3 to +11 V High-Level 1 pin -5 mA Output Current IOH Total of all pins -15 mA Ports 8 and 9 30 mA 1 pinLow-Level IOL Others 15 mAOutput Current Total of all pins 100 mA Operating Topt -10 to +70 °CTemperature Storage Tstg -65 to +150 °CTemperature Power Shrink DIP 480 Dissipation Pd Ta = 70°Cm W Mini-flat 250 Note 1. CMOS input/output or N-channel open-drain output with pull-up resistor connected 2. N-channel 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.

µPD7566A, 7566A(A) µPD7566A(A): ABSOLUTE MAXIMUM RATINGS (Ta = 25°C) Item Symbol Condition Rating Unit Supply Voltage V DD -0.3 to + 7.0 V Other than ports 10 and 11 -0.3 to V DD + 0.3 V Input Voltage V I Ports 10 Note 1 -0.3 to VDD + 0.3 V and 11 Note 2 -0.3 to +11 V Other than ports 8 to 11 -0.3 to V DD + 0.3 V Output Voltage V O Ports 8 Note 1 -0.3 to VDD + 0.3 V to 11 Note 2 -0.3 to +11 V High-Level 1 pin -5 mA Output Current IOH Total of all pins -15 mA Ports 8 and 9 30 mA 1 pinLow-Level IOL Others 15 mAOutput Current Total of all pins 100 mA Operating Topt -40 to +85 °CTemperature Storage Tstg -65 to +150 °CTemperature Power Shrink DIP 350 Dissipation Pd Ta = 85°Cm W Mini-flat 195 Note 1. CMOS input/output or N-channel open-drain output with pull-up resistor connected 2. N-channel 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. CAPACITANCE (Ta = 25°C, VDD = 0V) Item Symbol Condition MIN. TYP. MAX. Unit Input Capacitance C IN P00, P01, P10 to P13 15 pF f = 1 MHz Output Capacitance C OUT 0V at pins C in0 to C in31 5 p F other than measured pin Ports 8 and 9 35 pFInput/Output CIOCapacitance Ports 10 and 11 35 pF

µPD7566A, 7566A(A) CL1 CL2 C2C1 OSCILLATOR CHARACTERISTICS µPD7566A : T a = -10 to +70°C, VDD = 2.7 to 6.0V µPD7566A(A) : T a = -40 to +85°C, VDD = 2.7 to 6.0V Oscillator External Item Condition MIN. TYP. MAX. Unit Circuit VDD = 4.5 to 6.0V 290 700 710 kHz Oscillation V DD = 4.0 to 6.0V 290 500 510 kHz frequency (fCC)V DD = 3.5 to 6.0V 290 400 410 kHz Ceramic Oscillator Note VDD = 2.7 to 6.0V 290 300 310 kHz After the Oscillation minimum value of stabilization time the operating 20 ms (tOS) voltage range has been reached Note The following ceramic oscillators are recommended: Operating Recommended Constants Voltage Range Manufacturer Product [V] Name C1 [pF] C2 [pF] R2 [k Ω ] MIN. MAX. CSB300D 330 330 6.8 2.7 6.0 CSB400P 220 220 6.8 3.5 6.0 Murata Mfg. Co., Ltd. CSB500E 100 100 6.8 4.0 6.0 CSB700A 100 100 6.8 4.5 6.0 KBR-300B 470 470 0 2.7 6.0 KBR-400B 330 330 0 3.5 6.0Kyoto Ceramic Co., Ltd. KBR-500B 220 220 0 4.0 6.0 KBR-680B 220 220 0 4.5 6.0 CRK-400 120 120 12 3.5 6.0 Toko Inc. CRK-500 100 100 12 4.0 6.0 CRK-680 82 82 12 4.5 6.0 Caution 1. Locate the oscillation circuit as close as possible to the CL1 and CL2 pins. 2. Do not route any other signal lines in the area enclosed by the dotted Line.

µPD7566A, 7566A(A) DC CHARACTERISTICS µPD7566A : T a = -10 to +70°C, VDD = 2.7 to 6.0V µPD7566A(A) : T a = -40 to +85°C, VDD = 2.7 to 6.0V Item Symbol Condition MIN. TYP. MAX. Unit VIH1 Other than ports 10 and 11 0.7V DD VDD V High-Level Input Voltage VIH2 Ports 10 and 11 Note 1 0.7VDD 9V Low-Level Input Voltage V IL 0 0.3V DD V VDD = 4.5 to 6.0V High-Level Output Voltage V OH Ports 8 to 11 IOH = -1 mA VDD-2.0 V IOH = -100 µAV DD-1.0 V VDD = 4.5 to 6.0V 0.4 VIOL = 1.6 mA Ports 10 and 11 V DD = 4.5 to 6.0V 2.0 VIOL = 10 mA Low-Level Output Voltage V OL IOL = 400 µA 0.5 V VDD = 4.5 to 6.0V 2.0 V Port 8 and 9 IOL = 15 mA IOL = 600 µA 0.5 V ILIH1 VIN = VDD 3 µA High-Level Input Leakage Current ILIH2 VIN = 9V, Ports 10 and 11 Note 1 10 µA Low-Level Input ILIL VIN = 0V -3 µALeakage Current ILOH1 VOUT = VDD 3 µA High-Level Output Leakage Current ILOH2 VOUT = 9V, Ports 8, 9, 10 and 11 Note 1 10 µA Low-Level Output ILOL VOUT = 0V -3 µALeakage Current Resistor Interconnected To Ports 0 and 1, RESET 23.5 47 70.5 k ΩInput Pin (Pull-Up, Pull-Down) Resistor Interconnected To Ports 10 and 11 7.5 15 22.5 k ΩOutput Pin (Pull-Up) VDD = 5V+10% 650 2200 µAfCC = 700 kHz IDD1 Operation mode VDD = 3V+10% 120 360 µAfCC = 300 kHz VDD = 5V+10% 450 1500 µASupply CurrentNote 2 fCC = 700 kHz IDD2 HALT mode VDD = 3V+10% 65 200 µAfCC = 300 kHz VDD = 5V+10% 0.1 10 µA IDD3 STOP mode VDD = 3V+10% 0.1 5 µA Note 1. With N-channel open-drain input/output selected 2. Excluding current flowing through internal pull-up and pull-down resistors, comparator, and internal bias resistor

µPD7566A, 7566A(A) COMPARATOR CHARACTERISTICS µPD7566A : T a = -10 to +70°C, VDD = 3.0 to 6.0V µPD7566A(A) : T a = -40 to +85°C, VDD = 3.0 to 6.0V Item Symbol Condition MIN. TYP. MAX. Unit Ccomparator Current Cin 0 to Cin 3, Dissipation Note 1 circuit 25 50 100 µA VDD = 5V±10% Input Voltage Vcin 0V DD VRange Vref Response Time 2 4 t CY VDD =5V±10% 10 50 mV Comparator Resolution Input 100 mV Input Leakage ±3 µACurrent Internal Bias Rref 50 100 200 k ΩResistor Note Excluding current flowing through internal bias resistor AC CHARACTERISTICS µPD7566A : T a = -10 to +70°C, VDD = 2.7 to 6.0V µPD7566A(A) : T a = -40 to +85°C, VDD = 2.7 to 6.0V Item Symbol Condition MIN. TYP. MAX. Unit VDD =4.5 to 6.0V 2.8 6.9 µs Internal Clock Cycle Time t CY Note 6.4 6.9 µs VDD = 4.5 to 6.0V 0 710 kHz P00 Event Input Frequency f P0 0 350 kHz P00 Input Rise and Fall Time t P0R, tP0F 0.2 µs VDD = 4.5 to 6.0V 0.7 µs 1.45 µs INT0 High- and Low-Level Widths tI0H, tI0L 10 µs Reset High- and Low-Level Widths t RSH, tRSL 10 µs Note tCY = 2/fCC (Refer to the characteristic curve for the power requirement not listed above.) AC TIMING MEASURING POINTS (other than CL1 input) duty = 50% P00 Input High- and t P0H, Low-Level Widths t P0L

0.7 VDD

0.3 VDD

µPD7566A, 7566A(A) DATA MEMORY DATA RETENTION CHARACTERISTICS IN STOP MODE µPD7566A : T a = -10 to +70°C µPD7566A(A): T a = -40 to +85°C Item Symbol Condition MIN. TYP. MAX. Unit Supply Voltage for Data Retention VDDDR 2.0 6.0 V Supply Current for Data Retention IDDDR VDDDR = 2.0V 0.1 5 µA Reset Setup Time t SRS 0 µs Oscillation Stabilization Time t OS After VDD reached 4.5V 20 ms DATA RETENTION TIMING VDD STOP instruction is carried out RESET VDDDR tOS tSRS STOP mode Data retention mode HALT mode Operation mode

µPD7566A, 7566A(A) CLOCK TIMING RESET INPUT TIMING TEST INPUT TIMING INT0 tI0HtI0L tCR CL1 input tCF tCHtCL 1/fC tP0R P00 input tP0F tP0HtP0L 1/fP0 RESET tRSHtRSL

µPD7566A, 7566A(A) 7. CHARACTERISTIC DATA CL1 CL2 C2C1 fCC vs. VDD Guaranteed Operation Range PD7566A PD7566A(A) System clock oscillation frequency fCC [kHz] 1000 100 0123456 Supply voltage VDD [V] Guaranteed operation range µ : T = –10 to +70 °C a aµ t1 t2 t1>t2:fx= 1 2t2 t1<t2:fx= 1 2t1 Guaranteed operation range fPO vs. VDD Guaranteed Operation Range P00 event input frequency fPO [kHz]1000 500 100 0123456 Supply voltage VDD [V] PD7566A PD7566A(A) µ : T = –10 to +70 °C a aµ

µPD7566A, 7566A(A) IDD vs. VDD Characteristic Example (Ta = 25°C) Supply current IDD [µA] 1000 500 100 0123456 Supply voltage V DD [V] CL1 CL2 330 pF 330 pF 100 pF 100 pF 6.8 k Ω 6.8 kΩ fcc = 700 kHz Operation mode CSB300D CSB700A fcc = 300 kHz Operation mode HALT mode HALT mode CL1 CL2 (Reference Value) Low-level output voltage V0L [V] 123456 Low-level output current I0L [mA] IOL vs. VOL Characteristic Example (Ports 8 and 9) (Ta = 25°C) VDD = 3 V VDD = 5 V Caution The absolute maximum rating is 30 mA per pin. (Reference Value)

µPD7566A, 7566A(A) Low-level output voltage V0L [V] 123456 Low-level output current I0L [mA] IOL vs. VOL Characteristic Example (Ports 10 and 11) (Ta = 25°C) VDD = 5 V VDD = 3 V Caution The absolute maximum rating is 15 mA per pin. (Reference Value) VDD – V0H [V] 123456 High-level output current I0H [mA] IOH vs. VOH Characteristic Example (Ta = 25°C) VDD = 3 V VDD = 5 V (Reference Value) Caution The absolute maximum rating is –5 mA per pin.

µPD7566A, 7566A(A) 8. APPLICATION CIRCUITS (1) Refrigerator and Air Conditioner The above example shows a circuit for a refrigerator. A circuit for an air conditioner can be implemented by replacing only the heater with a fan motor. MAX. 9 V AC100V ++ RD 5.1E Thermistors Vref P100 P101 P102 P103 CL1 CL2 CMOS output PD7566A Input with pull-up resistor interconnected (Pull-down resistor interconnected) INT0 P110 P111 P112 2SA733 Cin0 Cin1 Cin2 Cin3 RES P80 P81 P82 P90 P91 LED×4 AC03DGM, etc. AC16DGM, etc. Heater Compressor motor Overcurrent detector Switch input (door switch) Comparator inputs P113 (CMOS output) µ 2SC945A

µPD7566A, 7566A(A) (2) Rice Cooker 2SA733 LED ×4 RES P80 P81 P82 P90 P91 Open-drain outputs P111 P112 CMOS outputs P00 P11 P12 P13 Cin 0 Comparator input P110 Vref P100 P101 P102 P103 AC100 V RD 10E+ RD 5.1E µ PD7566A Inputs with pull-down resistor interconnected CL1 CL2 CMOS output BZ Piezoelectric buzzer RL + RD 24E AC03DGM, etc. Heater for cooking Heater for temperature control

µPD7566A, 7566A(A) (3) Washing Machine AC100V + 2SA733 RES P90 P91 Open-drain P102 (open-drain input) P100 P101 CMOS outputs P110 P113 µPD7566A Piezoelectric buzzer Driver µPA80C LED× 12 P80 P81 P82 P10 P11 P12 P13 CL2CL1 P00 P01 Inputs with pull-up resistor interconnected BZ P103 (CMOS output) AC0V8DGM etc. AC03DGM etc. AC08DGM etc. M × 2 Water supply magnet Drainage magnet Motor Input 12 keys Open-drain outputs to RD 5.6E 2SC945A

µPD7566A, 7566A(A) (4) Cassette Deck Controller Motor plunger driver P91 P110-P1123 Recording signal Mute signal Leader signal Tape end detection Pause input Voltage detection P113 P102 P103 INT0 P01 P13 P80 P81 P82 P90 P10 P11 P12 Inputs with pull-up resistor interconnected Open-drain outputs CL1 CL2 P100 P101 2SA733 LED×8 12 keys µPD7566A

µPD7566A, 7566A(A) (5) Remote Controller µPD7566A P80 (CMOS Output) RESET (with pull-down resistor interconnected) P00 P01 P10 P11 P12 P13 P100 P101 P102 P103 P82 P90 P91 P110 P111 P112 P113 P81 Inputs with pull-up resistor interconnected N-channel, open-drain output Ceramic oscillator 304 kHz Infrared light-emitting diode 2SA733 70 keys max. CL1 CL2 SE307-C 2SA952

µPD7566A, 7566A(A) 9. PACKAGE DRAWINGS DRAWINGS OF MASS-PRODUCTION PRODUCT PACKAGES (1/2)

24 PIN PLASTIC SHRINK DIP (300 mil)

K L M R NOTE Each lead centerline is located within 0.17 mm (0.007 inch) of its true position (T.P.) at maximum material condition. S24C-70-300B-1 ITEM MILLIMETERS INCHES A B C D F G H I J K 23.12 MAX. 1.778 (T.P.) 3.2±0.3 0.51 MIN. 4.31 MAX. 1.78 MAX. L M 0.17 0.25 7.62 (T.P.) 5.08 MAX. 6.5 N 0~15° 0.50±0.10 0.85 MIN. R 0.911 MAX. 0.070 MAX. 0.020 0.033 MIN. 0.126±0.012 0.020 MIN. 0.170 MAX. 0.200 MAX. 0.300 (T.P.) 0.256 0.010 0.007 0~15° +0.004 –0.003 0.070 (T.P.) Item "K" to center of leads when formed parallel.2) +0.10 –0.05 +0.004 –0.005 24 13 11 2 A Caution Dimensions of ES products are different from those of mass-production products. Refer to DRAWINGS OF ES PRODUCT PACKAGES (1/2).

µPD7566A, 7566A(A) DRAWINGS OF MASS-PRODUCTION PRODUCT PACKAGES (2/2) ITEM MILLIMETERS INCHES A B C E F G H I J 15.54 MAX. 1.27 (T.P.) 1.8 MAX. 1.55 7.7±0.3 0.78 MAX. 0.12 1.1 5.6 M 0.1±0.1 N 0.612 MAX. 0.031 MAX. 0.004±0.004 0.071 MAX. 0.061 0.303±0.012 0.220 0.043 0.005 0.050 (T.P.) P24GM-50-300B-4 P3 ° 3°+7° NOTE Each lead centerline is located within 0.12 mm (0.005 inch) of its true position (T.P.) at maximum material condition. D 0.40 0.016+0.10 –0.05 K 0.20 0.008+0.10 –0.05 L 0.6±0.2 0.024 0.10 –3° +7° –3° 0.004 +0.008 –0.009 +0.004 –0.002 +0.004 –0.003 A C D G P detail of lead end F E B H I L K M J N M 11 2 1324

24 PIN PLASTIC SOP (300 mil)

Caution Dimensions and materials of ES products are different from those of mass-production products. Refer to DRAWINGS OF ES PRODUCT PACKAGES (2/2).

µPD7566A, 7566A(A) DRAWINGS OF ES PRODUCT PACKAGES (1/2) ES 24 PIN SHRINK DIP (REFERENCE) (UNIT: mm)

µPD7566A, 7566A(A) DRAWINGS OF ES PRODUCT PACKAGES (2/2) ES 24 PIN CERAMIC SOP (REFERENCE) (UNIT: mm)

µPD7566A, 7566A(A) 10. RECOMMENDED PC BOARD PATTERN FOR SOP (REFERENCE) (UNIT: mm) 1.27 1.27 0.51 0.76 7.62

  • The pattern shown above conforms to the Integrated Circuit Dimensions Rule (IC-74-2) stipulated by the Electric Industry Association of Japan (EIAJ).
  • The dimensions of this pattern are applicable to all the products called flat DIP (mini-flat) “form A 300 mil type”.
  • If there is a possibility that solder bridges could be formed, shorten the pitch (0.76 mm) between pads, without changing the length for each pad (1.27 mm).

µPD7566A, 7566A(A) 11. RECOMMENDED SOLDERING CONDITIONS For the µPD7566A, soldering must be performed under the following conditions. For details of recommended conditions for surface mounting, refer to information document "Semiconductor device mounting technology manual" (IEI-1207). For other soldering methods, please consult with NEC sales personnel. Table 11-1 Soldering Conditions of Surface Mount Type µPD7566AG-XXX: 24-pin plastic SOP (300 mil) µPD7566AG(A)-XXX: 24-pin plastic SOP (300 mil) Recommended Soldering Method Soldering Conditions Conditions Reference Code Infrared Reflow Package peak temperature 230 °C, Time: 30 secondes max. IR30-00-1 (210°C min.), Number of soldering operations: 1, (200°C min.), Number of soldering operations: 1 Wave Soldering Solder bath temperature: 260 °C max., Time: 10 seconds max., WS60-00-1 Preparatory heating temperature: 120 °C max. (Package surface temperature) Pin Partial Heating Pin temperature: 300 °C max., Time: 3 seconds max. (Per side) – Caution Do not use one soldering method in combination with another (however, pin partial heating can be performed with other soldering methods). Table 11-2 Soldering Conditions of Through-Hole Type µPD7566ACS-XXX: 24-pin plastic shrink DIP (300 mil) µPD7566ACS(A)-XXX: 24-pin plastic shrink DIP (300 mil) Soldering Method Soldering Conditions Wave Soldering Solder bath temperature: 260 °C max., Time: 10 seconds max. (Only for pin part) Pin Partial Heating Pin temperature: 300 °C max., Time: 3 seconds max. (Per pin) Caution The wave soldering must be performed at the pin part only. Note that the solder must not be directly contacted to the package body.

µPD7566A, 7566A(A) Product µPD7556 µPD75P56 µPD7556A µPD7556A(A) µPD7566 µPD75P66 µPD7566A µPD7566A(A) Item Instruction RC 4 µs/500 kHz – Cycle/SystemExternal 2.86 µs/700 kHz – Clock (5 V) Ceramic – 2.86 µs/700 kHz Instruction Set45 (SET B) ROM1024 × 8 RAM64 × 4 I/O Ports Total 20 14 or 15 20 19 14 19 Port 0 P00, P01 P00 P00, P01 P00, P01 P00 P00, P01 Port 1 P10-P13 – P10-P13 P10-P13 – P10-P13 Port 8 P80-P82, P80-P82, P80-P82, P80-P82 P83/CL2 P83(CL2) P83/CL2 Breakdown 12 V 9 V 12 V 9 V Voltage Limit Port 9, 10, 11 P90, P91, P100-P103, P110-P113 Breakdown 12 V 9 V 12 V 9 V Voltage Limit Timer/Event Counter8 bits Comparator4 channels Package24-pin plastic shrink DIP 24-pin plastic SOP APPENDIX A. COMPARISON FOR µPD7566A SUB-SERIES PRODUCTS

µPD7566A, 7566A(A) APPENDIX B. DEVELOPMENT SUPPORT TOOLS The following development support tools are available for developing a system in which the µPD7566A is employed. Language Processor This absolute assembler is a program which converts a program written in mnemonic to object code, so that it can be executed by microcomputer. In addition, this absolute assembler is provided with a function which automatically performs branch instruction optimization. µPD7550, 7560 Series Host machine Order code Absolute Assembler OS Media (Product name) MS-DOSTM 3.5"2HD µS5A13AS7554 PC-9800 series Ver.3.10 to 5.25" 2HD µS5A10AS7554 Ver.5.00ANote IBM PC/ATTM PC DOSTM 5.25" 2HC µS7B10AS7554 (Ver.3.1 ) PROM Programming Tool PROM programmer that can easily program typical PROMs of 256K to 4M PG-1500 bits or single-chip microcomputers with built-in PROMs in the stand-alone mode or remotely from the host machine by connecting the accessory Hardware boards and separately sold program adapters. PA-75P56CS PROM programmer adapter to be connected to the PG-1500 for programming the µPD75P56 or the µPD75P66. Allows controlling the PG-1500 connected to the host machine via the serial and parallel interface, from the host machine. Host machine Order code OS Media (Product name) Software PG-1500 Controller MS-DOS 3.5"2HD µS5A13PG1500 PC-9800 series Ver.3.10 to 5.25" 2HD µS5A10PG1500 Ver.5.00ANote IBM PC/AT PC DOS 5.25" 2HC µS7B10PG1500 (Ver.3.1 ) Note Although Ver. 5.00/5.00A is provided with a task swap function, this function cannot be used with this software. Remark The operations of the assembler and PG-1500 controller are guaranteed only on the above host machine and OS.

µPD7566A, 7566A(A) Debugging Tool The EVAKIT-7500B is an evaluation board which can be used commonly with the µPD7500 series products. For system development with the µPD7566A, the and the EV-7554A option EVAKIT-7500B board are used together. EVAKIT-7500B Although the EVAKIT-7500B can operate in the stand-alone mode, the EVAKIT-7500B has 2 serial interface channels on its board to which a console, such as RS-232C, etc., can be connected for debugging. Hardware Additionally, the EVAKIT-7500B has real-time tracing function, so that the conditions of the program counter and the output ports can be traced on a real-time basis. The EVAKIT-7500B also has a PROM programmer for effective debugging. EV-7554A The EV-7554A is used together with the EVAKIT-7500B to evaluate the µPD7566A. SE-7554A The SE-7554A is a simulation board for evaluating a system by mounting the program, developed by the EVAKIT-7500B, in place of the µPD7566A. The EVAKIT-7500 control program controls the EVAKIT-7500B from the host machine by connecting the EVAKIT-7500B to the host machine via the RS-232C. EVAKIT-7500 Host machine Order code Control OS Media (Product name) Software Program (EVAKIT MS-DOS 3.5"2HD µS5A13EV7500-P01 controller) PC-9800 series Ver.3.10 to 5.25" 2HD µS5A10EV7500-P01 Ver.5.00ANote IBM PC series PC DOS 5.25" 2D µS7B11EV7500-P01 (Ver.3.1 ) Note Although Ver. 5.00/5.00A is provided with a task swap function, this 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. Remark Operations of the EVAKIT controller are guaranteed on the above listed host machines with the listed operating system.

µPD7566A, 7566A(A) APPENDIX C. RELATED DOCUMENTS DOCUMENT RELATED TO DEVICE Document Name Document No. User's Manual IEU-1111D µPD7500-series Selection Guide IF-1027G DOCUMENT RELATED TO DEVELOPMENT TOOL Document Name Document No. EVAKIT-7500B User's Manual EEU-1017C Hardware EV-7554A User's Manual EEU-1034A PG-1500 User's Manual EEU-1335B µPD7550, 7560-series Abusolute Assembler User's Manual EEM-1006 Software EVAKIT-7500 Control Program User's Manual MS-DOS base EEM-1356 PC DOS base EEM-1049 PG-1500 Controller User's Manual EEU-1291B OTHER RELATED DOCUMENT Document Name Document No. Package Manual IEI-1213 Semiconductor Device Mounting Technology Manual IEI-1207 Quality Grade on NEC Semiconductor Devices IEI-1209A NEC Semiconductor Device Reliability/Quality Control System IEI-1203A Static Electricity Discharge (ESD) Guarantee Guide IEI-1201 Semiconductor Device Quality Guarantee Guide MEI-1202 Microcomputer-Related Product Guide -Third Party Product Note Remark These documents above are subject to change without notice. Be sure to use the latest document for designing. Note To be published.

µPD7566A, 7566A(A) [MEMO]

µPD7566A, 7566A(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. 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.

[MEMO] 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 The application circuits and their parameters are for references only and are not intended for use in actual design-in's. MS-DOS is a trademark of Microsoft Corporation. PC DOS and PC/AT are trademarks of IBM Corporation. µPD7566A, 7566A(A)