UPD78F4046GC-3B9 NEC, UPD78F4046GC-3B9 Datasheet

no-image

UPD78F4046GC-3B9

Manufacturer Part Number
UPD78F4046GC-3B9
Description
16-BIT SINGLE-CHIP MICROCONTROLLER
Manufacturer
NEC
Datasheet
Document No. U11447EJ2V0DS00 (2nd edition)
Date Published August 2000 N CP(K)
Printed in Japan
DESCRIPTION
memory allows a program to be written or erased while mounted on the target board.
designing.
FEATURES
APPLICATIONS
ORDERING INFORMATION
The PD78F4046 is a product of the PD784046 Subseries in the 78K/IV Series.
The PD78F4046 has flash memory in place of the internal ROM of the PD784046. The incorporation of flash
Detailed function descriptions are provided in the following user’s manuals. Be sure to read them before
• 78K/IV Series
• Pin compatible with PD784044, 784046 (except V
• Flash memory:
• Internal RAM:
• Operable with the same supply voltage as that of the mask ROM version: V
• Water heaters, vending machines, etc.
• FA fields such as robots, automated machine tools, etc.
PD78F4046GC-3B9
78K/IV Series User’s Manual Instruction:
Part Number
PD784046 Subseries User’s Manual Hardware: U11515E
The information in this document is subject to change without notice. Before using this document, please
confirm that this is the latest version.
Not all devices/types available in every country. Please check with local NEC representative for
availability and additional information.
16-BIT SINGLE-CHIP MICROCONTROLLER
64 KB
2048 bytes
80-pin plastic QFP (14
The mark
DATA SHEET
Package
shows major revised points.
PP
pin)
14 mm)
U10905E
MOS INTEGRATED CIRCUIT
PD78F4046
DD
= 4.5 to 5.5 V
©
1996, 2000

Related parts for UPD78F4046GC-3B9

UPD78F4046GC-3B9 Summary of contents

Page 1

... PD78F4046GC-3B9 The information in this document is subject to change without notice. Before using this document, please confirm that this is the latest version. Not all devices/types available in every country. Please check with local NEC representative for availability and additional information. Document No. U11447EJ2V0DS00 (2nd edition) ...

Page 2

SERIES LINEUP : Products in mass production : Products under development Standard models PD784026 Enhanced A/D, 16-bit timer, power management ASSP models PD784956A For DC inverter control PD784908 TM On-chip IEBus controller PD784915 Software servo control, on-chip analog circuit ...

Page 3

OVERVIEW OF FUNCTIONS Item Number of basic 113 instructions (mnemonics) General-purpose registers 8 bits 16 registers Minimum instruction 125 ns (@16 MHz operation with internal clock) execution time Internal Flash memory 64 KB memory RAM 2048 bytes Memory space 1 ...

Page 4

... SYSTEM CONFIGURATION EXAMPLE (AC SERVO MOTOR CONTROL) .................................... 8 4. BLOCK DIAGRAM ...............................................................................................................................9 5. PIN FUNCTIONS ................................................................................................................................ 10 5.1 Port Pins .................................................................................................................................................... 10 5.2 Non-Port Pins ............................................................................................................................................ 12 5.3 Pin I/O Circuits and Recommended Connection of Unused Pins ..................................................... 14 6. INTERNAL MEMORY SIZE SWITCHING REGISTER (IMS) ........................................................... 16 7. FLASH MEMORY PROGRAMMING ................................................................................................. 17 7.1 Selecting Communication Mode ............................................................................................................ 17 7.2 Function of Flash Memory Programming ............................................................................................. 18 7.3 Connection of Flashpro II and Flashpro III ...

Page 5

DIFFERENCES AMONG PD784046 SUBSERIES The only difference between the PD784044 and PD784046 is the internal memory capacity. The PD78F4046 is a version of the PD784046 with the internal ROM replaced by flash memory. The differences are shown in Table ...

Page 6

... P47/AD7 13 P46/AD6 14 P45/AD5 15 P44/AD4 16 P43/AD3 17 P42/AD2 18 P41/AD1 19 P40/AD0 Caution Connect the MODE pin directly normal operation mode. ...

Page 7

P00 to P03: Port 0 P10 to P13: Port 1 P20 to P27: Port 2 P30 to P37: Port 3 P40 to P47: Port 4 P50 to P57: Port 5 P60 to P63: Port 6 P70 to P77: Port 7 ...

Page 8

SYSTEM CONFIGURATION EXAMPLE (AC SERVO MOTOR CONTROL) Control panel Port Display Keypad INTP0 to INTP4 I/O port ANI8 to ANI15 I/O External interface UART tester circuit CPU-to-CPU communication 3-wire serial I/O WDT Flash memory PD78F4046 TO10, ...

Page 9

BLOCK DIAGRAM Programmable NMI interrupt INTP0 to INTP6 controller INTP0 to INTP3 Timer 0 TO00 to TO03 (16 bits) Timer 1 TO10, TO11 (16 bits) INTP5/TI2 Timer/event counter 2 TO20, TO21 (16 bits) INTP6/TI3 Timer/event counter 3 TO30, TO31 ...

