UPD78363AGF NEC [NEC], UPD78363AGF Datasheet

no-image

UPD78363AGF

Manufacturer Part Number
UPD78363AGF
Description
16/8-BIT SINGLE-CHIP MICROCONTROLLERS
Manufacturer
NEC [NEC]
Datasheet
Document No. U11109EJ2V0DS00 (2nd edition)
Date Published September 1997 N
Printed in Japan
DESCRIPTION
existing
substantially contributes to improving the performance of the inverter control.
Detailed functions, etc. are described in the following user’s manual. Be sure to read the manual to design systems.
FEATURES
APPLICATION EXAMPLES
ORDERING INFORMATION
Remark
Unless otherwise specified, the functions and performances of the PD78366 are described throughout this document.
• Inverter air conditioner
• Factory automation fields, such as industrial robots and machine tools.
A PROM model, PD78P368A, is also available.
PD78366A is provided with a high-speed, high-performance CPU and powerful operation functions. Unlike the
Internal 16-bit architecture, external 8-bit data bus
High-speed processing by pipeline control method and high- speed operating clock
• Minimum instruction execution time: 125 ns (internal clock: at 16 MHz, external clock: 8 MHz)
Real-time pulse unit for inverter control
10-bit resolution A/D converter: 8 channels
8-/9-/10-/12-bit resolution variable PWM signal output function: 2 channels
Powerful serial interface: 2 channels
Internal memory:
ROM: none ( PD78365A)
RAM: 768 bytes ( PD78363A)
PD78363AGF-
PD78365AGF-3B9
PD78366AGF-
PD78368AGF-
PD78328,
Part Number
24K bytes ( PD78363A)
2K bytes ( PD78365A, 78366A, 78368A)
32K bytes ( PD78366A)
48K bytes ( PD78368A)
indicates a ROM code suffix.
16/8-BIT SINGLE-CHIP MICROCONTROLLERS
PD78366A is also provided with a high-resolution PWM signal output function which
PD78363A,78365A,78366A,78368A
-3B9
-3B9
-3B9
The information in this document is subject to change without notice.
PD78366A User’s Manual Hardware: U10205E
PD78356 User’s Manual
The mark
80-pin plastic QFP (14
80-pin plastic QFP (14
80-pin plastic QFP (14
80-pin plastic QFP (14
DATA SHEET
shows major revised points.
Package
MOS INTEGRATED CIRCUIT
20 mm)
20 mm)
20 mm)
20 mm)
: U12117E
Internal ROM
Mask ROM
Mask ROM
Mask ROM
None
©
©
1995
1995

Related parts for UPD78363AGF

UPD78363AGF Summary of contents

Page 1

PD78363A,78365A,78366A,78368A 16/8-BIT SINGLE-CHIP MICROCONTROLLERS DESCRIPTION PD78366A is provided with a high-speed, high-performance CPU and powerful operation functions. Unlike the existing PD78328, PD78366A is also provided with a high-resolution PWM signal output function which substantially contributes to improving the performance of ...

Page 2

Series Product Development High-performance CPU, sum-of-products instruction added PD78322 subseries PD78312A subseries (for control application in OA and FA fields) 2 PD78363A, 78365A, 78366A, 78368A PD78372 subseries (for control application in automotive appliance) Reinforced timer, A/D added Pulse output ...

Page 3

PIN CONFIGURATION (TOP VIEW) • 80-pin plastic QFP (14 20 mm) PD78363AGF- -3B9, 78365AGF-3B9, 78366AGF P00/RTP0 2 P01/RTP1 3 P02/RTP2 4 ...

Page 4

P00-P07 : Port0 P10-P17 : Port1 P20-P25 : Port2 P30-P36 : Port3 P40-P47 : Port4 P50-P57 : Port5 P70-P77 : Port7 P80-P85 : Port8 P90-P93 : Port9 RTP0-RTP3 : Real-time Port NMI : Nonmaskable Interrupt INTP0-INTP4 : Interrupt From Peripherals ...

Page 5

