DATA SHEET
MOS INTEGRATED CIRCUIT
µ
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 the inverter control.
A PROM model,
µ
PD78P368A, is also available.
Detailed functions, etc. are described in the following user’s manual. Be sure to read the manual to design systems.
µ
PD78366A User’s Manual Hardware: U10205E
µ
PD78356 User’s Manual
: U12117E
FEATURES
•
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)
24K bytes (
µ
PD78363A)
32K bytes (
µ
PD78366A)
48K bytes (
µ
PD78368A)
RAM: 768 bytes (
µ
PD78363A)
2K bytes (
µ
PD78365A, 78366A, 78368A)
APPLICATION EXAMPLES
• Inverter air conditioner
• Factory automation fields, such as industrial robots and machine tools.
ORDERING INFORMATION
Part Number
Package
80-pin plastic QFP (14
×
20 mm)
80-pin plastic QFP (14
×
20 mm)
80-pin plastic QFP (14
×
20 mm)
80-pin plastic QFP (14
×
20 mm)
Internal ROM
Mask ROM
None
Mask ROM
Mask ROM
µ
PD78363AGF-×××-3B9
µ
PD78365AGF-3B9
µ
PD78366AGF-×××-3B9
µ
PD78368AGF-×××-3B9
Remark
×××
indicates a ROM code suffix.
Unless otherwise specified, the functions and performances of the
µ
PD78366 are described throughout this document.
The information in this document is subject to change without notice.
Document No. U11109EJ2V0DS00 (2nd edition)
Date Published September 1997 N
Printed in Japan
The mark
shows major revised points.
©
©
1995
1995
µ
PD78363A, 78365A, 78366A, 78368A
78K/III Series Product Development
µ
PD78372 subseries
(for control application
in automotive appliance)
µ
PD78366A subseries
Reinforced timer,
A/D added
Pulse output function
for inverter control,
expanded ROM, RAM
µ
PD78361A
µ
PD78362A
µ
PD78P364A
µ
PD78363A
µ
PD78365A
µ
PD78366A
µ
PD78368A
µ
PD78P368A
(for inverter)
µ
PD78356 subseries
(for camera, HDD)
µ
PD78352A subseries
(for HDD)
A/D, D/A relative instruction
added, expanded ROM, RAM
High-performance CPU,
sum-of-products instruction added
Reinforced timer and
A/D, expanded ROM
and RAM
µ
PD78334 subseries
(for control application in OA and FA fields)
µ
PD78322 subseries
High-speed, multi-function,
reinforced interrupt,
10-bit A/D
Pulse output function
for inverter control
µ
PD78328 subseries
(for inverter)
(for control application in OA and FA fields)
µ
PD78312A subseries
(for control application in OA and FA fields)
2
µ
PD78363A, 78365A, 78366A, 78368A
PIN CONFIGURATION (TOP VIEW)
• 80-pin plastic QFP (14
×
20 mm)
µ
PD78363AGF-×××-3B9, 78365AGF-3B9, 78366AGF-×××-3B9, 78368AGF-×××-3B9
P85/TO05
P84/TO04
P83/TO03
P82/TO02
P81/TO01
P80/TO00
P57/A15
P56/A14
P55/A13
P54/A12
ASTB
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
V
SS
P00/RTP0
P01/RTP1
P02/RTP2
P03/RTP3
P04/PWM0
P05/TCUD/PWM1
P06/TIUD/TO40
P07/TCLRUD
WDTO
IC
V
DD
V
SS
X1
X2
MODE1
RESET
P30/T
X
D0
P31/R
X
D0
P32/SO/SB0
P33/SI/SB1
P34/SCK
P35/T
X
D1
P36/R
X
D1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
P52/A10
P51/A9
P50/A8
P47/AD7
P46/AD6
P45/AD5
P44/AD4
P43/AD3
P42/AD2
P41/AD1
P40/AD0
V
SS
V
DD
AV
DD
AV
REF
P77/ANI7
P76/ANI6
P75/ANI5
P74/ANI4
P73/ANI3
P72/ANI2
P71/ANI1
P70/ANI0
AV
SS
P20/NMI
P12
P13
P14
P15
P16
P17
V
SS
P24/INTP3/TI
P21/INTP0
P22/INTP1
P23/INTP2
Caution Connect the IC pin directly to V
SS
.
Remark
×××
indicates a ROM code suffix
P25/INTP4
P10
P11
MODE0
P53/A11
P91/WR
P90/RD
P93
P92
3
µ
PD78363A, 78365A, 78366A, 78368A
P00-P07
P10-P17
P20-P25
P30-P36
P40-P47
P50-P57
P70-P77
P80-P85
P90-P93
RTP0-RTP3
NMI
INTP0-INTP4
TI
TIUD
TCUD
TCLRUD
ANI0-ANI7
T
X
D0, T
X
D1
R
X
D0, R
X
D1
SI
SO
SB0, SB1
SCK
PWM0, PWM1
WDTO
MODE0, MODE1
AD0-AD7
A8-A15
ASTB
RD
WR
RESET
X1, X2
AV
DD
AV
SS
AV
REF
V
DD
V
SS
IC
: Port0
: Port1
: Port2
: Port3
: Port4
: Port5
: Port7
: Port8
: Port9
: Real-time Port
: Nonmaskable Interrupt
: Interrupt From Peripherals
: Timer Input
: Timer Input Up Down Counter
: Timer Control Up Down Counter
: Timer Clear Up Down Counter
: Analog Input
: Transmit Data
: Receive Data
: Serial Input
: Serial Output
: Serial Bus
: Serial Clock
: Pulse Width Modulation Output
: Watchdog Timer Ouput
: Mode
: Address/Data Bus
: Address Bus
: Address Strobe
: Read Strobe
: Write Strobe
: Reset
: Crystal
: Analog V
DD
: Analog V
SS
: Analog Reference Voltage
: Power Supply
: Ground
: Internally Connected
TO00-TO05, TO04 : Timer Output
4
µ
PD78363A, 78365A, 78366A, 78368A
FUNCTIONAL OUTLINE
Item
Product name
µ
PD78363A
µ
PD78365A
µ
PD78366A
µ
PD78368A
Minimum instruction
execution time
Internal memory
ROM
RAM
Memory space
General-purpose registers
Number of basic instructions
Instruction set
125 ns (internal clock: 16 MHz, external clock: 8 MHz)
24K bytes
768 bytes
None
2K bytes
32K bytes
48K bytes
64K bytes (externally expandable)
8 bits
×
16
×
8 banks
115
•
•
•
•
•
•
Input
I/O
16-bit transfer/operation
Multiplication/division (16 bits
×
16 bits, 32 bits
÷
16 bits)
Bit manipulation
String
Sum-of-products operation (16 bits
×
16 bits + 32 bits)
Relative operation
I/O lines
14 (of which 8 are shared with analog input)
49
31
49
Real-time pulse unit
• 16-bit timer
×
1
10-bit dead time timer
×
3
16-bit compare register
×
4
2 kinds of output mode can be selected
Mode 0, set-reset output: 6 channels
Mode 1, buffer output: 6 channels
• 16-bit timer
×
1
16-bit compare register
×
1
• 16-bit timer
×
1
16-bit capture register
×
1
16-bit capture/compare register
×
1
• 16-bit timer
×
1
16-bit capture register
×
2
16-bit capture/compare register
×
1
• 16-bit timer
×
1
16-bit compare register
×
2
16-bit resolution PWM output: 1 channel
Pulse outputs associated with real-time pulse unit: 4 lines
8-/9-/10-/12-bit resolution variable PWM output: 2 channels
10-bit resolution, 8 channels
Dedicated baud rate generator
UART (w/pin selection function):
Clocked serial interface/SBI:
Real-time output port
PWM unit
A/D converter
Serial interface
1 channel
1 channel
Interrupt function
• External: 6, internal: 14 (of which 2 are multiplexed with external)
• 4 priority levels can be specified through software
• 3 types of interrupt processing modes selectable
(vectored interrupt, macro service, and context switching)
80-pin plastic QFP (14
×
20 mm)
• Watchdog timer
• Standby function (HALT and STOP modes)
Package
Others
5