Page 10

PIN FUNCTIONS 5.1 Port Pins (1/2) Pin Name I/O Alternate Function P00 to P03 I/O RTP0 to RTP3 P10 I/O TO20 P11 TO21 P12 TO30 P13 TO31 P20 Input NMI P21 I/O INTP0/TO00 P22 INTP1/TO01 P23 INTP2/TO02 P24 INTP3/TO03 ...

Page 11

Port Pins (2/2) Pin Name I/O Alternate Function P70 to P77 Input ANI0 to ANI7 P80 to P87 Input ANI8 to ANI15 P90 I/O RD P91 LWR P92 HWR P93 ASTB P94 WAIT Function Port 7 (P7): • 8-bit ...

Page 12

Non-Port Pins (1/2) Pin Name I/O Alternate Function RTP0 to RTP3 Output P00 to P03 NMI Input P20 INTP0 P21/TO00 INTP1 P22/TO01 INTP2 P23/TO02 INTP3 P24/TO03 INTP4 P25 INTP5 P26/TI2 INTP6 P27/TI3 TO00 Output P21/INTP0 TO01 P22/INTP1 TO02 P23/INTP2 ...

Page 13

... Connect directly normal operation mode SS (for specification of IC test mode). Clock output Connecting crystal resonator for system clock oscillation (clock can be input to X1). Chip reset Analog voltage input for A/D converter Reference voltage application for A/D converter Positive power supply for A/D converter ...

Page 14

... Pin I/O Circuits and Recommended Connection of Unused Pins The input/output circuit type of each pin and recommended connection of unused pins are shown in Table 5-1. For the I/O circuit configuration of each type, refer to Figure 5-1. Table 5-1. Types of Pin I/O Circuits and Recommended Connection of Unused Pins Pin Name I/O Circuit Type ...

Page 15

Figure 5-1. Pin I/O Circuits Type P-ch IN N-ch Type 2 IN Schmitt-triggered input with hysteresis characteristics Type P-ch N-ch Type Data P-ch Output N-ch disable Input enable Type 5-A Pullup ...

Page 16

INTERNAL MEMORY SIZE SWITCHING REGISTER (IMS) IMS is a register that is set by software and is used to specify a part of the internal memory that is not to be used. By setting this register, the internal memory ...

Page 17

... The flash memory can be written with the PD78F4046 mounted on the target board (on-board write). Writing is performed with the dedicated flash programmer Flashpro II (part number: FL-PR2) and Flashpro III (part number: FL-PR3, PG-FP3)) connected to the host machine and the target system. Remark Flashpro II and III are products of Naito Densei Machida Mfg. Co., Ltd.. ...

Page 18

... Compares the contents of the specified memory block with the input data. 7.3 Connection of Flashpro II and Flashpro III The connection of the dedicated flash programmer and the PD78F4046 differs according to the communication mode (3-wire serial I/O or UART). The connection for each communication mode is shown in Figures 7-2 and 7-3. Figure 7-2. Connection of Flashpro II and Flashpro III in 3-Wire Serial I/O Mode ...

Page 19

... Prewriting and ECC writing are performed by Flashpro II and Flashpro III. The setting method when using an earlier version than Flashpro II Ver. 2.50 is described below. Remark If using Flashpro II Ver. 2.50 or later or Flashpro III (PG-FP3 (Ver. 3.040 or later, products of NEC Corporation)), setting is not necessary. Setting is performed automatically by reading parameter files ...

Page 20

