UPD78P368AGF-3B9 NEC [NEC], UPD78P368AGF-3B9 Datasheet
UPD78P368AGF-3B9
Available stocks
Related parts for UPD78P368AGF-3B9
UPD78P368AGF-3B9 Summary of contents
Page 1
BIT SINGLE-CHIP MICROCOMPUTER The m PD78P368A is produced by replacing the internal mask ROM of the m PD78366A with a one-time PROM or EPROM. One-time PROM products, in which data can be written once are effective for manufacture of ...
Page 2
PIN CONFIGURATION (TOP VIEW) (1) Normal operation mode (MODE0 = L, MODE1 = L) • 80-pin plastic QFP (14 ¥ 20 mm) m PD78P368AGF-3B9 • 80-pin ceramic WQFN m PD78P368AKL ...
Page 3
P00-P07: Port 0 P10-P17: Port 1 P20-P25: Port 2 P30-P36: Port 3 P40-P47: Port 4 P50-P57: Port 5 P70-P77: Port 7 P80-P85: Port 8 P90-P93: Port 9 RTP0-RTP3: Real-time port NMI: Nonmaskable interrupt INTP0-INTP4: Interrupt from peripherals TO00-TO05, TO40: Timer ...
Page 4
PROM programming mode (MODE0/V • 80-pin plastic QFP (14 ¥ 20 mm) m PD78P368AGF-3B9 • 80-pin ceramic WQFN m PD78P368AKL ...
Page 5
A0-A16: Address bus D0-D7: Data bus CE: Chip enable OE: Output enable PGM: Programming mode m PD78P368A MODE0, MODE1: Programming mode set V : Programming power supply Power supply Ground SS 5 ...
Page 6
BLOCK DIAGRAM 6 m PD78P368A WDTO 2 PWM REF INTP2 8 ...
Page 7
PIN FUNCTIONS ........................................................................................................................ 1.1 NORMAL OPERATION MODE (MODE0 = L, MODE1 = L) ......................................................... 1.2 PROM PROGRAMMING MODE (MODE0/V 1.3 INPUT/OUTPUT CIRCUIT TYPE FOR EACH PIN AND HANDLING OF UNUSED PINS .......... 2. MEMORY CONFIGURATION ................................................................................................... 3. DIFFERENCES BETWEEN ...
Page 8
PIN FUNCTIONS 1.1 NORMAL OPERATION MODE (MODE0 = L, MODE1 = L) (1) Port pins Pin name I/O P00-P03 I/O Port 0. 8-bit I/O port. P04 Can be specified as input or output bit by bit. P05 P06 P07 ...
Page 9
Non-port pins (1/2) Pin name I/O RTP0-RTP3 O Outputs a pulse in real time as triggered by a trigger signal sent from the real-time pulse unit. Nonmaskable interrupt request input NMI I External interrupt request input INTP0 INTP1 INTP2 ...
Page 10
Non-port pins (2/2) Pin name I/O Input for the control signal which sets the operation mode. Normally, both MODE0 I MODE0 and MODE1 are directly connected to the V MODE1 System reset input RESET I Crystal input pin for ...
Page 11
INPUT/OUTPUT CIRCUIT TYPE FOR EACH PIN AND HANDLING OF UNUSED PINS Table 1-1 lists the input and output circuit type for each pin and how to handle it when it is not used. Fig. 1-1 shows the circuits. Table ...
Page 12
Fig. 1-1 Input/Output Circuits of Each Pin Type P-ch IN N-ch Type 2 IN Schmitt trigger input with hysteresis characteristics Type 2 P-ch IN Schmitt trigger input with hysterisis characteristics Type Data ...
Page 13
MEMORY CONFIGURATION The m PD78P368A can access memory 64K bytes. Fig. 2-1 shows the memory map. FFFFH FF00H FEFFH FE00H Data memory FDFFH F700H F6FFH Memory space (64K 8) C000H Program memory BFFFH Data memory 0000H ...
Page 14
DIFFERENCES BETWEEN THE PD78P368A AND PD78366A The m PD78P368A is produced by replacing the internal mask ROM of the m PD78366A with a 48K-byte PROM. Both have the same ...
Page 15
PROM PROGRAMMING The m PD78P368A is provided with an electrically writable PROM of 48K ¥ 8 bits. When programming this PROM, use the MODE0/V and MODE1 pins to set the m PD78P368A to the PROM programming mode. PP The ...
Page 16
PROCEDURE FOR WRITING ON PROM (PAGE PROGRAM MODE) The following is a procedure for writing on PROM. (See Fig. 4-1.) In the page program mode, data is written in units of pages (four bytes). When write data completes midway ...
Page 17
Fig. 4-1 Flowchart of Procedure for Writing (Page Program Mode) (1) (2) Apply power supply voltage (3) Set an initial address (4) Clear the counter to 0 (5) Increment the address and counter (6) < 4 bytes (7) Input a ...
Page 18
Fig. 4-2 PROM Write/Verify Timing Chart (Page Program Mode) Page data latch A2 - A16 A0, A1 Data input Hi +12.5 V MODE0 +6 (input) PGM (input) OE ...
Page 19
Fig. 4-3 Flowchart of Procedure for Writing (Byte Program Mode) (1) Start writing (2) Apply power supply voltage (3) Set an initial address (4) Input write data (5) Input a program pulse (6) Write failure (up to 9th) Verify mode ...
Page 20
Fig. 4-4 PROM Write/Verify Timing Chart (Byte Program Mode A16 Hi +12.5 V MODE0 +6 (input) PGM (input) OE (input Byte program Program ...
Page 21
PROCEDURE FOR READING FROM PROM The following is a procedure for reading out the contents of PROM to the external data bus (D0 to D7). (1) Always set each pin as follows: MODE0/V CONFIGURATION (2). (2) Apply +5 V ...
Page 22
ERASURE CHARACTERISTICS ( m PD78P368AKL-S ONLY) Data written in the m PD78P368AKL-S program memory can be erased (FFH); therefore users can write other data in the memory. To erase the written data, expose the erasure window to light with ...
Page 23
ELECTRICAL SPECIFICATIONS ABSOLUTE MAXIMUM RATINGS (T A Parameter Power supply voltage Input voltage Output voltage Low-level output current High-level output current Analog input voltage A/D converter reference input voltage Operating ambient temperature Storage temperature Note P00/RTP0-P03/RTP3, P04/PWM0, P05/TCUD/PWM1, P06/TIUD/TO40, ...
Page 24
OSCILLATOR CHARACTERISTICS (T Resonator Recommended circuit Ceramic resonator or crystal External clock X1 HCMOS inverter Caution When using system clock oscillation circuits, to reduce the effect of the wiring capacitance, etc, wire the area indicated by ...
Page 25
DC CHARACTERISTICS (T = –40 to +85 ° Parameter Symbol Low-level input voltage V IL1 V IL2 High-level input voltage V IH1 V IH2 Low-level output voltage V OL1 V OL2 V OL3 High-level output voltage V OH ...
Page 26
AC CHARACTERISTICS (T = –40 to +85 ° Read/Write Operation (when general-purpose memory is connected) Parameter Symbol System clock cycle time t CYK Address setup time (vs. ASTB Ø) t SAST Address hold time (vs. ASTB Ø) t ...
Page 27
SERIAL OPERATION (T = –40 to +85 ° Parameter Symbol Serial clock cycle time t CYSK Serial clock low-level width t WSKL Serial clock high-level width t WSKH SI setup time (vs. SCK •) t SRXSK SI hold ...
Page 28
OTHER OPERATIONS (T = –40 to +85 ° Parameter Symbol NMI high-/low-level width WNIH RESET high-/low-level width WRSH INTP0 high-/low-level width WI0H INTP1 high-/low-level width WI1H ...
Page 29
A/D CONVERTER CHARACTERISTICS (T Parameter Symbol Resolution Total error Note 1 Quantization error Conversion time t CONV Sampling time t SAMP Note 1 Zero-scale error Note 1 Full-scale error Note 1 Nonlinearity error Note 2 Analog input voltage V IAN ...
Page 30
Cautions 1. When using the P70/ANI0-P77/ANI7 pins for both digital and analog inputs, the previously described characteristics are not guaranteed. Therefore, ensure that all of the eight P70/ ANI0-P77/ANI7 pins are used either for analog input or digital input. 2. ...
Page 31
Read Operation t CYK (CLK A15 (output) t SAST AD0 - AD7 Hi-Z Low-order address (output) (input/output) t WSTH ASTB (output) RD (output) Write Operation (CLK A15 (output) t SAST AD0 - AD7 Low-order address (output) ...
Page 32
Serial Operation SCK t DSKTX SO SI Up/Down Counter (Timer 4) Input Timing TIUD t STCU TCUD t WTCUH TCLRUD TIUD TCUD CYSK t WSKH t WSKL t SRXSK t HSKRX t WTIUH t WTIUL t HTCU ...
Page 33
Interrupt Input Timing NMI INTPn Remark – 4 Reset Input Timing RESET t t WNIH WNIL 0. WInH WInL 0. WRSH WRSL 0. ...
Page 34
DC PROGRAMMING CHARACTERISTICS (T Parameter Symbol Symbol High-level input voltage Low-level input voltage Input leakage current I I LIP LI High-level output voltage Low-level output voltage ...
Page 35
AC PROGRAMMING CHARACTERISTICS (T PROM Write Mode (Page Program Mode) Parameter Symbol Address set up time CE set time Input data setup time Address hold time Input data hold time Output data hold time V setup time PP V setup ...
Page 36
PROM Write Mode (Byte Program Mode) Parameter Symbol Address set up time CE set time Input data setup time Address hold time Input data hold time Output data hold time V setup time PP V setup time DDP Initial program ...
Page 37
PROM Write Mode Timing (Page Program Mode) Page data latch A2 - A16 AHL A0 Hi Data input VPS DDP t VDS V ...
Page 38
PROM Write Mode Timing (Byte Program Mode A16 DDP t VPS V + 1.5 DDP V DDP V DDP t VDS ...
Page 39
PACKAGE DRAWINGS 80 PIN PLASTIC QFP (14 20 NOTE Each lead centerline is located within 0.15 mm (0.006 inch) of its true position (T.P.) at maximum material condition ...
Page 40
PIN CERAMIC WQFN NOTE Each lead centerline is located within 0.08 mm (0.003 inch) of its true position (T.P.) at maximum material condition ITEM MILLIMETERS 20.0 ± 0. 19.0 C ...
Page 41
RECOMMENDED SOLDERING CONDITIONS These products should be soldered and mounted under the conditions recommended below. For details of recommended soldering conditions, refer to the information document Semiconductor Device Mounting Technology Manual (C10535J). For soldering methods and conditions other than ...
Page 42
APPENDIX A TOOLS A.1 DEVELOPMENT TOOLS The following tools are provided for developing a system that uses the m PD78P368A: Language processor 78K/III series relocatable assembler (RA78K3) 78K/III series C compiler (CC78K3) Remark It is guaranteed that the relocatable assembler ...
Page 43
PROM programming tools Hardware PG-1500 PA-78P368GF PA-78P368KL Software PG-1500 controller Remark It is guaranteed that the PG-1500 controller runs only under the OSs on the corresponding host machines described above. Debugging tools (when the IE controller is used) Hardware IE-78350-R ...
Page 44
Configuration of development tools (when the IE controller is used) Host machine: PC-9800 series RS-232-C IBM PC/AT EWS Software Relocatable C compiler PG-1500 assembler controller IE controller Device containing PROM PD78P368AKL PD78P368AGF + + Programmer adapter PA-78P368GF PA-78P368KL Note The ...
Page 45
Debugging tools (when the integrated debugger is used) Hardware IE-784000-R IE-78350-R-EM-A Note IE-78365-R-EM1 EP-78365GF-R EV-9200G-80 IE-70000-98-IF-B IE-70000-98N-IF IE-70000-PC-IF-B IE-78000-R-SV3 Software Integrated debugger (ID78K3) Device file (DF78365) Note Under development Remark It is guaranteed that the integrated debugger and device file ...
Page 46
Configuration of development tools (when the integrated debugger is used) Host machine: IE-70000-98-IF-B PC-9800 series IE-70000-98N-IF IBM PC/AT IE-70000-PC-IF-B EWS Software Relocatable C compiler PG-1500 assembler controller Integrated Device file debugger Device containing PROM PD78P368AKL PD78P368AGF + + Programmer adapter ...
Page 47
A.2 EMBEDDED SOFTWARE To improve the efficiency of program development and simplify the maintenance of systems incorporating this microcontroller, the following embedded software is provided. Real-time OS Real-time OS This operating system was designed to provide a multitasking environment for ...
Page 48
Fuzzy inference development support system Tool for creating fuzzy This program supports the input/editing and simulation of fuzzy knowledge data (fuzzy rules knowledge data and membership functions). (FE9000, FE9200) Host machine PC-9800 series IBM PC/AT or compatibles Translator This program ...
Page 49
APPENDIX B DIMENSIONS OF THE CONVERSION SOCKET AND RECOMMENDED PATTERN ON BOARDS Fig. B-1 Dimensions of the Conversion Socket (EV-9200G-80)(Reference) Based on EV-9200G-80 (1) Package drawing (in mm) F EV-9200G-80 1 No.1 pin index ...
Page 50
Fig. B-2 Recommended Pattern on Boards for the Conversion Socket (EV-9200G-80)(Reference) Based on EV-9200G-80 (2) Pad drawing (in mm) ITEM MILLIMETERS A B 0.8 ± 0.02 C 0.8 ± 0. ...
Page 51
Cautions on CMOS Devices 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, ...
Page 52
The export of these products from Japan is regulated by the Japanese government. The export of some or all of these products may be prohibited without governmental license. To export or re-export some or all of these products from a ...