NEC mPD78C14 A Schematics

Mos integrated circuit, 8-bit single-chip microcontroller (with a/d converter)

Advertisement

Quick Links

8-BIT SINGLE-CHIP MICROCONTROLLER (WITH A/D CONVERTER)
The µ PD78C14(A) is a single-chip, CMOS 8-bit microcontroller in which a 16-bit ALU, a ROM, a RAM, an A/D converter,
a multifunction timer/event counter, and a serial interface are all integrated. Moreover, a 48-Kbyte external expansion
memory (ROM/RAM) can be connected.
Since the µ PD78C14(A) uses the CMOS construction, its operations are performed with low power consumption. By
using the standby function, functions such as data retention are performed with lower power consumption.
For details on functions, refer to the User's Manual listed below. Please read it before starting design work.
FEATURES
High reliability as compared with µ PD78C14
159 instructions: 87AD instruction set
Instruction cycle: 0.8 µ s at 15 MHz
Internal ROM: 16384 W x 8
Internal RAM: 256 W x 8
Direct addressing to an external memory (ROM/RAM) up to 64 Kbytes
Highly accurate 8-bit A/D converter: Eight analog inputs
General-purpose serial interface: Asynchronous, synchronous, and I/O interface modes
Multifunction 16-bit timer/event counter
Two 8-bit timers
I/O lines: 44
Interrupt functions: Three external, eight internal
• Non-maskable interrupt: 1
• Maskable interrupts: 10
Zero-cross detection function (two inputs)
Standby functions: HALT mode, Hardware/software STOP mode
ORDERING INFORMATION
Part number
µ PD78C14G(A)-xxx-36
µ PD78C14GF(A)-xxx-3BE
µ PD78C14L(A)-xxx
Remark xxx is a ROM code suffix.
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.
Document No. IC-2813B
(O.D. No. IC-8242B)
Date Published May 1995 P
Printed in Japan
DATA SHEET
87AD series µ PD78C18 User's Manual: IEU-1314
Multiply and divide instructions, 16-bit arithmetic operation instructions
64-pin plastic QUIP
64-pin plastic QFP (14 x 20 mm)
68-pin plastic QFJ (950 x 950 mil)
The information in this document is subject to change without notice.
H
The mark
MOS INTEGRATED CIRCUIT
µ PD78C14(A)
*
Package
*
shows revised points.
Quality grade
Special
Special
Special
©
©
1991
1994

Advertisement

Table of Contents
loading