... Flashpro II Ver. 2.50 is used] a. Connect the PC and FL-PR2, then start up the control software “flashpro.exex”. b. Press the CTRL + GRPH (ART keys at the same time. c. Check the check box of Pre-Write set. d. Press the OK button. e. Select Setting. f. Select Option. g. Check the ECC code area in the menu window. ...

Page 21

ELECTRICAL SPECIFICATIONS Absolute Maximum Ratings (T = 25˚C) A Parameter Symbol Supply voltage Input voltage Output voltage V O Output current, low I OL Output current, high I OH ...

Page 22

Flash Memory Specifications (T = +10 to +40˚C (rewriting Parameter Symbol V supply voltage supply voltage Note Number of rewrites Note If the number of flash memory rewrites exceeds 10, operation ...

Page 23

DC Characteristics (T = –10 to +70˚ Parameter Symbol Input voltage, low V IL Input voltage, high V IH1 V IH2 Output voltage, low V OL Output voltage, high V OH Input leakage current I LI Analog pin ...

Page 24

AC Characteristics (T = –10 to +70˚ Read/write operation Parameter System clock cycle time Address setup time (to ASTB ) Address hold time (from ASTB ) ASTB high-level width RD delay time from address Address float time from ...

Page 25

Serial Operation (T = –10 to +70˚ Parameter Symbol Serial clock cycle time t CYSK Serial clock low-level width t WSKL Serial clock high-level width t WSKH SI1, SI2 setup time t SSSK (to SCK1, SCK2 ) SI1, ...

Page 26

AD Converter Characteristics (T = –10 to +70˚ – 0 Parameter Symbol Resolution Note 1 Overall error Quantization error Conversion time t CONV Sampling time t SAMP Note 1 Zero-scale error Note 1 Full-scale error ...

Page 27

Read Operation (8 bits) t CYK (CLK) AD8 to AD15 (Output) t SAST Hi-Z AD0 to AD7 Lower address (output) (I/O) t WSTH ASTB (Output) RD (Output) t DAR t DAWT WAIT (Input) Higher address t DAID Hi-Z Data (input) ...

Page 28

Write Operation (8 bits) t CYK (CLK) AD8 to AD15 (Output) t SAST AD0 to AD7 Lower address (output) (Output) t WSTH ASTB (Output) LWR (Output) t WAIT (Input) 28 Higher address Undefined Data (output) t HSTA t DSTW t ...

Page 29

Read Operation (16 bits) t CYK (CLK) t SAST AD8 to AD15 Hi-Z AD0 to AD7 Address (output) (I/O) t WSTH ASTB (Output) RD (Output) t DAR t DAWT WAIT (Input) t DAID Hi-Z Data (input) t HSTA t FRA ...

Page 30

Write Operation (16 bits) t CYK (CLK) t SAST AD8 to AD15 AD0 to AD7 Address (output) (Output) t WSTH ASTB (Output) HWR, LWR (Output) t DAW WAIT (Input) 30 Undefined Data (output) t HSTA t DSTW t t DWOD ...

Page 31

Serial Operation SCK1, SCK2 t DSBSK SO1, SO2 SI1, SI2 Interrupt Input Timing NMI INTP0 to INTP6 Reset Input Timing RESET Timer Input Timing TI2, TI3 t CYSK t WSKH t WSKL t SSSK t HSSK t t WNIH WNIL ...

Page 32

PACKAGE DRAWING 80-PIN PLASTIC QFP (14x14 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition ...

Page 33

... The PD78F4046 should be soldered and mounted under the following recommended conditions. For the details of the recommended soldering conditions, refer to the document Semiconductor Device Mounting Technology Manual (C10535E). For soldering methods and conditions other than those recommended below, contact your NEC representative. Table 10-1. Surface Mounting Type Soldering Conditions ...

Page 34

... IE-70000-98-IF-C Interface adapter necessary when a PC-9800 series PC (except notebook PC) is used as the host machine (C bus supported) IE-70000-CD-IF PC card and interface cable necessary when a PC-9800 series notebook PC is used as the host machine (PCMCIA socket supported) IE-70000-PC-IF-C Interface adapter necessary when an IBM PC/AT machine (ISA bus supported) ...

Page 35

... IE-70000-PCI-IF Interface adapter necessary when PC that incorporates PCI bus is used as host machine IE-78000-R-SV3 Interface adapter and cable necessary when an EWS is used as the host machine IE-784000-R-EM Emulation board common to 78K/IV Series IE-784046-NS-EM1 Emulation board for emulating PD784046 Subseries ...

Page 36

Cautions on using development tools • The ID78K4-NS, ID78K4, and SM78K4 are used in combination with the DF784046. • The CC78K4 and RX78K/IV are used in combination with the RA78K4 and DF784046. • FL-PR2, FL-PR3, FA-80GC, and NP-80GC are ...

Page 37

APPENDIX B. RELATED DOCUMENTS Documents Related to Devices Document PD784044, 784046 Data Sheet PD78F4046 Data Sheet PD784046 Subseries User’s Manual - Hardware PD784046 Subseries Special Function Register Table 78K/IV Series User’s Manual - Instruction 78K/IV Series Instruction List 78K/IV Series ...

Page 38

... Other Documents Document SEMICONDUCTOR SELECTION GUIDE Products & Packages (CD-ROM) Semiconductor Device Mounting Technology Manual Quality Grades on NEC Semiconductor Devices NEC Semiconductor Device Reliability/Quality Control System Guide to Prevent Damage for Semiconductor Devices by Electrostatic Discharge (ESD) Guide to Microcomputer-Related Products by Third Parties Caution The related documents listed above are subject to change without notice ...

Page 39

Data Sheet U11447EJ2V0DS00 PD78F4046 39 ...

Page 40

Data Sheet U11447EJ2V0DS00 PD78F4046 ...

Page 41

Data Sheet U11447EJ2V0DS00 PD78F4046 41 ...

Page 42

... HANDLING OF UNUSED INPUT PINS FOR CMOS Note: No connection for CMOS device inputs can be cause of malfunction connection is provided to the input pins possible that an internal input level may be generated due to noise, etc., hence causing malfunction. CMOS devices behave differently than Bipolar or NMOS devices. Input levels of CMOS devices must be fixed high or low by using a pull-up or pull-down circuitry ...

Page 43

... Regional Information Some information contained in this document may vary from country to country. Before using any NEC product in your application, pIease contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify: Device availability Ordering information Product release schedule ...

Page 44

... NEC does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of NEC semiconductor products listed in this document or any other liability arising from the use of such products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC or others ...

Related keywords