UPD78F4218AGF-3BA Renesas Electronics America, UPD78F4218AGF-3BA Datasheet
UPD78F4218AGF-3BA
Specifications of UPD78F4218AGF-3BA
Available stocks
Related parts for UPD78F4218AGF-3BA
UPD78F4218AGF-3BA Summary of contents
Page 1
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY 16-BIT SINGLE-CHIP MICROCONTROLLERS DESCRIPTION µ PD78F4216A/78F4218A The 784216AY/784218AY Subseries in the 78K/IV Series. The µ PD78F4216A/78F4218A have flash memory in place of the internal ROM of the µ PD784216A/784218A. The incorporation of ...
Page 2
ORDERING INFORMATION Part Number µ PD78F4216AGC-8EU 100-pin plastic LQFP (fine pitch) (14 × 14) µ PD78F4216AGF-3BA 100-pin plastic QFP (14 × 20) µ PD78F4218AGC-8EU 100-pin plastic LQFP (fine pitch) (14 × 14) µ PD78F4218AGF-3BA 100-pin plastic QFP (14 × 20) ...
Page 3
SERIES LINEUP : Products in mass-production 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 ...
Page 6
DIFFERENCES BETWEEN MODELS IN µ µ µ µ PD784216A/784216AY, 784218A/784218AY SUBSERIES............................................................................................................................................. 7 2. 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 ...
Page 7
DIFFERENCES BETWEEN MODELS IN µ µ µ µ PD784216A/784216AY, 784218A/784218AY SUBSERIES The only difference between the µ PD784214A, 784215A, 784216A, 784217A, and 784218A lies in the internal memory capacity. The µ PD784214AY, 784215AY, 784216AY, 784217AY, and 784218AY are models ...
Page 8
PIN CONFIGURATION (TOP VIEW) • • • • 100-pin plastic LQFP (fine pitch) (14 × × × × 14) µ µ µ µ PD78F4216AGC-8EU, µ µ µ µ PD78F4218AGC-8EU, µ µ µ µ PD78F4216AYGC-8EU, µ µ µ µ PD78F4218AYGC-8EU ...
Page 9
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY • • • • 100-pin plastic QFP (14 × × × × 20) µ µ µ µ PD78F4216AGF-3BA, µ µ µ µ PD78F4218AGF-3BA, µ µ µ µ PD78F4216AYGF-3BA, µ µ µ µ ...
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, INTP3 to INTP6 controller 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
Non-Port Pins (2/2) Pin Name I/O Alternate Function PCL Output P23 BUZ Output P24 RTP0 to RTP7 Output P120 to P127 AD0 to AD7 I/O P40 to P47 Output P80 to P87 A8 to A15 P50 ...
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 I/O circuit, refer to Figure 4-1. Table 4-1. ...
Page 17
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY 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 ...
Page 18
Type 2-G IN Schmitt-triggered input with hysteresis characteristics Type 5-A Pull-up enable V DD Data P-ch Output N-ch disable Input enable Type 8-N Pull-up enable V DD Data P-ch Output N-ch disable Type 9 P-ch IN N-ch V REF (Threshold ...
Page 19
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY Figure 4-1. 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 Type 13-D Data N-ch Output disable V DD ...
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 0 0 ...
Page 22
PROGRAMMING FLASH MEMORY The flash memory can be written with the µ PD78F4218AY mounted on the target board (on-board so, connect a dedicated flash programmer (Flashpro III (part number: FL-PR3, PG-FP3) to the host machine and target ...
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 III The Flashpro III and µ PD78F4218AY are connected differently depending on the selected 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 ...
Page 25
ELECTRICAL SPECIFICATIONS = 25° ° ° ° C) Absolute Maximum Ratings (T A Parameter Symbol Supply voltage A/D converter reference voltage input REF0 AV D/A converter reference voltage input REF1 ...
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 ...
Page 27
Main System Clock Oscillator Characteristics (T Resonator Recommended Circuit Parameter Ceramic Oscillation resonator frequency or crystal ( resonator External X1 input clock frequency ( µ PD74HCU04 X1 input high-/low-level width ...
Page 28
Subsystem Clock Oscillator Characteristics (T Resonator Recommended Circuit Crystal Oscillation frequency V XT2 XT1 SS resonator ( Oscillation stabilization time External XT2 XT1 XT1 input frequency clock ( XT1 input high-/low- µ PD74HCU04 level width (t ...
Page 29
Recommended Oscillator Constant Main system clock: Ceramic resonator connection (T (1) µ µ µ µ PD78F4216A, 78F4216AY Manufacturer Part Number Murata Mfg. CSTS0200MG06 Co., Ltd. CSTCC2.00MG0H6 CSTS0400MG06 CSTCC4.00MG0H6 CSTS0600MG03 CSTCC6.00MG CSTS0800MG03 CSTCC8.00MG CST10.0MTW CST10.0MTW093 CSTCC10.0MG CSTCC10.0MG93 CST12.5MTW CST12.5MTW093 CSTCV12.5MTJ0C4 Kyocera ...
Page 30
PD78F4218A, 78F4218AY Manufacturer Part Number Murata Mfg. CSTS2.00MG040 Co., Ltd. CSTLS2M00G56-B0 CSTCC2M00G56-R0 CSTLS4M00G56-B0 CSTCR4M00G55-R0 CSTLS6M00G56-B0 CSTCR6M00G55-R0 CSTLS8M00G53-B0 CSTCC8M00G53-R0 CSTLS10M0G53-B0 CSTCC10M0G53-R0 CSTLA12M5T55-B0 Kyocera PBRC2.00AR-A Corporation PBRC4.00HR PBRC6.00HR SSR8.00CR-S24 SSR12.50CR-S24 TDK FCR4.0MC5 FCR6.0MC5 FCR8.0MC5 FCR10.0MC5 Caution The ...
Page 31
Characteristics (T A Parameter Symbol Input voltage, low V Note 1 IL1 V P00 to P06, P20, P22, P33, IL2 P34, P70, P72, P100 to P103, ...
Page 32
Characteristics (T A (1) µ µ µ µ PD78F4216A, 78F4216AY Parameter Symbol Supply voltage I Operation DD1 mode I HALT mode DD2 I IDLE mode DD3 ...
Page 33
Characteristics (T A (2) µ µ µ µ PD78F4218A, 78F4218AY Parameter Symbol Supply voltage I Operation DD1 mode I HALT mode DD2 I IDLE mode DD3 ...
Page 34
Characteristics (T A (1) Read/write operation (1/3) Parameter Symbol Cycle time t CYK Address setup time (to ASTB↓) t SAST Address hold time (from ASTB↓) t ...
Page 35
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY (1) Read/write operation (2/3) Parameter Symbol Address active time from RD↑ DRA V V Delay time from RD↑ to ASTB↑ DRST low-level width t V ...
Page 36
Read/write operation (3/3) Parameter Symbol Delay time from address to t ADEXD EXA↓ Delay time from EXA↓ EXTAH ASTB↓ Delay time from RD↑ to EXA↑ t EXRDS Delay time from WR↑ to EXA↑ t EXWDS Delay time ...
Page 37
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY (2) External wait timing Parameter Symbol Input time from address DAWT WAIT↓ Input time from ASTB↓ DSTWT WAIT↓ Hold time ...
Page 38
C, V (3) Serial operation (T A (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 ...
Page 39
C, V (3) Serial Operation ( ( bus mode Parameter Symbol SCL0 clock frequency f CLK Bus free time (between stop t BUF and start ...
Page 40
C, V (4) Clock output operation (T A Parameter Symbol PCL cycle time t CYCL PCL high-/low-level width t CLL t CLH PCL rise/fall time t CLR t CLF ...
Page 41
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 IAN Reference voltage AV REF0 Resistance between AV and AV R REF0 SS AVREF0 Notes ...
Page 42
Flash Memory Programming Characteristics = 10 to 40° ° ° ° 1 (1) Basic characteristics Parameter Symbol Operating frequency f XX Note 1 Oscillation frequency f X ...
Page 43
Write erase characteristics Parameter Symbol V supply voltage V PP PP2 V supply current supply current Step erase time T er Overall erase time per area T era Write-back time T wb ...
Page 44
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 45
Timing Waveforms (1) Read operations (CLK) t CYK (Output A19 (Output) Hi-Z AD0 to AD7 Lower address (Output) (I/ SAST HSTLA ASTB (Output) t WSTH t DSTR t DAR RD (Output) t DRWTL ...
Page 46
Write operation (CLK (Output A19 (Output) Hi-Z Lower address AD0 to AD7 (Output) (Output) t SAST ASTB (Output) t WSTH WR (Output) t DAWT WAIT (Input) t ADEXD EXA Remark The signal is output ...
Page 47
Serial Operation (1) 3-wire serial I/O mode SCK SI SO (2) UART mode ASCK 2 C bus mode ( µ µ µ µ PD78F4216AY, 78F4218AY only) (3) I SCL0 DAT STA SDA0 t BUF ...
Page 48
Clock Output Timing CLKOUT t CLR Interrupt Input Timing NMI INTP0 to INTP6 Reset Input Timing RESET 48 µ µ µ µ PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY t t CLH CLL t CLF t CYCL t t WNIH WNIL t t ...
Page 49
Clock Timing XT1 Data Retention Characteristics STOP mode setting HVD FVD RESET NMI (Cleared by falling edge) NMI (Cleared by rising edge) µ µ µ µ PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY t t WXH ...
Page 50
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 material ...
Page 51
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY 100-PIN PLASTIC QFP (14x20 100 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition. ...
Page 52
RECOMMENDED SOLDERING CONDITIONS The µ PD78F4218AY should be soldered and mounted under the following recommended conditions. For details of the recommended soldering conditions, refer to the document Semiconductor Device Mounting Technology Manual (C10535E). For soldering methods and conditions other ...
Page 53
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY (3) µ µ µ µ PD78F4218AGF-3BA:100-pin plastic QFP (14 × × × × 20) µ µ µ µ PD78F4218AYGF-3BA:100-pin plastic QFP (14 × × × × 20) Soldering Method Infrared reflow Package ...
Page 54
APPENDIX A. DEVELOPMENT TOOLS The following development tools are available for system development using the µ PD78F4218AY. Also refer to (5) Cautions on using development tools. (1) Language processing software RA78K4 Assembler package common to 78K/IV Series CC78K4 C compiler ...
Page 55
When IE-784000-R in-circuit emulator is used IE-784000-R In-circuit emulator common to 78K/IV Series IE-70000-98-IF-C Interface adapter required when PC-9800 series PC (except notebook type) is used as host machine (C bus supported) IE-70000-PC-IF-C Interface adapter required ...
Page 56
Cautions on using development tools • The ID78K4-NS, ID78K4, and SM78K4 are used in combination with the DF784218. • The CC78K4 and RX78K4 are used in combination with the RA78K4 and DF784218. • The FL-PR3, FA-100GF, FA-100GC, NP-100GF, and ...
Page 57
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY (6) Notes on target system design The following shows a diagram of the connection conditions between the emulation probe, conversion socket, and conversion connector. Design your system making allowances for conditions such ...
Page 58
Figure A-2. Conditions for Target System Connection (1) Emulation probe NP-100GF In-circuit emulator IE-784225-NS-EM1 19 mm Remark The NP-100GF is a product of Naito Densei Machida Mfg. Co., Ltd. Figure A-3. Conditions for Target System Connection (2) In-circuit emulator IE-784225-NS-EM1 ...
Page 59
APPENDIX B. RELATED DOCUMENTS The related documents indicated in this publication may include preliminary versions. versions are not marked as such. Documents Related to Devices µ PD784214A, 784215A, 784216A, 784217A, 784218A, 784214AY, 784215AY, 784216AY, 784217AY, 784218AY Data Sheet µ PD78F4216A, ...
Page 60
Documents Related to Flash Memory Writing PG-FP3 Flash Memory Programmer User's Manual Other Related Documents SEMICONDUCTOR SELECTION GUIDE - Products & Packages - Semiconductor Device Mounting Technology Manual Quality Grades on NEC Semiconductor Devices NEC Semiconductor Device Reliability/Quality Control System ...
Page 61
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY Data Sheet U14125EJ3V0DS 61 ...
Page 62
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 ...
Page 63
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 ...
Page 64
Purchase of NEC I C components conveys a license under the Philips system, provided that the system conforms to the I • The information in this document is current as of May, 2002. ...