M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 462

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Programmable I/O Ports
Table 2.15.1. Relation between ports and I/O functions of built-in peripheral devices
Table 2.15.2. Examples of working on unused pins in single-chip mode
Note 1:
Note 2:
Note 3:
AV
Ports P0 to P10 (excluding P8
X
NMI
AV
P7
P7
P7
P1
P7
P7
P8
P9
P9
P10
P10
P6
P8
P8
P9
P9
OUT
(6) I/O functions of built-in peripheral devices
(7) Examples of working on non-used pins
CC
SS
0
5
1
2
4
6
2
0
7
0
6
3
5
Table 2.15.1 shows relation between ports and I/O functions of built-in peripheral devices.
, P8
, P8
, P9
, P9
Table 2.15.2 contains examples of working on non-used pins. There are shown here for mere ex-
amples. In practical use, make suitable changes and perform sufficient evaluation in compliance with
you application.
(a) Single-chip mode
0
4
to P7
to P7
to P1
to P7
to P8
to P9
, V
(Note 2)
to P10
to P10
If setting these pins in output mode and opening them, ports are in input mode until switched into
output mode by use of software after reset. Thus the voltage levels of the pins become unstable,
and there can be instances in which the power source current increases while the ports are in
input mode.
In view of an instance in which the contents of the direction registers change due to a runaway
generated by noise or other causes, setting the contents of the direction registers periodically by
use of software increases program reliability.
When an external clock is input to the X
Output "L" if port P7
Port P7
REF
Port
1
7
4
6
5
7
7
3
4
2
Pin name
, BYTE
3
7
0
and P7
Input pins for external interrupt
I/O pins for serial I/O communication
1
I/O pins for serial I/O communication/Timer A I/O pins/Three-phase motor
control output pins
I/O pins for serial I/O communication/Timer A I/O pin
I/O pins for serial I/O communication/Timer A I/O pins/Timer B input pin
Timer A I/O pins/Three-phase motor control output pins
Timer A I/O pins
Input pins for external interrupt
Sub-clock oscillation circuit I/O pins
Timer B input pins
D-A converter output pins
A-D converter extended input pins
A-D trigger input pin
A-D converter input pins
A-D converter input pins / key-input interrupt function input pins
Timer A I/O pins
are N channel open drain.
0
and P7
5
)
After setting for input mode, connect every pin to V
resistor; or after setting for output mode, leave these pins open.
(Note 1, Note 3)
Connect to V
Connect to V
Connect to V
Open
1
are set to output mode.
Internal peripheral device I/O pins
SS
CC
CC
IN
pin.
via a resistor
Connection
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
SS
or V
Mitsubishi microcomputers
M16C / 62 Group
CC
via a
447

Related parts for M30622MA-XXXFP