Inhaltszusammenfassung zur Seite Nr. 1
USER'S MANUAL
µ PD78214 SUB-SERIES
8-BIT SINGLE-CHIP MICROCOMPUTER
HARDWARE
µ PD78212
µ PD78213
µ PD78214
µ PD78P214
µ PD78212 (A)
µ PD78213 (A)
µ PD78214 (A)
µ PD78P214 (A)
Document No. IEU-1236H
(O. D. No. IEM-5119H)
Date Published September 1994 P
NEC Corporation 1989
Printed in Japan
Inhaltszusammenfassung zur Seite Nr. 2
GENERAL 1 PIN FUNCTIONS 2 CPU FUNCTION 3 CLOCK GENERATOR 4 PORT FUNCTIONS 5 REAL-TIME OUTPUT FUNCTION 6 TIMER/COUNTER UNITS 7 A/D CONVERTER 8 ASYNCHRONOUS SERIAL INTERFACE 9 CLOCK SYNCHRONOUS SERIAL INTERFACE 10 EDGE DETECTION FUNCTION 11 INTERRUPT FUNCTIONS 12 LOCAL BUS INTERFACE FUNCTION 13 STANDBY FUNCTION 14 RESET FUNCTION 15 APPLICATION EXAMPLES 16 PROGRAMMING FOR THE µ PD78214 17 INSTRUCTION OPERATIONS 18 78K/II SERIES PRODUCT LIST A DEVELOPMENT TOOLS B SOFTWARE FOR EMBEDDED APPLICATIONS
Inhaltszusammenfassung zur Seite Nr. 3
Cautions on CMOS Devices 1 Countermeasures against static electricity for all MOSs Caution When handling MOS devices, take care so that they are not electrostatically charged. Strong static electricity may cause dielectric breakdown in gates. When transporting or storing MOS devices, use conductive trays, magazine cases, shock absorbers, or metal cases that NEC uses for packaging and shipping. Be sure to ground MOS devices during assembling. Do not allow MOS devices to stand on plastic plates
Inhaltszusammenfassung zur Seite Nr. 4
The information in this document is subject to change without notice. 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 ot
Inhaltszusammenfassung zur Seite Nr. 5
Main Revisions in This Edition Page Description P.55 V and "Caution" have been added in (a) of Fig. SS 4-2. P.329 "Caution" has been added in (2) of Section 12.4.6. P.383 "Caution" has been added in (b) of Section 14.4.2. P.429 Appendix B has been modified as follows: • "IBM PC series" has been changed to "IBM PC/AT." • Upgraded versions of MS-DOS are now supported by some development tools designed for the PC-9800 series. • 3.5" 2HC has been added to as a PC DOS distribution media. • MS DOS and
Inhaltszusammenfassung zur Seite Nr. 6
PREFACE Users: This manual is aimed at engineers who need to be familiar with the capabilities of the µ PD78214 sub-series for application program development purposes. Purpose: The purpose of this manual is to help users understand the hardware capabilities of the µ PD78214 sub-series. Organization: Two manuals are available for the µ PD78214 sub-series: The hardware manual (this manual) and instruction manual (common to all 78K/II series products). The contents of the manuals are: Hardware
Inhaltszusammenfassung zur Seite Nr. 7
µ PD78P214 µ PD78P214(A) PROM 16K RAM 512 µ PD78214 µ PD78213 PD78214(A) PD78213(A) µ µ ROM 16K ROM-less RAM 512 RAM 512 µ PD78212 µ PD78212(A) ROM 8K RAM 384 To check the details of a register when you know the name of the register: See Appendix D. To check the differences between the µ PD78214 sub-series and other models of the 78K/II series: First see Appendix A to determine the differences between the models then see Appendix E for details. To check the details of a function when you k
Inhaltszusammenfassung zur Seite Nr. 8
Register representation 7 6 5 4 3 2 1 0 The encircled bit number indicates that the bit name B 1 0 × A 1 0 × EDC is used as reserved word by the NEC assembler and defined by the header file, sfrbit.h, by C compiler. Write operation Read operation Either 0 or 1 can be written to this bit without affecting the register 0 or 1 is read from these operation. Register name bits. Write 0 to this bit. Write 1 to this bit. Write a value according to A value is read according the necessary function. to
Inhaltszusammenfassung zur Seite Nr. 9
• Documents related to development tools Document name Document No. IE-78240-R-A In-Circuit Emulator User's Manual EEU-1395 IE-78240-R In-Circuit Emulator User's Manual Hardware EEU-1322 Software EEU-1331 IE-78210-R In-Circuit Emulator Hardware Operator's Manual EEP-1027 IE-78210-R In-Circuit Emulator Software Operator's Manual EEM-1024 IE-78210-R In-Circuit Emulator System For Operation on the PC-9800 Series (MS-DOS) EEM-1260 Software Operator's Manual For Operation on the IBM PC Series (PC DOS
Inhaltszusammenfassung zur Seite Nr. 10
• Other documents Document name Document No. IEI-1213 Package Manual SMD Surface Mount Technology Manual IEI-1207 Quality Grades on NEC Semiconductor Devices IEI-1209 NEC Semiconductor Device Reliability/Quality Control System IEI-1203 Guide to Quality Assurance for Semiconductor Devices MEI-1202 Caution The above documents may be revised without notice. Use the latest versions when you designing an application system.
Inhaltszusammenfassung zur Seite Nr. 11
Inhaltszusammenfassung zur Seite Nr. 12
Contents CONTENTS CHAPTER 1 GENERAL ........................................................................................................................................1 1.1 FEATURES ............................................................................................................................3 1.2 ORDERING INFORMATION AND QUALITY GRADE ........................................................4 1.2.1 Ordering Information............................................................
Inhaltszusammenfassung zur Seite Nr. 13
Contents 3.3 NOTES ...................................................................................................................................53 CHAPTER 4 CLOCK GENERATOR .....................................................................................................................55 4.1 CONFIGURATION AND FUNCTION ...................................................................................55 4.2 NOTES ..........................................................................
Inhaltszusammenfassung zur Seite Nr. 14
Contents Preface 5.8.4 Built-In Pull-Up Resistor..........................................................................................93 5.8.5 Notes .........................................................................................................................93 5.9 NOTES ...................................................................................................................................93 CHAPTER 6 REAL-TIME OUTPUT FUNCTION ...........................................
Inhaltszusammenfassung zur Seite Nr. 15
Contents 7.4.6 Sample Applications ..................................................................................................211 7.5 NOTES ...................................................................................................................................212 7.5.1 Common Notes on All Timers/Counters .................................................................212 7.5.2 Notes on 16-Bit Timer/Counter .......................................................................
Inhaltszusammenfassung zur Seite Nr. 16
Contents 10.4 OPERATIONS IN THE THREE-WIRE SERIAL I/O MODE ..................................................265 10.4.1 Basic Operation Timing ..........................................................................................265 10.4.2 Operation When Only Transmission Is Permitted...............................................267 10.4.3 Operation When Only Reception Is Permitted .....................................................267 10.4.4 Operation When Both Transmission and Reception
Inhaltszusammenfassung zur Seite Nr. 17
Contents 12.3.4 Multiplexed-Interrupt Handling..............................................................................313 12.3.5 Interrupt Request and Macro Service Pending ....................................................316 12.3.6 Interrupt and Macro Service Operation Timing ..................................................317 12.4 MACRO SERVICE FUNCTION .............................................................................................319 12.4.1 Macro Service Outline......
Inhaltszusammenfassung zur Seite Nr. 18
Contents CHAPTER 16 APPLICATION EXAMPLES ............................................................................................................395 16.1 OPEN-LOOP CONTROL OF STEPPER MOTORS ..............................................................395 16.2 SERIAL COMMUNICATION WITH MULTIPLE DEVICES..................................................397 CHAPTER 17 PROGRAMMING FOR THE µ PD78P214 .......................................................................................399 17.1 O
Inhaltszusammenfassung zur Seite Nr. 19
Contents LIST OF FIGURES Fig. No. Title, Page 2-1 I/O Circuits Provided for Pins.......................................................................................................34 3-1 Memory Map of µ PD78212 (EA Pin Driven High) .....................................................................38 3-2 Memory Map of µ PD78212 (EA Pin Driven Low) ......................................................................39 3-3 Memory Map of µ PD78213, µ PD78214, or µ PD78P214 (EA Pin Driven Low
Inhaltszusammenfassung zur Seite Nr. 20
Contents Fig. No. Title, Page 5-25 Connection of Pull-Up Resistors (Port 4) ...................................................................................79 5-26 Example of Driving an LED Directly ...........................................................................................79 5-27 Block Diagram of Port 5................................................................................................................80 5-28 Port 5 Mode Register Format.............................