Summary of Contents for NEC mPD78C14 A

  • Page 1 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. The information in this document is subject to change without notice.
  • Page 2 µ PD78C14(A) Pin Configuration (Top View) STOP PC0/TxD PC1/RxD PC2/SCK PC3/INT2 PC4/TO PC5/CI PC6/CO0 AREF PC7/CO1 INT1 MODE1 RESET MODE0 51 50 49 48 47 46 454443 42 41 40 39 38 37 36 35 34 33 STOP µ PD78C14GF(A)-XXX-3BE MODE0 RESET MODE1...
  • Page 3 µ PD78C14(A) 9 8 7 6 5 4 3 2 1 68 67 66 6564 63 62 61 µ PD78C14L(A)-XXX PC0/TxD PC1/RxD PC2/SCK PC3/INT2 PC4/TO PC5/CI AREF PC6/CO0 2728 29 30 3132 33 34 35 36 37 38 39 4041 42 43...
  • Page 4 PF7-0/AB15-8 LATCH INC/DEC PC0/TxD SERIAL I/O PC1/RxD MAIN PD7-0/AD7-0 PC2/SCK PROGRAM MEMORY Note INT. (16 K-BYTE) DATA INT1 CONTROL MEMORY PC7-0 (256-BYTE) BUFFER 8/16 PC3/INT2/TI TIMER PC4/TO INTERNAL DATA BUS PB7-0 PC5/CI TIMER PC6/CO0 EVENT LATCH LATCH COUNTER PC7/CO1 INST.REG PA7-0 AN7-0 INST.
  • Page 5: Table Of Contents

    µ PD78C14(A) CONTENTS DIFFERENCES BETWEEN µ PD78C14(A) AND µ PD78C14 ...........6 PIN FUNCTIONS ........................7 Pin Function List .........................7 Pin Input/Output Circuits ......................9 Recommended Connections for Unused Pins............... 13 INSTRUCTION SET ........................14 Operand Expression Format/Description Method ..............14 Instruction Code Description ....................16 Instruction Execution Time......................17 LIST OF MODE REGISTERS ....................29 ELECTRICAL SPECIFICATIONS ..................30...
  • Page 6: Differences Between Μ Pd78C14(A) And Μ Pd78C14

    µ PD78C14(A) 1. DIFFERENCES BETWEEN µ PD78C14(A) AND µ PD78C14 µ PD78C14(A) µ PD78C14 Part number Item Quality grade Special Standard Electrical Input leakage current Input leakage current (AN7-0; ±1 µ A (MAX.) AN7-0; ±10 µ A (MAX.) specifications Package •...
  • Page 7: Pin Functions

    µ PD78C14(A) 2. PIN FUNCTIONS 2.1 Pin Function List Input/Output Function PA7-PA0 Input/Output These 8 pins constitute an 8-bit I/O port and input/output can be specified in bit (Port A) units. PB7-PB0 Input/Output These 8 pins constitute an 8-bit I/O port and input/output can be specified in bit (Port B) units.
  • Page 8 µ PD78C14(A) (Continued) Input/Output Function Output This is a strobe signal output to read data from external memory. This signal (Read becomes high level except during the data read machine cycle for external memory. Strobe) This signal becomes output high impedance when the RESET signal is low or in the hardware STOP mode.
  • Page 9: Pin Input/Output Circuits

    µ PD78C14(A) 2.2 Pin Input/Output Circuits Schematic input/output circuits of the pins are shown in Table 2-1 and figures from (1) to (11). Table 2-1. Name of Type No. Type No. Type No. PA0-7 RESET PB0-7 PC0-1 PC2/SCK PC3/INT2 STOP PC4-7 MODE0 PD0-7...
  • Page 10 µ PD78C14(A) (1) Type 1 P-ch N-ch (2) Type 2 (3) Type 4 output data P-ch N-ch output disable (4) Type 5 output data IN/OUT Type 4 output disable Type 1...
  • Page 11 µ PD78C14(A) (5) Type 7 P-ch N-ch – sampling reference voltage (from voltage tap of serial resistor string) (6) Type 8 output data output disable Type 5 IN/OUT N-ch N-ch Type 2 (7) Type 9 self bias enable data Type 1 (8) Type 10 output data output disable...
  • Page 12 µ PD78C14(A) (9) Type 11 IN/OUT output data N-ch Type 1 (10) Type 12 Type 7 edge detection circuit Type 2 (11) Type 13 Type 1 STOP Mode P-ch...
  • Page 13: Recommended Connections For Unused Pins

    µ PD78C14(A) 2.3 Recommended Connections for Unused Pins Recommended connection PA7-0 PB7-0 PC7-0 Connect to V or V via resistor. PD7-0 PF7-0 Leave unconnected. STOP INT1, NMI Connect to V or V Connect to V Connect to V AREF AN7-0 Connect to AV or AV...
  • Page 14: Instruction Set

    µ PD78C14(A) 3. INSTRUCTION SET 3.1 Operand Expression Format/Description Method Expression format Description method V, A, B, C, D, E, H, L EAH, EAL, B, C, D, E, H, L A, B, C PA, PB, PC, PD, PF, MKH, MKL, ANM, SMH, SML, EOM, ETMM, TMM, MM, MCC, MA, MB, MC, MF, TXB, TM0, TM1, ZCM PA, PB, PC, PD, PF, MKH, MKL, ANM, SMH, EOM, TMM, RXB, CR0, CR1, CR2, CR3 PA, PB, PC, PD, PF, MKH, MKL, ANM, SMH, EOM, TMM...
  • Page 15 µ PD78C14(A) Remarks 1. sr to sr4 (special register) 2. rp to rp3 (register pair) 4. f (flag) : PORT A ETMM : TIMER/EVENT : STACK POINTER CY : CARRY : PORT B COUNTER MODE : BC HC : HALF CARRY : PORT C : TIMER/EVENT : DE...
  • Page 16: Instruction Code Description

    µ PD78C14(A) 3.2 Instruction Code Description addressing (BC) rpa1 (DE) (HL) (DE) (HL) – (DE) rpa2 – (HL) (DE+byte) (HL+A) (HL+B) (HL+EA) Special-reg (HL+byte) rpa3 addressing (DE) (HL) (DE) (HL) (DE+byte) ETMM (HL+A) (HL+B) (HL+EA) (HL+byte) INTF FEIN Special-reg Special-reg ETM0 ECNT ETM1...
  • Page 17: Instruction Execution Time

    µ PD78C14(A) 3.3 Instruction Execution Time In the following table, one state consists of three clock cycles. So, when the 15 MHz clock is used, one state becomes 200 ns (= 3 x 1/15 µ s). Execution time of the 4-state instruction, the shortest instruction, becomes 0.8 µ s.
  • Page 18 Instruction code Skip State Mnemonic Operand Operation condition r1 ← A r1, A 0 0 0 1 1 T A ← r1 A, r1 0 0 0 0 1 T sr ← A sr, A 0 1 0 0 1 1 0 1 1 1 S A ←...
  • Page 19 Instruction code Skip State Mnemonic Operand Operation condition sr3 ← EA sr3, EA 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 U DMOV EA ← sr4 EA, sr4 1 1 0 0 0 0 0 V (word) ←...
  • Page 20 Instruction code Skip State Mnemonic Operand Operation condition A ← A+r A, r 0 1 1 0 0 0 0 0 1 0 1 0 0 R Carry ADDNC r ← r+A r, A 0 0 1 0 Carry A ← A–r A, r 1 1 1 0 r ←...
  • Page 21 Instruction code Skip Mnemonic Operand State Operation condition A, r A–r Zero 0 1 1 0 0 0 0 0 1 1 1 1 1 R r, A 0 1 1 1 r–A Zero A, r No Zero 1 1 0 0 Zero A, r OFFA...
  • Page 22 Instruction code Skip Mnemonic Operand State Operation condition A ← A+byte A, byte 0 1 0 0 0 1 1 0 Data r ← r+byte r, byte 0 1 1 1 0 1 0 0 0 1 0 0 0 R Data sr2 ←...
  • Page 23 Instruction code Skip Mnemonic Operand State Operation condition sr2 ← sr2 byte sr2, byte Data 0 1 1 0 0 1 0 0 0 0 0 1 S A ← A byte A, byte 0 0 0 1 0 1 1 1 Data r ←...
  • Page 24 Instruction code Skip State Mnemonic Operand Operation condition A, byte A byte 0 1 0 0 0 1 1 1 Data Zero r, byte r byte 0 1 1 1 0 1 0 0 0 1 0 0 1 R Data Zero sr2, byte...
  • Page 25 Instruction code Skip Mnemonic Operand State Operation condition Offset A (V.wa) Zero OFFAW 0 1 1 1 0 1 0 0 1 1 0 1 1 0 0 0 (V.wa) ← (V.wa) byte wa, byte ANIW 0 0 0 0 0 1 0 1 Offset Data (V.wa) ←...
  • Page 26 Instruction code Skip State Mnemonic Operand Operation condition EA, rp3 0 1 1 1 0 1 0 0 1 0 1 0 1 1 P EA–rp3–1 Borrow EA, rp3 Borrow EA–rp3 1 0 1 1 EA, rp3 No Zero EA–rp3 1 1 1 0 EA, rp3 1 1 1 1...
  • Page 27 Instruction code Skip Mnemonic Operand State Operation condition 0 0 1 1 1 0 0 0 Rotate Left Digit 0 1 0 0 1 0 0 0 1 0 0 1 Rotate Right Digit ← r2 ← CY, CY ← r2 0 1 R , r2 ←...
  • Page 28 Instruction code Skip State Mnemonic Operand Operation condition , (SP– 2) ← (PC+1) (SP– 1) ← (PC+1) , PC CALT word 1 0 0 ← (128+2ta), PC ← (129+2ta), SP ← SP–2 (SP–1) ← PSW, (SP–2) ← (PC+1) , (SP–3) 0 1 1 1 0 0 1 0 SOFT1 ←...
  • Page 29: List Of Mode Registers

    µ PD78C14(A) 4. LIST OF MODE REGISTERS Name of mode register Read/Write Function MODE A Specifies input/output of Port A in bit units MODE B Specifies input/output of Port B in bit units MODE CONTROL C Specifies port/control mode of Port C in bit units MODE C Specifies input/output of Port C set in the port mode in bit units MEMORY MAPPING...
  • Page 30: Electrical Specifications

    µ PD78C14(A) 5. ELECTRICAL SPECIFICATIONS ABSOLUTE MAXIMUM RATINGS (T = 25 ˚C) Parameter Symbol Test Condition Ratings Unit Power Supply Voltage –0.5 to +7.0 to V + 0.5 –0.5 to +0.5 Input Voltage –0.5 to V + 0.5 Output Voltage –0.5 to V + 0.5 Output Current Low...
  • Page 31 µ PD78C14(A) = +5.0 V ± 10 %, V Oscillation Characteristics (T = –40 to +85 ˚C, V = AV = AV = 0 V, – 0.8 V ≤ AV ≤ V , 3.4 V ≤ V ≤ AV AREF Resonator Recommended Circuits Parameter...
  • Page 32 µ PD78C14(A) = +5.0 V ± 10 %, V DC CHARACTERISTICS (T = –40 to +85 ˚C, V = AV = AV = 0 V) Parameter Symbol Test Condition MIN. TYP. MAX. UNIT Input Low Voltage All except RESET, STOP, NMI, SCK, INT1, TI, AN7 to AN4 RESET, STOP, NMI, SCK, INT1, TI, AN7 to AN4 0 0.2V...
  • Page 33 µ PD78C14(A) = +5.0 V ± 10 %, V AC CHARACTERISTICS (T = –40 to +85 ˚C, V = AV = AV = 0 V) READ/WRITE OPERATION: Parameter Symbol Test Condition MIN. MAX. UNIT X1 Input Cycle Time Address Setup Time to ALE = 15 MHz, C = 150 pF Address Hold Time after ALE ↓...
  • Page 34 µ PD78C14(A) SERIAL OPERATION: Parameter Symbol Test Condition MIN. MAX. UNIT SCK Cycle Time SCK Input Note 1 Note 2 µ s SCK Output SCK Width Low SCK Input Note 1 Note 2 SCK Output SCK Width High SCK Input Note 1 Note 2 SCK Output...
  • Page 35 µ PD78C14(A) = +5.0 V ± 10 %, V A/D CONVERTER CHARACTERISTICS: (T = –40 to +85 ˚C, V = AV = 0 V, – 0.5 V ≤ AV ≤ V , 3.4 V ≤ V ≤ AV AREF Parameter Symbol Test Condition MIN.
  • Page 36 µ PD78C14(A) AC CHARACTERISTIC CALCULATING EXPRESSION depending on t Symbol Calculating Expression MIN./MAX. UNIT 2T – 100 MIN. T – 30 MIN. 3T – 100 MIN. 7T – 220 MAX. 5T – 200 MAX. 4T – 150 MAX. T – 50 MIN.
  • Page 37 µ PD78C14(A) Timing Waveform Read Operation address (high-order) PF7-0 PD7-0 address (low-order) read data MODE1 Note 1 (M1) MODE0 Note 2 (IO/M) Write Operation PF7-0 address (high-order) PD7-0 write data address (low-order) MODE0 Note 3 (IO/M) Notes 1. M1 signal is output to MODE1 pin at first OP code fetch cycle if MODE1 pin is pulled up. 2.
  • Page 38 µ PD78C14(A) Serial Operation Timer Input Timing Timer/Event Counter Input Timing Event Counter Mode CI1H CI1L Pulse Width Measurement Mode CI2H CI2L...
  • Page 39 µ PD78C14(A) Interrupt Input Timing INT1 INT2 RESET Input Timing 0.8V RESET 0.2V External Clock Timing φH 0.8V 0.8 V φL...
  • Page 40 µ PD78C14(A) Data Memory STOP Mode Low Supply Voltage Data Retention Characteristics (T = –40 to +85 ˚C) Parameter Symbol Test Condition MIN. TYP. MAX. UNIT Data retention power supply voltage DDDR µ A Data retention power supply current = 2.5 V DDDR DDDR µ...
  • Page 41: Characteristic Curves (Reference Value)

    µ PD78C14(A) 6. CHARACTERISTIC CURVES (reference value) vs V = 25 ˚C, f = 15 MHz) (TYP.) (TYP.) Supply Voltage V vs f = 25 ˚C, V = 5 V) (TYP.) (TYP.) Oscillation Frequency f [MHz]...
  • Page 42 µ PD78C14(A) vs V = 25 ˚C, V = 5 V) TYP. Output Low Voltage V vs V = 25 ˚C, V = 5 V) – 1.5 TYP. – 1.0 – 0.5 Supply Voltage – Output High Voltage V – V...
  • Page 43 µ PD78C14(A) vs V DDDR DDDR = 25 ˚C) TYP. Data Retention Supply Voltage V DDDR...
  • Page 44: Package Drawings

    µ PD78C14(A) 7. PACKAGE DRAWINGS 64 PIN PLASTIC QUIP P64GQ-100-36 NOTE ITEM MILLIMETERS INCHES Each lead centerline is located within 0.25 mm +0.3 +0.012 41.5 1.634 (0.010 inch) of its true position (T.P.) at maxi- –0.2 –0.008 mum material condition. 16.5 0.650 +0.10...
  • Page 45 µ PD78C14(A) 64 PIN PLASTIC QFP (14×20) detail of lead end P64GF-100-3B8,3BE,3BR-1 NOTE ITEM MILLIMETERS INCHES Each lead centerline is located within 0.20 23.6 ± 0.4 0.929 ± 0.016 mm (0.008 inch) of its true position (T.P.) at maximum material condition. +0.009 20.0 ±...
  • Page 46 µ PD78C14(A) 68 PIN PLASTIC QFJ ( 950 mil) P68L-50A1-2 NOTE ITEM MILLIMETERS INCHES Each lead centerline is located within 0.12 25.2 ± 0.2 0.992 ± 0.008 mm (0.005 inch) of its true position (T.P.) at maximum material condition. 24.20 0.953 24.20 0.953...
  • Page 47: Recommended Soldering Conditions

    For details of the recommended conditions for soldering, please refer to Semiconductor Device Mounting Technology Manual (IEI-1207). Consult an NEC sales representative about soldering methods and soldering conditions other than listed below. Table 8-1. Soldering Conditions for Surface Mount Type (1) µ...
  • Page 48 µ PD78C14(A) Table 8-2. Soldering Conditions for Hole-Through Type µ PD78C14G(A)-xxx-36: 64-pin plastic QUIP Soldering Method Soldering Conditions Wave Soldering (pin part only) Soldering bath temperature: 260 ˚C or less, Time: Within 10 s Partial heating Pin temperature: 300 ˚C or less, Time: Within 3 s (per pin row) Caution Apply wave soldering only to pins and be careful not to bring solder directly in contact with the package.
  • Page 49: Appendix Development Tools

    µ PD78C14(A) APPENDIX DEVELOPMENT TOOLS The following development tools are provided for system development using the µ PD78C14(A): Language processor 87AD series This relocatable assembler is a program which converts a program written in mnemonics relocatable assembler into object code that can be executed by microcontroller. (RA87) In addition, it contains the automatic function of symbol table generation and branch instruction optimization processing.
  • Page 50 µ PD78C14(A) Debugging tools In-circuit emulator (IE-78C11-M) is provided for µ PD78C14(A) program debugging tools. The system configuration is listed below: Hard- IE-78C11-M IE-78C11-M is an in-circuit emulator for the 87AD series. ware IE-78C11-M can be connected to a host machine efficient debugging. Soft- IE-78C11-M IE-78C11-M and a host machine are connected by RS-232-C and IE-78C11-M is controlled...
  • Page 51 µ PD78C14(A) NOTES FOR CMOS DEVICES 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.
  • Page 52 The quality grade of NEC devices in “Standard“ unless otherwise specified in NEC's Data Sheets or Data Books. If customers intend to use NEC devices for applications other than those specified for Standard quality grade, they should contact NEC Sales Representative in advance.

Table of Contents