
Rev.1.00
2004.03.23
page 8 of 320
M306H3MC-XXXFP/FCFP
Table 1.5.2 Pin Description
Signal name
Function
Pin name
I/O type
I/O port P5
Input/output
P50 to P57
This is an 8-bit I/O port equivalent to P0. In single-chip mode, P57 in
this port outputs a divide-by-8 or divide-by-32 clock of XIN or a clock of
the same frequency as XCIN as selected by program.
Output
Input
Output
Input
WRL / WR,
WRH / BHE,
RD,
BCLK,
HLDA,
HOLD,
ALE,
RDY
Output WRL, WRH (WR and BHE), RD, BCLK, HLDA, and ALE
signals. WRL and WRH, and BHE and WR can be switched using
program.
WRL, WRH, and RD selected
With a 16-bit external data bus, data is written to even addresses
when the WRL signal is “L” and to the odd addresses when the WRH
signal is “L”. Data is read when RD is “L”.
WR, BHE, and RD selected
Data is written when WR is “L”. Data is read when RD is “L”. Odd
addresses are accessed when BHE is “L”. Use this mode when using
an 8-bit external data bus.
While the input level at the HOLD pin is “L”, the microcomputer is
level. ALE is used to latch the address. While the input level of the
RDY pin is “L”, the microcomputer is in the wait state.
placed in the hold state. While in the hold state, HLDA outputs a “L”
Input/output
Input
Input/output
I/O port P6
I/O port P7
I/O port P8
I/O port P85
I/O port P9
I/O port P10
P60 to P67
P70 to P77
P80 to P84,
P86,
P87,
P85
P90 to P97
P100 to P107
This is an 8-bit I/O port equivalent to P0. Pins in this port also function
as UART0 and UART1 I/O pins as selected by program.
This is an 8-bit I/O port equivalent to P0 (P70 and P71 are N channel
open-drain output). This port can function as input/output pins for timers
A0 to A3 when so selected in a program.
Furthermore, P70 to P75, P71, and P72 to P75 can also function as
input/output pins for UART2, an input pin for timer B5, and output pins
for the three-phase motor control timer, respectively.
This is an 8-bit I/O port equivalent to P0. Pins in this port also function
as SI/O3, 4 I/O pins, Timer B0 to B4 input pins, A-D converter extended
input pins, A-D trigger input pins, or remote control input pins as
selected by program.
This is an 8-bit I/O port equivalent to P0. Pins in this port also function
as A-D converter input pins as selected by program. Furthermore, P104
to P107 also function as input pins for the key input interrupt function.
P80 to P84, P86, and P87 are I/O ports with the same functions as P0.
When so selected in a program, P80 to P81 and P82 to P84 can function
as input/output pins for timer A4 or output pins for the three-phase
motor control timer and INT interrupt input pins, respectively. P86 and
P87, when so selected in a program, both can function as input/output
pins for the subclock oscillator circuit. In that case, connect a crystal
resonator between P86 (XCOUT pin) and P87 (XCIN pin).
P85 is an input-only port shared with NMI. An NMI interrupt is generated
when input on this pin changes state from high to low.
The NMI function cannot be disabled in a program.
A pull-up cannot be set for this pin.
Output port P11
P11
Output
This is a 1-bit output-only port. Pins in this port also function as
SLICEON output pins as selected by program.