UPD78F4218AYGF-3BA NEC, UPD78F4218AYGF-3BA Datasheet

no-image

UPD78F4218AYGF-3BA

Manufacturer Part Number
UPD78F4218AYGF-3BA
Description
16-bit single-chip microcontroller, Internal ROM 256Kbytes, Internal RAM 12800bytes
Manufacturer
NEC
Datasheet
Document No. U14125EJ1V0DS00 (1st edition)
Date Published November 2000 N CP(K)
Printed in Japan
DESCRIPTION
784216AY/784218AY Subseries in the 78K/IV Series.
incorporation of flash memory allows a program to be written or erased while mounted on the target board.
multimaster-supporting I
designing.
FEATURES
APPLICATIONS
78F4218A, 78F4216AY, and 78F4218AY.
The
The PD78F4216A/78F4218A have flash memory in place of the internal ROM of the PD784216A/784218A. The
The PD78F4216AY/78F4218AY are based on the PD78F4216A/78F4218A Subseries with the addition of a
Detailed function descriptions are provided in the following user’s manuals. Be sure to read them before
Cellular phones, PHS, cordless telephones, CD-ROM, AV equipment
Unless otherwise specified, references in this document to the PD78F4218AY refer to the PD78F4216A,
Pin compatible with the mask ROM products
Flash memory: 128 KB ( PD78F4216A/78F4216AY)
Internal RAM:
Supply voltage: V
PD78F4216A/78F4218A
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 MICROCONTROLLERS
256 KB ( PD78F4218A/78F4218AY)
8,192 bytes ( PD78F4216A/78F4216AY)
12,800 bytes ( PD78F4218A/78F4218AY)
78K/IV Series User’s Manual Instructions:
2
DD
C bus interface.
PD784216A, 784216AY Subseries User’s Manual Hardware: U13570E
PD784218A, 784218AY Subseries User’s Manual Hardware: U12970E
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
= 1.9 to 5.5 V
and
78F4216AY/78F4218AY
DATA SHEET
MOS INTEGRATED CIRCUIT
are
products
of
U10905E
PD784216A/784218A,
2000

Related parts for UPD78F4218AYGF-3BA

UPD78F4218AYGF-3BA Summary of contents

Page 1

... 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. U14125EJ1V0DS00 (1st edition) ...

Page 2

