TEST pinProvidedNot provided
VPP pinNot providedProvided
µ
PD784214AY
µ
(Mask
ROM)
Not provided
Not providedProvidedNot
Refer to the data sheet for each device.
PD784215A,
µ
PD784215AY
µ
128 KB (Mask ROM)192 KB
PD784216A/784216AY, 784218A/784218AY Subseries
µµµµ
µ
PD784216A,
µ
PD784216AY
µ
PD784217A,
µ
PD784217AY
µ
(Mask
ROM)
PD784218A,
µ
PD784218AY
µ
256 KB
(Mask
ROM)
PD78F4216A,
µ
PD78F4216AY
128 KB
(Flash
memory)
bytes
Provided
provided
provided
provided
µ
256 KB
(Flash
memory)
12,800
bytes
Note
Provided
Provided
Provided
µ
PD78F4218A,
PD78F4218AY
The internal flash memory capacity and internal RAM capacity can be changed using the internal memory
Note
size switching register (IMS).
Caution There are differences in noise immunity and noise radiation between the flash memory and mask
ROM versions. When pre-producing an application set with the flash memory version and then
mass-producing it with the mask ROM version, be sure to conduct sufficient evaluations on the
commercial samples (not engineering samples) of the mask ROM version.
pin to VSS directly or via a pull-down resistor in normal operation mode. Connect the
AV
P16/ANI6
P17/ANI7
VPP pin to VSS via a pull-down resistor in a system in which the on-chip flash memory is written while
mounted on the target board. For the pull-down connection, it is recommended to use a resistor with a
resistance ranging from 470 Ω to 10 kΩ.
Connect the AVDD pin to VDD.
2.
Connect the AVSS pin to VSS.
3.
The SCL0 and SDA0 pins are available in the µPD78F4216AY, 78F4218AY only.
4.
The EXA pin is available in the µPD78F4218A, 78F4218AY only.
P17/ANI7
P16/ANI6
P15/ANI5
P14/ANI4
P13/ANI3
P12/ANI2
P11/ANI1
P10/ANI0
AV
REF0
Note 2
AV
DD
Note 4
Note 4
Notes 1.
X2
X1
SS
V
XT2
XT1
RESET
P00/INTP0
P01/INTP1
P03/INTP3
P04/INTP4
P05/INTP5
P06/INTP6
P02/INTP2/NMI
Connect the V
DD
V
P122/RTP2
P123/RTP3
P124/RTP4
P125/RTP5
P126/RTP6
P127/RTP7
PP
pin to VSS directly or via a pull-down resistor in normal operation mode. Connect the
VPP pin to VSS via a pull-down resistor in a system in which the on-chip flash memory is written while
mounted on the target board. For the pull-down connection, it is recommended to use a resistor with a
resistance ranging from 470 Ω to 10 kΩ.
Connect the AVDD pin to VDD.
2.
Connect the AVSS pin to VSS.
3.
The SCL0 and SDA0 pins are available in the µPD78F4216AY, 78F4218AY only.
4.
The EXA pin is available in the µPD78F4218A, 78F4218AY only.
5.
Data Sheet U14125EJ1V0DS00
9
µµµµ
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
A0 to A19:Address BusP120 to P127:Port 12
AD0 to AD7:Address/Data BusP130, P131:Port 13
ANI0 to ANI7:Analog InputPCL:Programmable Clock
ANO0, ANO1:Analog OutputRD:Read Strobe
ASCK1, ASCK2:Asynchronous Serial ClockRESET:Reset
ASTB:Address StrobeRTP0 to RTP7:Real-time Output Port
AVDD:Analog Power SupplyRxD1, RxD2:Receive Data
REF0
AV
AVSS:Analog GroundSCL0
BUZ:Buzzer ClockSDA0
EXA
INTP0 to INTP6:Interrupt from PeripheralsSO0 to SO2:Serial Output
NMI:Non-maskable InterruptTI00, TI01,
P00 to P06:Port 0TI1, TI2, TI5 to TI8:Timer Input
P10 to P17:Port 1TO0 to TO2, TO5 to TO8: Timer Output
P20 to P27:Port 2TxD1, TxD2:Transmit Data
P30 to P37:Port 3VDD:Power Supply
P40 to P47:Port 4VPP:Programming Power Supply
P50 to P57:Port 5VSS:Ground
P60 to P67:Port 6WAIT:Wait
P70 to P72:Port 7WR:Write Strobe
P80 to P87:Port 8X1, X2:Crystal (Main System Clock)
P90 to P95:Port 9XT1, XT2:Crystal (Subsystem Clock)
P100 to P103:Port 10
REF1
, AV
Note 2
:Analog Reference VoltageSCK0 to SCK2:Serial Clock
Note 1
:Serial Clock
Note 1
:Serial Data
:External Access Status OutputSI0 to SI2:Serial Input
Notes 1.
The SCL0 and SDA0 pins are available in the µPD78F4216AY, 78F4218AY only.
The EXA pin is available in the µPD78F4218A, 78F4218AY only.
2.
10
Data Sheet U14125EJ1V0DS00
3. BLOCK DIAGRAM
µµµµ
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
INTP2/NMI
INTP0, INTP1,
INTP3 to INTP6
TI00
TI01
TO0
TI1
TO1
TI2
TO2
TI5/TO5
TI6/TO6
TI7/TO7
TI8/TO8
RTP0 to RTP7
NMI/INTP2
ANO0
ANO1
REF1
AV
AV
SS
P03/INTP3
ANI0 to ANI7
AV
REF0
AV
DD
AV
SS
PCL
BUZ
Programmable
interrupt
controller
Timer/event
counter
(16 bits)
Timer/event
counter 1
(8 bits)
Timer/event
counter 2
(8 bits)
Timer/event
counter 5
(8 bits)
Timer/event
counter 6
(8 bits)
Timer/event
counter 7
(8 bits)
Timer/event
counter 8
(8 bits)
Watch timer
Watchdog timer
Real-time
output port
D/A
converter
A/D
converter
Clock output
control
Buzzer output
78K/IV
CPU core
RAM
Flash
memory
UART/IOE1
Baud-rate
generator
UART/IOE2
Baud-rate
generator
Clocked
serial
interface
Bus I/F
Port 0
Port 1
Port 2
Port 3
Port 4
Port 5
Port 6
Port 7
Port 8
Port 9
Port 10
Port 12
Port 13
System control
RxD1/SI1
TxD1/SO1
ASCK1/SCK1
RxD2/SI2
TxD2/SO2
ASCK2/SCK2
SI0/SDA0
Note 1
SO0
SCK0/SCL0
AD0 to AD7
A0 to A7
A8 to A15
A16 to A19
RD
WR
WAIT
ASTB
Note 2
EXA
P00 to P06
P10 to P17
P20 to P27
P30 to P37
P40 to P47
P50 to P57
P60 to P67
P70 to P72
P80 to P87
P90 to P95
P100 to P103
P120 to P127
P130, P131
RESET
X1
X2
XT1
XT2
V
DD
V
SS
V
PP
Note 1
Notes 1.
2
This function supports the I
The EXA pin is available in the µPD78F4218A, 78F4218AY only.
2.
C bus interface and is available in the µPD78F4216AY, 78F4218AY only.
Data Sheet U14125EJ1V0DS00
11
µµµµ
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
4. PIN FUNCTIONS
4.1 Port Pins (1/2)
Pin NameI / OAlternate FunctionFunction
P00INTP0
P01INTP1
P02INTP2/NMI
P03INTP3
P04INTP4
P05INTP5
P06
P10 to P17InputANI0 to ANI7Port 1 (P1):
P100TI5/TO5
P101TI6/TO6
P102TI7/TO7
P103
P120 to P127I/ORTP0 to RTP7P ort 12 (P12):
P130, P131I/OANO0, ANO1Port 13 (P13):
I/O
I/O
I/O
ASTB
ASCK2/SCK2
−
TI8/TO8
Port 6 (P6):
8-bit I/O port
•
Input/output can be specified in 1-bit uni t s.
•
When used as an input port, an on-chip pull -up resistor can be
•
specified by means of s oftware.
Port 7 (P7):
3-bit I/O port
•
Input/output can be specified in 1-bit uni t s.
•
Whether specifying input mode or output mode, an on-c hi p pul l -up
•
resistor can be specif i ed i n 1-bi t units by means of sof tware.
8-bit I/O port
•
Input/output can be specified in 1-bit uni t s.
•
Whether specifying input mode or output mode, an on-c hi p pul l -up
•
resistor can be specif i ed i n 1-bi t units by means of sof tware.
The interrupt control flag (KRIF) is set t o 1 when a falling edge is
•
detected at a pin of this port .
Port 9 (P9):
N-ch open-drain middle-voltage I/O port
•
6-bit I/O port
•
Input/output can be specified in 1-bit uni t s.
•
LEDs can be driven directly.
•
Port 10 (P10):
4-bit I/O port
•
Input/output can be specified in 1-bit uni t s.
•
Whether specifying input mode or output mode, an on-c hi p pul l -up
•
resistor can be specif i ed i n 1-bi t units by means of sof tware.
8-bit I/O port
•
Input/output can be specified in 1-bit uni t s.
•
Whether specifying input mode or output mode, an on-c hi p pul l -up
•
resistor can be specif i ed i n 1-bi t units by means of sof tware.
2-bit I/O port
•
Input/output can be specified in 1-bit uni t s.
•
Data Sheet U14125EJ1V0DS00
13
µµµµ
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
4.2
Non-Port Pins (1/2)
Pin NameI / OAlternate FunctionFunction
TI00P35External count c l ock input to 16-bit timer c ounter
TI01P36Capture trigger signal input to capture/compare register 00
TI1P33External count c l ock input to 8-bit timer c ounter 1
TI2P34External count c l ock input to 8-bit timer c ounter 2
TI5P100/TO5External count clock input t o 8-bi t timer counter 5
TI6P101/TO6External count clock input t o 8-bi t timer counter 6
TI7P102/TO7External count clock input t o 8-bi t timer counter 7
TI8
TO0P3016-bit timer output (shared by 14-bit PWM output)
TO1P31
TO2P32
TO5P100/TI5
TO6P101/TI6
TO7P102/TI7
TO8
RxD1P20/SI1Serial data input (UART1)
RxD2
TxD1P21/SO1Serial data output (UART1)
TxD2
ASCK1P22/SCK1Baud rate clock input (UA RT1)
ASCK2
SI0P25/SDA0
SI1P20/RxD1Serial data input (3-wi re serial I/O 1)
SI2
SO0P26Serial data output (3-wire s eri al I/O 0)
SO1P21/TxD1S eri al data output (3-wire serial I/O 1)
SO2
Note
SDA0
SCK0P27/SCL0
SCK1P22/ASCK1S eri al c l ock input/output (3-wire serial I/O 1)
SCK2P72/ASCK2S eri al c l ock input/output (3-wire serial I/O 2)
P103/TO8External count clock input t o 8-bi t timer counter 8
8-bit timer output (shared by 8-bi t PWM output)
P103/TI8
P70/SI2Serial data input (UA RT2)
P71/SO2Serial data output (UA RT2)
P72/SCK2Baud rate cl ock input (UART2)
Note
P70/RxD2Serial data input (3-wire serial I /O 2)
P71/TxD2S eri al data output (3-wire serial I/O 2)
P25/SI0Serial data input/output (I2C bus)
Note
P27/SCK0Serial c l ock input/output (I
P06
Serial data input (3-wire serial I /O 0)
Serial clock input/ output (3-wire serial I/O 0)
2
C bus)
External interrupt request i nput
14
This function is available in the
Note
PD78F4216AY, 78F4218AY only.
µ
Data Sheet U14125EJ1V0DS00
µµµµ
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
4.2 Non-Port Pins (2/2)
Pin NameI / OAlternate FunctionFunction
PCLOutputP23Clock output (for trimming main system clock and subsystem clock)
BUZOutputP24Buzzer out put
RTP0 to RTP7OutputP120 to P127Real-time output port that out put s data in synchronizati on wi t h
trigger
AD0 to AD7I/OP40 to P47Lower address/data bus for expanding memory externally
A0 to A7P80 to P87Lower addres s bus for expanding memory external l y
A8 to A15P50 to P57Mi ddl e address bus for expanding memory ex t ernal l y
A16 to A19
RDP64Strobe signal output f or readi ng from external memory
WR
WAITInputP66Wait insertion at external memory access
ASTBOutputP67Strobe output that external l y latches address inform at i on output to
Note
EXA
RESETInput
X1Input
X2
XT1Input
XT2
ANI0 to ANI7InputP10 t o P17A/D converter analog input
ANO0, ANO1OutputP130, P131D/A converter analog output
REF0
AV
REF1
AV
DD
AV
SS
AV
DD
V
SS
V
PP
V
Output
P60 to P63Higher addres s bus for expanding memory ext ernal l y
Output
P65Strobe signal output for writing to external memory
ports 4 through 6 and 8 to access external memory
OutputP37Status signal output at external memory access
−
−
System reset input
Connecting crystal res onator for main system clock oscillation
−
−
Connecting crystal res onator for subsystem clock oscillation
−
−−
A/D converter reference v ol t age i nput
D/A converter reference v ol t age i nput
A/D converter positi ve power supply. Connect to VDD.
GND for A/D converter and D/A converter. Connect to VSS.
Positive power supply
GND
Flash memory programming mode setting.
Applying high-voltage for program wri te/verify. Connect t hi s pin to
SS
directly or via a pull-down res i s tor in normal operation mode.
V
Connect the V
PP
pin to VSS via a pull-down resistor in a system in
which the on-chip flash mem ory is written while mounted on the
target board. For the pull-down connect i on, it is recommended to
use a resistor with a resistance ranging from 470 Ω to 10 kΩ.
The EXA pin is available in the
Note
PD78F4218A, 78F4218AY only.
µ
Data Sheet U14125EJ1V0DS00
15
µµµµ
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
4.3 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 NameI/O Circuit TypeI/ORecommended Connection of Unused Pi ns
P00/INTP0
P01/INTP1
P02/INTP2/NMI
P03/INTP3 to P06/INTP6
P10/ANI0 to P17/ANI79InputConnect to VSS or V
P20/RxD1/SI110-K
P21/TxD1/SO110-L
P22/ASCK1/SCK110-K
P23/PCL
P24/BUZ
P25/SI0/SDA0
P40/AD0 to P47/AD7
P50/A8 to P57/A15
P60/A16 to P63/A19
P64/RD
P65/WR
P66/WAIT
P67/ASTB
P70/RxD2/SI28-N
P71/TxD2/SO210-M
P72/ASCK2/SCK28-N
P80/A0 to P87/A712-E
P90 to P9513-D
P100/TI5/TO5
P101/TI6/TO6
P102/TI7/TO7
P103/TI8/TO8
P120/RTP0 to P127/RTP712-E
P130/ANO0, P131/ANO112-F
Notes 1.
16
The SDA0 and SCL0 pins are available in the
The EXA pin is available in the
2.
PD78F4218A, 78F4218AY only.
µ
Data Sheet U14125EJ1V0DS00
PD78F4216AY, 78F4218AY only.
µ
µµµµ
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
Table 4-1. Types of Pin I/O Circuits and Recommended Connection of Unused Pins (2/2)
Pin NameI/O Circuit TypeI/ORecommended Connection of Unused Pi ns
RESET2-G
XT1
16
XT2
REF0
AV
REF1
AV
DD
AV
SS
AV
PP
V
−
Input
−
−
Connect to V
SS
Leave open
Connect to V
Connect to V
Connect to V
Connect this pin to V
operation mode. Connect the V
SS
DD
SS
SS
directly or via a pull-down res i s t in normal
PP
pin to VSS via a pull-down
resistor in a system in which the on-chip flash memory is written
while mounted on the target board.
For the pull-down connection, it i s recommended to use a resistor
with a resistance ranging from 470 Ω to 10 kΩ.
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).
Data Sheet U14125EJ1V0DS00
17
µµµµ
PD78F4216A, 78F4218A, 78F4216AY, 78F4218AY
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
Data
DD
V
P-ch
DD
V
P-ch
IN/OUT
Output
disable
N-ch
Input
enable
Type 10-K
Pullup
enable
Data
Open drain
Output disable
Type 10-L
Pullup
enable
Data
Open drain
Output disable
V
DD
P-ch
DD
V
P-ch
IN/OUT
N-ch
V
DD
P-ch
DD
V
P-ch
IN/OUT
N-ch
V
SS
Type 8-N
Pullup
enable
Data
Output
disable
Type 9
IN
P-ch
N-ch
(Threshold voltage)
DD
V
P-ch
N-ch
REF
V
V
DD
P-ch
Comparator
+
–
IN/OUT
Input
enable
Type 10-M
Pullup
enable
Data
Output disable
Type 12-E
Pullup
enable
Data
Output
disable
Input
enable
Analog output
voltage
P-ch
N-ch
V
DD
P-ch
V
DD
P-ch
IN/OUT
N-ch
V
SS
V
DD
P-ch
DD
V
P-ch
IN/OUT
N-ch
18
Data Sheet U14125EJ1V0DS00
Loading...
+ 42 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.