FUNCTIONAL OUTLINE Product name PD78363A Item Minimum instruction 125 ns (internal clock: 16 MHz, external clock: 8 MHz) execution time Internal memory ROM 24K bytes RAM 768 bytes Memory space 64K bytes (externally expandable) General-purpose registers 8 bits 16 Number ...

Page 6

DIFFERENCES BETWEEN PD78363A, 78365A, 78366A, AND 78368A Product name PD78363A Item ROM 24K bytes Internal ROM RAM 786 bytes Input 14 (of which 8 are multiplexed with analog input) I/O lines I/O 49 Port 4 (P40-P47) Can be set in ...

Page 7

NMI PROGRAMMABLE INTERRUPT 5 CONTROLLER INTP 5 4 TIMER/COUNTER TO UNIT (REAL-TIME TI PULSE UNIT) TIUD TCUD TCLRUD SCK SO/SB0 SERIAL INTERFACE SI/B1 (SBI) 2 (UART REAL-TIME 4 RTP OUTPUT PORT EXU ROM/RAM ...

Page 8

PIN FUNCTIONS ................................................................................................................................... 10 1.1 PORT PINS ..................................................................................................................................... 10 1.2 PINS OTHER THAN PORT PINS .................................................................................................. 11 1.3 PIN I/O CIRCUITS AND PROCESSING OF UNUSED PINS ....................................................... 13 2. CPU ARCHITECTURE ............................................................................................................ 2.1 MEMORY SPACE ........................................................................................................................... 15 2.2 DATA ...

Page 9

PACKAGE DRAWING .............................................................................................................. 12. RECOMMENDED SOLDERING CONDITIONS ...................................................................... APPENDIX A. DIFFERENCES BETWEEN PD78366A AND PD78328 ................................... APPENDIX B. TOOLS ..................................................................................................................... B.1 DEVELOPMENT TOOLS ............................................................................................................... 86 B.2 EMBEDDED SOFTWARE .............................................................................................................. 91 PD78363A, 78365A, 78366A, 78368A ...

Page 10

PIN FUNCTIONS 1.1 PORT PINS Pin name I/O Port 0. P00-P03 8-bit I/O port. P04 Can be set in input or output mode in 1-bit units. P05 I/O P06 P07 Port 1. 8-bit I/O port. P10-P17 I/O Can be ...

Page 11

PINS OTHER THAN PORT PINS (1/2) Pin name I/O Real-time output port that outputs pulses in synchronization with trigger RTP0-RTP3 Output signal from real-time pulse unit. NMI Non-maskable interrupt request input. INTP0 External interrupt request input. INTP1 Input INTP2 ...

Page 12

PINS OTHER THAN PORT PINS (2/2) Pin name I/O Control signal input to set operation mode. With PD78363A, 78366A, and MODE0 Input 78368A MODE0 and MODE1 are usually connected to V MODE1 MODE0 and MODE1 are always connected to ...

Page 13

PIN I/O CIRCUITS AND PROCESSING OF UNUSED PINS Table 1-1 shows the I/O circuit types of the respective pins, and recommended connections of the unused pins. Figure 1-1 shows the circuits of the respective pins. Table 1-1. Pin I/O ...

Page 14

Type P-ch IN N-ch Type 2 IN Schmitt trigger input with hysteresis characteristics Type 2 P-ch IN Schmitt trigger input with hysteresis characteristics Type Data P-ch Output N-ch disable Intput enable 14 ...

Page 15

CPU ARCHITECTURE 2.1 MEMORY SPACE The PD78366A can access a memory space of 64K bytes. Figures 2-1 through 2-3 show the memory map. Figure 2-1. Memory Map ( PD78368A) MODE0 FFFFH Special function register (SFR) (256 ...

Page 16

Figure 2-2. Memory Map ( PD78365A, 78366A) MODE0 PD78366A) FFFFH Special function register (SFR) (256 FF00H FEFFH Main RAM (256 FF00H Data memory FDFFH Peripheral RAM (1792 F700H F6FFH Memory space ( External memory ...

Page 17

Figure 2-3. Memory Map ( PD78363A) MODE0 FFFFH Special function register (SFR) (256 8) FF00H FEFFH Main RAM (256 FF00H Data memory FDFFH Peripheral RAM (512 FC00H FBFFH Memory space ( External memory Note Program ...

Page 18

DATA MEMORY ADDRESSING The PD78366A is provided with many addressing modes that improve the operability of the memory and can be used with high-level languages. Especially, an area of addresses F700H-FFFFH (In the FC00H-FFFFH) to which the data memory ...

Page 19

Figure 2-5. Data Memory Addressing ( PD78365A, 78366A) FFFFH Special function register (SFR) FF20H FF1FH FF00H FEFFH General-purpose register FE80H FE7FH FE20H FE1FH Main RAM FE00H FDFFH Peripheral RAM F700H F6FFH External memory 8000H 7FFFH Internal ROM Note 0000H Note ...

Page 20

Figure 2-6. Data Memory Addressing ( PD78363A) FFFFH Special function register (SFR) FF20H FF1FH FF00H FEFFH General-purpose register FE80H FE7FH FE20H FE1FH Main RAM FE00H FDFFH Peripheral RAM FC00H FBFFH External memory 6000H 5FFFH Internal ROM Note 0000H Note Is ...

Page 21

Control Registers (1) Program counter (PC) This is a 16-bit register that holds an address of the instruction to be executed next. (2) Program status word (PSW) This 16-bit register indicates the status of the CPU as a result ...

Page 22

General-Purpose Registers The PD78366A is provided with eight banks of general-purpose registers with one bank consisting of 8 words 16 bits. Figure 2-10 shows the configuration of the general-purpose register banks. The general- purpose registers are mapped to an ...

Page 23

Special Function Registers (SFR) Special function registers (SFRs) are registers assigned special functions such as mode registers and control registers for internal peripheral hardware, and are mapped to a 256-byte address space at FF00H through FFFFH. Table 2-1 lists ...

Page 24

Table 2-1. List of Special Function Registers (1/5) Address Special function register (SFR) FF00H Port 0 FF01H Port 1 FF02H Port 2 FF03H Port 3 FF04H Port 4 FF05H Port 5 FF07H Port 7 FF08H Port 8 FF09H Port 9 ...

Page 25

Table 2-1. List of Special Function Registers (2/5) Address Special function register (SFR) FF34H Capture/compare register 20 FF35H FF36H Capture register 20 FF37H FF38H Timer register 2 FF39H FF3AH Buffer register CM03 FF3BH FF3CH External interrupt mode register 0 FF3DH ...

Page 26

Table 2-1. List of Special Function Registers (3/5) Address Special function register (SFR) FF70H Slave buffer register 0 FF71H Slave buffer register 1 FF72H Slave buffer register 2 FF73H Slave buffer register 3 FF74H Slave buffer register 4 FF75H Slave ...

Page 27

Table 2-1. List of Special Function Registers (4/5) Address Special function register (SFR) FFA4H PWM register 1L FFA4H PWM register 1 FFA5H FFA8H In-service priority register FFAAH Interrupt mode control register FFACH Interrupt mask register 0L FFACH Interrupt mask register ...

Page 28

Table 2-1. List of Special Function Registers (5/5) Address Special function register (SFR) FFC4H Memory expansion mode register FFC6H Programmable wait control register FFC7H FFD0H | External SFR area FFDFH FFE0H Interrupt control register (INTOV3) FFE1H Interrupt control register (INTP0/INTCC30) ...

Page 29

FUNCTIONAL BLOCKS 3.1 EXECUTION UNIT (EXU) EXU controls address computation, arithmetic and logical operations, and data transfer through microprogram. EXU has an internal main RAM. This RAM can be accessed by instructions faster than the peripheral RAM. 3.2 BUS ...

Page 30

PORT FUNCTIONS The PD78366A is provided with the ports shown in Figure 3-1 for various control operations. The functions of each port are listed in Table 3-1. These ports function not only as digital ports but also as input/output ...

Page 31

Table 3-1. Functions of Each Port Port Port function 8-bit I/O port. Can be set in input or Port 0 output mode in 1-bit units. 8-bit I/O port. Can be set in input or Port 1 output mode in 1-bit ...

Page 32

CLOCK GENERATOR CIRCUIT The clock generator circuit generates and controls the internal system clock (CLK) that is supplied to the CPU. Figure 3-2. Block Diagram of Clock Generator Circuit Remarks crystal oscillation frequency ...

Page 33

Figure 3-3. External Circuit of System Clock Oscillator Circuit (a) crystal oscillator PD78366A Cautions 1. Wire the portion enclosed by dotted line in Figure 3-3 as follows to avoid adverse influences due to wiring capacity when ...

Page 34

REAL-TIME PULSE UNIT (RPU) The real-time pulse unit (RPU) can measure pulse intervals and frequencies, and output programmable pulses (six channels of PWM control signals). The RPU consists of five 16-bit timers (timers 0 through 4), of which one ...

Page 35

The RPU consists of the hardware shown in Table 3-2. Figures 3-4 through 3-12 show the block diagrams of the respective timers. Table 3-2. Configuration of Real-Time Pulse Unit (RPU) Timer register 16-bit compare register (CM00) 16-bit compare register (CM01) ...

Page 36

Figure 3-4. Block Diagram of Timer 0 (PWM mode 0 ... symmetrical triangular wave, asymmetrical triangular wave) BFCM03 CM03 16 f CLK f /2 CLK TM0 f /4 CLK f /8 CLK /16 U/D CLK DOWN ...

Page 37

Figure 3-5. Block Diagram of Timer 0 (PWM mode 0 ... saw-tooth wave) BFCM03 CM03 INTCM03 Clear 16 f CLK f /2 CLK TM0 f /4 CLK f /8 CLK f /16 CLK 16 BFCM00 CM00 R S BFCM01 CM01 ...

Page 38

Figure 3-6. Block Diagram of Timer 0 (PWM mode 1) BFCM03 CM03 Clear 16 f CLK f /2 CLK TM0 f /4 CLK f /8 CLK f /16 CLK 16 BFCM00 CM00 T BFCM01 CM01 T BFCM02 CM02 T TM0 ...

Page 39

Figure 3-7. Block Diagram of Timer 0 (general-purpose interval timer mode) Compare register CM03 16 Timer register TM0 Clear Output off function by external interrupt and software Figure 3-8. Block Diagram of Timer CLK Timer register f ...

Page 40

Figure 3-9. Block Diagram of Timer 2 4-point sampling INTP3 noise rejection circuit f CLK CLK CLK CLK CLK CLK CLK Remark ...

Page 41

Figure 3-11. Block Diagram of Timer 4 (General-Purpose Timer Mode) Clear f CLK f /2 CLK f /4 Timer register CLK f /8 TM4 CLK f /16 CLK f /32 CLK 16 Compare register CM40 Compare register CM41 Remark f ...

Page 42

REAL-TIME OUTPUT PORT (RTP) The real-time output port is a 4-bit port that can output the contents of the real-time output port register (RTP) in synchronization with the trigger signal from the real-time pulse unit (RPU). It can output ...

Page 43

A/D CONVERTER The PD78366A contains a high-speed, high-resolution 10-bit analog-to-digital (A/D) converter (conversion time 12 internal clock frequency of 16 MHz). Successive approximation type is adopted. This converter is provided with eight analog input lines (ANI0-ANI7) ...

Page 44

SERIAL INTERFACE The PD78366A is provided with the following two independent serial interfaces: • Asynchronous serial interface (UART) (with pin selection function) • Clocked serial interface • 3-line serial I/O mode • Serial bus interface mode (SBI mode) Since ...

Page 45

Figure 3-16. Block Diagram of Clocked Serial Interface 8 CSIM CTXE CRXE WUP MOD2 MOD1 MOD0 CLS1 CLS0 MOD1 MOD2 SI/SB1 SO/SB0 MOD1 MOD2 SCK Figure 3-17. Block Diagram of Baud Rate Generator 7 BRG Coincidence 1 — 2 Clear ...

Page 46

PWM UNIT The PD78366A is provided with two lines that output 8-/9-/10-/12-bit resolution variable PWM signals. The PWM output can be used as a digital-to-analog conversion output by connecting an external lowpass filter, and ideal for controlling actuators such ...

Page 47

WATCHDOG TIMER (WDT) The watchdog timer is a free running timer equipped with a non-maskable interrupt function to prevent program hang-up or deadlock. When an error of the program is detected, the overflow interrupt (INTWDT) of the watchdog timer ...

Page 48

INTERRUPT FUNCTIONS 4.1 OUTLINE The PD78366A is provided with powerful interrupt functions that can process interrupt requests from the internal hardware peripherals and external sources. In addition, the following three interrupt processing modes are available. In addition, four levels ...

Page 49

MACRO SERVICE The PD78366A has a total of five macro services. Each macro service is described below. (1) Counter mode: EVTCNT • Operation (a) Increments or decrements an 8-bit macro service counter (MSC). (b) A vector interrupt request is ...

Page 50

Block transfer mode (with memory pointer): BLKTRS-P • Operation This is the block transfer mode in (2) above with a memory pointer (MEMP). The appended buffer area of MEMP can be freely set on the memory space. Remark Each ...

Page 51

Data differential mode (with memory pointer): DTADIF-P • Operation This is the data differential mode in (4) above with memory pointer (MEMP). By appending MEMP, the buffer area in which the differential data stored can be ...

Page 52

CONTEXT SWITCHING This function is to select a specific register bank through the hardware, and to branch execution to a vector address predetermined in the register bank. At the same time, it saves the present contents of the PC ...

Page 53

Context Switching Function by BRKCS Instruction The context switching function can be started by the BRKCS instruction. The operation of context switching by an interrupt request is as follows: (1) An 8-bit register is specified by the operand of ...

Page 54

EXTERNAL DEVICE EXPANSION FUNCTION The PD78366A can connect external devices (data memory, program memory, and peripheral devices) in addition to the internal ROM and RAM areas. To connect an external device, the address/data bus and read/ write strobe signals ...

Page 55

STANDBY FUNCTIONS The PD78366A is provided with standby functions to reduce the power consumption of the system. The standby functions can be effected in the following two modes: • HALT mode ..... In this mode, the operating clock of ...

Page 56

RESET FUNCTION When a low level is input to the RESET pin, the system is reset, and each hardware enters the initial status (reset status). When the RESET pin goes high, the reset status is released, and program execution ...

Page 57

INSTRUCTION SET Write an operand in the operand field of each instruction according to the description of the instruction (for details, refer to the Assembler Specifications). Some instructions have two or more operands. Select one of them. Uppercase characters, ...

Page 58

Mnemonic Operand r1, #byte saddr, #byte Note sfr , #byte saddr saddr, A saddr, saddr A, sfr sfr mem MOV mem [saddrp] [saddrp !addr16 !addri16, A PSWL, #byte PSWH, ...

Page 59

Mnemonic Operand Byte rp1, #word 3 rp1 saddrp, #word 4 (saddrp) sfrp, #word 4 sfrp rp, rp1 2 rp AX, saddrp 2 AX saddrp (saddrp) MOVW saddrp, saddrp 3 (saddrp) AX, sfrp 2 AX sfrp sfrp ...

Page 60

Mnemonic Operand A, #byte saddr, #byte sfr, #byte r, r1 SUB A, saddr A, sfr saddr, saddr A, mem mem #byte saddr, #byte sfr, #byte r, r1 SUBC A, saddr A, sfr saddr, saddr A, mem mem, A ...

Page 61

Mnemonic Operand Byte A, #byte 2 A saddr, #byte 3 (saddr) sfr, #byte 4 sfr saddr sfr 3 A saddr, saddr 3 (saddr) A, mem 2-4 A mem, A 2-4 (mem) ...

Page 62

Mnemonic Operand AX, #word saddrp, #word sfrp, #word ADDW rp, rp1 AX, saddrp AX, sfrp saddrp, saddrp AX, #word saddrp, #word sfrp, #word SUBW rp, rp1 AX, saddrp AX, sfrp saddrp, saddrp AX, #word saddrp, #word sfrp, #word CMPW rp, ...

Page 63

Mnemonic Operand MOVTBLW !addr16 INC saddr r1 DEC saddr rp2 INCW saddrp rp2 DECW saddrp ROR r1, n ROL r1, n RORC r1, n ROLC r1, n SHR r1, n SHL r1, n SHRW rp1, n SHLW rp1, ...

Page 64

Mnemonic Operand CY, saddr.bit CY, sfr.bit CY, A.bit CY, X.bit CY, PSWH.bit CY, PSWL.bit MOV1 saddr.bit, CY sfr.bit, CY A.bit, CY X.bit, CY PSWH.bit, CY PSWL.bit, CY CY, saddr.bit CY, /saddr.bit CY, sfr.bit CY, /sfr.bit CY, A.bit CY, /A.bit AND1 ...

Page 65

Mnemonic Operand Byte CY, saddr.bit 3 CY CY, sfr.bit 3 CY CY, A.bit 2 CY XOR1 CY, X.bit 2 CY CY, PSWH.bit 2 CY CY, PSWL.bit 2 CY saddr.bit 2 (saddr.bit) sfr.bit 3 sfr.bit A.bit 2 A.bit SET1 X.bit 2 ...

Page 66

Mnemonic Operand CALL !addr16 CALLF !addr11 CALLT [addr5] rp1 CALL [rp1] BRK RET RETB RETI sfrp PUSH post PSW PUSHU post sfrp POP post PSW POPU post SP, #word MOVW SP, AX AX, SP INCW SP SP DECW Remark n ...

Page 67

Mnemonic Operand Byte CHKL sfr 3 (pin level) CHKLA sfr 3 A !addr16 rp1 2 BR [rp1 $addr16 $addr16 BNC $addr16 2 PC BNL BZ $addr16 ...

Page 68

Mnemonic Operand saddr.bit, $addr16 sfr.bit, $addr16 A.bit, $addr16 BTCLR X.bit, $addr16 PSWH.bit, $addr16 PSWL.bit, $addr16 saddr.bit, $addr16 sfr.bit, $addr16 A.bit, $addr16 BFSET X.bit, $addr16 PSWH.bit, $addr16 PSWL.bit, $addr16 r2, $addr16 DBNZ saddr, $addr16 RBn BRKCS RETCS !addr16 RETCSB !addr16 68 ...

Page 69

Mnemonic Operand Byte (DE+) [DE+], A 2 End MOVM (DE–) [DE–], A 2 End (DE+) [DE+], [HL+] 2 End MOVBK (DE–) [DE–], [HL–] 2 End ...

Page 70

Mnemonic Operand [DE+], A CMPMNC [DE–], A [DE+], [HL+] CMPBKNC [DE–], [HL–] STBC, #byte MOV WDM, #byte SWRS RBn SEL RBn, ALT NOP EI DI Note If the op code of the STBC register and WDM register manipulation instructions is ...

Page 71

EXAMPLE OF SYSTEM CONFIGURATION Controlling outdoor apparatus of inverter air conditioner CM03 16-bit timer U/D CM00 CM01 CM02 (Analog signal) AC power supply monitor ANI0 ANI1 External temperature 10-bit A/D ANI2 Thermal exchange converter temperature ANI3 Outlet temperature ANI4 ...

Page 72

ELECTRICAL SPECIFICATIONS Absolute Maximum Ratings (T 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, P07/TCLRUD, ...

Page 73

Oscillator Characteristics (T = –40 to +85 ˚ Resonator Recommended circuit Ceramic resonator or crystal resonator External clock X1 Leave unconnected HCMOS inverter Caution When using system clock oscillation circuits, to reduce the effect ...

Page 74

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 75

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 76

Serial Operation (T = –40 to +85 ˚ Parameter Symbol Serial clock cycle time t CYSK Serial clock low-level t WSKL width Serial clock high-level t WSKH width SI setup time (vs. SCK ) t SRXSK SI hold ...

Page 77

Other Operations (T = –40 to +85 ˚ Parameter Symbol NMI high-/low-level width WNIH WNIL RESET high-/low-level width WRSH WRSL INTP0 high-/low-level WI0H WI0L width Ts ...

Page 78

A/D Converter Characteristics (T Parameter Symbol Resolution Note 1 Total error 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 79

Cautions 1. When using the P70/ANI0-P77/ANI7 pins for both digital and analog inputs, the previ- ously 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 80

Read Operation t CYK (CLK) A8-A15 (Output) t SAST AD0-AD7 Hi-Z Low-order address (Output) (Input/output) t WSTH ASTB (Output) RD (Output) Write Operation (CLK) A8-A15 (Output) t SAST AD0-AD7 Low-order address (Output) (Output) t WSTH ASTB (Output) WR (Output) 80 ...

Page 81

Serial Operation SCK t DSKTX SO SI Up/Down Counter (Timer 4) Input Timing TIUD t STCU TCUD t WTCUH TCLRUD TIUD TCUD PD78363A, 78365A, 78366A, 78368A t CYSK t WSKH t WSKL t SRXSK t HSKRX t WTIUH t WTIUL ...

Page 82

Interrupt Input Timing NMI INTPn Remark Reset Input Timing RESET 82 PD78363A, 78365A, 78366A, 78368A t t WNIH WNIL 0 0 WInH WInL 0 0 ...

Page 83

PACKAGE DRAWING 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. PD78363A, 78365A, 78366A, 78368A A ...

Page 84

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 (C10535E). For soldering methods and conditions other than ...

Page 85

APPENDIX A. DIFFERENCES BETWEEN Product name Item Minimum instruction internal clock : 16 MHz 125 ns execution time external clock : 8 MHz ROM 32K bytes Internal memory RAM 2K bytes Memory space 64K bytes (can be externally expanded) General-purpose ...

Page 86

APPENDIX B. TOOLS B.1 DEVELOPMENT TOOLS The following development tools are available to support the system development using PD78366A : Language Processor 78K/III series A relocatable assembler, that can be used commonly for the 78K/III series products. Since this relocatable ...

Page 87

PROM Writing Tools PG-1500 This is a PROM programmer that can program PROM-contained single-chip microcontrollers in standalone mode or under control of a host machine when the accessory board and an optional programmer adapter are connected. It can also program ...

Page 88

Development Tool Configuration (When Using IE Controller) Host machine PC-9800 series RS-232-C IBM PC series EWS Software Relocatable C compiler PG-1500 assembler controller IE controller Built-in PROM models PD78P368AGF PD78P368AKL + + Programmer adapter PA-78P368GF PA-78P368KL Note A socket is ...

Page 89

Debugging Tools (When Integrated Debugger Is Used) IE-784000-R In-circuit emulation that can be used to develop and debug the application system. Connected to a host machine for debugging. Emulation board that emulates the peripheral functions of the target device such ...

Page 90

Development Tool Configuration (When Using Integrated Debugger) 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 Built-in PROM models PD78P368AGF PD78P368AKL + + Programmer adapter PA-78P368GF PA-78P368KL Note ...

Page 91

B.2 EMBEDDED SOFTWARE The following embedded software is available for enhancing the efficiency of program development and maintenance. REAL-TIME OS Real-time OS RX78K/III is intended to implement a multi-tasking environment for use in the control field where Note real-time capability ...

Page 92

Fuzzy Inference Development Support System Fuzzy knowledge data Program that supports input/editing and evaluation (simulation) of fuzzy knowledge (fuzzy rules and membership functions). creation tool (FE9000, FE9200) Host machine PC-9800 series IBM PC/AT and compatible machines Translator Program that converts ...

Page 93

PD78363A, 78365A, 78366A, 78368A 93 ...

Page 94

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 95

Regional Information Some information contained in this document may vary from country to country. Before using any NEC product in your application, please contact the NEC office in your country to obtain a list of authorized representatives and distributors. They ...

Page 96

MS-DOS and windows are either registered trademarks or trademarks of Microsoft Corporation in the United states and/or other countries. PC/AT and PC DOS are trademarks of IBM Corporation. HP9000 series 700 and HP-UX are trademarks of Hewlett-Packard Company. SPARCstation is ...

Related keywords