ORDERING INFORMATION Part Number PD78F4216AGC-8EU 100-pin plastic LQFP (fine pitch) (14 PD78F4216AGF-3BA 100-pin plastic QFP (14 PD78F4218AGC-8EU 100-pin plastic LQFP (fine pitch) (14 PD78F4218AGF-3BA 100-pin plastic QFP (14 PD78F4216AYGC-8EU 100-pin plastic LQFP (fine pitch) (14 PD78F4216AYGF-3BA 100-pin plastic QFP (14 ...

Page 3

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

Page 4

OVERVIEW OF FUNCTIONS (1/2) Part Number Item Number of basic instructions (mnemonics) General-purpose registers Minimum instruction execution time Internal Flash memory memory RAM Memory space I/O ports Total CMOS input CMOS I/O N-ch open-drain I/O Pins with Pins with pull-up ...

Page 5

OVERVIEW OF FUNCTIONS (2/2) Part Number Item Clock output Buzzer output Watch timer Watchdog timer Standby Interrupt Hardware sources Software sources Non-maskable Maskable Supply voltage Package PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY PD78F4216A, PD78F4216AY 2 3 Selectable from /2, ...

Page 6

... PIN CONFIGURATION (TOP VIEW) ................................................................................................... 8 3. BLOCK DIAGRAM ............................................................................................................................... 11 4. PIN FUNCTIONS .................................................................................................................................. 12 4.1 Port Pins ..................................................................................................................................... 12 4.2 Non-Port Pins ............................................................................................................................. 14 4.3 Pin I/O Circuits and Recommended Connections of Unused Pins ....................................... 16 5. INTERNAL MEMORY SIZE SWITCHING REGISTER (IMS) ................................................................ 20 6. PROGRAMMING FLASH MEMORY..................................................................................................... 22 6.1 Selecting Communication Mode .............................................................................................. 22 6.2 Flash Memory Programming Function .................................................................................... 23 6.3 Connecting Flashpro ll and Flashpro lll ................................................................................... 24 7 ...

Page 7

DIFFERENCES AMONG MODELS IN The only difference among the PD784214A, 784215A, 784216A, 784217A, and 784218A lies in the internal memory capacity. The PD784214AY, 784215AY, 784216AY, 784217AY, and 784218AY are models with the addition control function. The ...

Page 8

... PP V pin to V via a pull-down resistor in a system in which the on-chip flash memory is written while PP SS mounted on the target board. For the pull-down connection recommended to use a resistor with a resistance ranging from 470 2. Connect the AV pin Connect the AV pin ...

Page 9

... pin to V via a pull-down resistor in a system in which the on-chip flash memory is written while PP SS mounted on the target board. For the pull-down connection recommended to use a resistor with a resistance ranging from 470 2. Connect the AV pin Connect the AV pin to V ...

Page 10

A0 to A19: Address Bus AD0 to AD7: Address/Data Bus ANI0 to ANI7: Analog Input ANO0, ANO1: Analog Output ASCK1, ASCK2: Asynchronous Serial Clock ASTB: Address Strobe AV : Analog Power Supply Analog Reference Voltage ...

Page 11

BLOCK DIAGRAM INTP2/NMI Programmable interrupt INTP0, INTP1, controller INTP3 to INTP6 TI00 Timer/event TI01 counter (16 bits) TO0 Timer/event TI1 counter 1 TO1 (8 bits) Timer/event TI2 counter 2 TO2 (8 bits) Timer/event TI5/TO5 counter 5 (8 bits) Timer/event ...

Page 12

PIN FUNCTIONS 4.1 Port Pins (1/2) Pin Name I/O Alternate Function P00 I/O INTP0 P01 INTP1 P02 INTP2/NMI P03 INTP3 P04 INTP4 P05 INTP5 P06 INTP6 P10 to P17 Input ANI0 to ANI7 P20 I/O RxD1/SI1 P21 TxD1/SO1 P22 ...

Page 13

Port Pins (2/2) Pin Name I/O Alternate Function P60 I/O A16 P61 A17 P62 A18 P63 A19 P64 RD P65 WR P66 WAIT P67 ASTB P70 I/O RxD2/SI2 P71 TxD2/SO2 P72 ASCK2/SCK2 P80 to P87 I ...

Page 14

Non-Port Pins (1/2) Pin Name I/O Alternate Function TI00 Input P35 TI01 P36 TI1 P33 TI2 P34 TI5 P100/TO5 TI6 P101/TO6 TI7 P102/TO7 TI8 P103/TO8 TO0 Output P30 TO1 P31 TO2 P32 TO5 P100/TI5 TO6 P101/TI6 TO7 P102/TI7 TO8 ...

Page 15

... SS Connect the V pin to V via a pull-down resistor in a system which the on-chip flash memory is written while mounted on the target board. For the pull-down connection recommended to use a resistor with a resistance ranging from 470 Data Sheet U14125EJ1V0DS00 . ...

Page 16

... Pin I/O Circuits and Recommended Connections of Unused Pins The I/O circuit type of each pin and recommended connections of unused pins are shown in Table 4-1. For each type of input/output circuit, refer to Figure 4-1. Table 4-1. Types of Pin I/O Circuits and Recommended Connection of Unused Pins (1/2) Pin Name I/O Circuit Type P00/INTP0 ...

Page 17

... Table 4-1. Types of Pin I/O Circuits and Recommended Connection of Unused Pins (2/2) Pin Name I/O Circuit Type RESET 2-G XT1 16 XT2 AV REF0 AV REF1 Remark Because the circuit type numbers are standardized among the 78K Series products, they are not sequential in some models (i.e., some circuits are not provided). ...

Page 18

Figure 4-1. Types of Pin I/O Circuits (1/2) Type 2-G IN Schmitt-triggered input with hysteresis characteristics Type 5-A Pullup enable V Data Output disable Input enable Type 8-N Pullup enable V DD Data P-ch Output N-ch disable Type 9 P-ch ...

Page 19

Figure 4-1. Types of Pin I/O Circuits (2/2) Type 12 Data P-ch Output N-ch disable V SS Input enable P-ch Analog output N-ch voltage V Type 13-D Data N-ch Output disable P-ch Middle-voltage input buffer ...

Page 20

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 21

PD78F4218A, 78F4218AY Figure 5-2. Internal Memory Size Switching Register (IMS) Format Address: 0FFFCH After reset: FFH 7 6 IMS 1 1 ROM1 ROM0 RAM1 RAM0 ...

Page 22

... II (part number: FL-PR2), Flashpro III (part number: FL-PR3, PG- FP3) to the host machine and target system. Writing to flash memory can also be performed using flash memory writing adapter connected to Flashpro II or Flashpro III. Remark FL-PR2 and FL-PR3 are products of Naito Densei Machida Mfg. Co., Ltd. ...

Page 23

Figure 6-1. Communication Mode Selecting Format RESET 6.2 Flash Memory Programming Function The flash memory is written by transferring or receiving commands and data in a selected communication ...

Page 24

... Connecting Flashpro II and Flashpro III The Flashpro II, Flashpro III and communication mode (3-wire serial I/O or UART). Figures 6-2 to 6-4 show the connections in the respective communication modes. Figure 6-2. Connection of Flashpro II and Flashpro III in 3-Wire Serial I/O Mode Flashpro ll, Flashpro lll Figure 6-3. Connection of Flashpro III in Handshake Mode Flashpro lll Figure 6-4 ...

Page 25

ELECTRICAL SPECIFICATIONS Absolute Maximum Ratings ( Parameter Symbol Supply voltage A/D converter reference voltage input REF0 AV D/A converter reference voltage input REF1 Input voltage V Other than ...

Page 26

Operating Conditions Operating ambient temperature (T A Supply voltage and clock cycle time: See Figure 7-1 Operating voltage with subsystem clock operation: V Figure 7-1. Supply Voltage and Clock Cycle Time (CPU Clock Frequency: f 10,000 8,000 500 400 320 ...

Page 27

Main System Clock Oscillator Characteristics (T Resonator Recommended Circuit Ceramic Oscillation frequency resonator ( crystal resonator External X1 input frequency (f clock input high-/low- level width (t PD74HCU04 X1 input ...

Page 28

Subsystem Clock Oscillator Characteristics (T Resonator Recommended Circuit Crystal Oscillation frequency V XT2 XT1 SS resonator (f XT Oscillation stabilization time External XT2 XT1 XT1 input frequency clock (f XT XT1 input high-/low- PD74HCU04 level width (t Note Time required ...

Page 29

DC Characteristics ( + Parameter Symbol Input voltage, low V Note 1 IL1 V P00 to P06, P20, P22, P33, IL2 P34, P70, P72, P100 to P103, RESET V P90 to P95 IL3 (N-ch ...

Page 30

DC Characteristics ( + (1) PD78F4216A, 78F4216AY Parameter Symbol Supply voltage I Operation DD1 mode I HALT mode DD2 I IDLE mode DD3 I Operation DD4 mode I HALT DD5 mode I IDLE DD6 ...

Page 31

DC Characteristics ( + (2) PD78F4218A, 78F4218AY Parameter Symbol Supply voltage I Operation DD1 mode I HALT mode DD2 I IDLE mode DD3 I Operation DD4 mode I HALT DD5 mode I IDLE DD6 ...

Page 32

AC Characteristics ( + (1) Read/write operation (1/2) Parameter Symbol Cycle time t CYK Address setup time (to ASTB ) t SAST Address hold time (from ASTB ) t HSTLA ASTB high-level width t ...

Page 33

AC Characteristics (1) Read/write operation (2/2) Parameter Symbol Address active time from RD t DRA Delay time from RD to ASTB t DRST RD low-level width t WRL Delay time from address DAW Address hold time (from ...

Page 34

AC Characteristics (2) External wait timing Parameter Symbol Input time from address to t DAWT WAIT Input time from ASTB to t DSTWT WAIT t Hold time from ASTB to WAIT HSTWT t Delay time from ASTB to DSTWTH WAIT ...

Page 35

Serial Operation ( + (a) 3-wire serial I/O mode (SCK: Internal clock output) Parameter Symbol SCK cycle time t KCY1 SCK high-/low-level width t , KH1 t KL1 SI setup time (to SCK ) ...

Page 36

... Cb line Notes 1. For the start condition, the first clock pulse is generated after the hold time fill the undefined area of the SCL0 falling edge necessary for the device to provide an internal SDA0 signal ( with at least 300 ns of hold time. IHmin. ...

Page 37

Other Operations ( + Parameter Symbol NMI high-/low-level width t WNIL t WNIH Interrupt input high-/low-level width t WITL t WITH RESET high-/low-level width t WRSL t WRSH Clock Output Operation ( ...

Page 38

A/D Converter Characteristics (T A Parameter Symbol Resolution Notes 1, 2 Overall error Conversion time t CONV Sampling time t SAMP Analog input voltage V Reference voltage AV Resistance between AV and AV R REF0 SS AVREF0 Notes 1. Quantization ...

Page 39

Data Retention Characteristics (T A Parameter Symbol Data retention voltage V DDDR Data retention current I DDDR V rise time t DD RVD V fall time t DD FVD V hold time t DD HVD (from STOP mode setting) STOP ...

Page 40

Timing Waveforms (1) Read operations (CLK) t CYK (Output A19 (Output) Hi-Z Lower address AD0 to AD7 (Output) (I/O) t SAST ASTB (Output) t WSTH t DAR RD (Output) t DAWT WAIT (Input) Remark The ...

Page 41

Write operation (CLK) t CYK (Output A19 (Output) Hi-Z Lower address AD0 to AD7 (Output) (Output SAST HSTLA ASTB (Output) t WSTH t DSTW t DAW WR (Output) t DWWTL t DAWT ...

Page 42

Serial Operation (1) 3-wire serial I/O mode SCK SI/SO (2) UART mode ASCK 2 ( bus mode ( PD78F4216AY, 78F4218AY only) SCL0 DAT STA SDA0 t BUF Stop Start condition condition 42 ...

Page 43

Clock Output Timing CLKOUT t CLR Interrupt Input Timing NMI INTP0 to INTP6 Reset Input Timing RESET PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY t t CLH CLL t CLF t CYCL t t WNIH WNIL t t WITH WITL t t WRSH ...

Page 44

Clock Timing XT1 Data Retention Characteristics STOP mode setting HVD RESET NMI (Cleared by falling edge) NMI (Cleared by rising edge) 44 PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY t t WXH WXL t XF 1/f ...

Page 45

Flash Memory Programming Characteristics (V to 10.3 V) (1) Basic characteristics Parameter Symbol Operating frequency f X Note 1 Supply voltage PPL PPH V supply current supply current I PP ...

Page 46

Flash Memory Programming Characteristics (V to 10.3 V) (2) Serial write operation characteristics Parameter Symbol V setup time t PP PSRON V setup time DRPSR RESET set up time PSRRF V ...

Page 47

PACKAGE DRAWINGS 100-PIN PLASTIC LQFP (FINE PITCH) (14x14 100 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition. Remark The external dimensions and ...

Page 48

PLASTIC QFP (14x20 100 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition. Remark The external dimensions and material of the ES version are ...

Page 49

... The PD78F4218AY 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 sales representative. Table 9-1. Surface Mounting Type Soldering Conditions ...

Page 50

... Emulation probe for 100-pin plastic LQFP (GC-8EU type) EV-9200GF-100 Socket to be mounted on a target system board made for 100-pin plastic QFP (GF-3BA type) TGC-100SDW Conversion adapter to connect the NP-100GC and a target system board on which a 100-pin plastic LQFP (GC-8EU type) can be mounted ID78K4-NS Integrated debugger for IE-78K4-NS ...

Page 51

... Emulation probe for 100-pin plastic LQFP (GC-8EU type) EV-9200GF-100 Socket to be mounted on a target system board made for 100-pin plastic QFP (GF-3BA type) TGC-100SDW Conversion adapter to connect the EP-78064GC-R and a target system board on which a 100-pin plastic LQFP (GC-8EU type) can be mounted ID78K4 Integrated debugger for IE-784000-R ...

Page 52

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

Page 53

APPENDIX B. RELATED DOCUMENTS Documents related to devices PD784214A, 784215A, 784216A, 784217A, 784218A, 784214AY, 784215AY, 784216AY, 784217AY, 784218AY Data Sheet PD78F4216A, 78F4216AY, 78F4218A, 78F4218AY Data Sheet PD784216A, 784216AY Subseries User’s Manual Hardware PD784218A, 784218AY Subseries User’s Manual Hardware 78K/IV Series ...

Page 54

... 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 Party Caution The related documents listed above are subject to change without notice. Be sure to use the latest version of each document for designing ...

Page 55

PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY Data Sheet U14125EJ1V0DS00 55 ...

Page 56

PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY Data Sheet U14125EJ1V0DS00 ...

Page 57

PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY Data Sheet U14125EJ1V0DS00 57 ...

Page 58

... 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 59

... 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 60

... 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