M306V8FJFP
Rev.1.31
Apr 18, 2005
page 7 of 363
REJ03B0082-0131
Table 1.4. Pin Description (2)
Signal name
F
unction
Pin name
I/O type
Power supply
VCC
P50 to P57
WRL / WR,
WRH / BHE,
RD,
BCLK,
HLDA,
HOLD,
ALE,
RDY
I/O port P5
I/O
VCC
P60 to P67
I/O port P6
I/O
VCC
P70 to P77
I/O port P7
I/O
VCC
P82, P84,
P87,
I/O port P8
I/O
Output
Input
Output
Input
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.
This is an 8-bit I/O port equivalent to P0. Pins in this port also
function as UART0, UART1 and multi-master I2C bus I/O pins as
selected by program.
This is an 8-bit I/O port equivalent to P0. (However, P70 and P71
are the pins of N-channel opendrain output) This port can function
as I/O pins for timers A0 to A3 and B5 by selecting in a program.
And, UART2, I2C bus I/O pin, P75 and P77 can also function as
input pin for Hsync conter.
Output WRL/WRH, (BHE/WR), RD, BCLK, HLDA, and ALE signals.
WRL/WRH and BHE/WR are switch able in a program. Note that
WRL and WRH are always used as a pair, so as WR and BHE.
WRL, WRH, and RD selected
If the external data bus is 16 bits wide, data are written to even
addresses when the WRL signal is low, and written to odd
addresses when the WRH signal is low. Data are read out when the
RD signal is low.
WR, BHE, and RD selected
Data are written when the WR signal is low, or read out when the
RD signal is low. Odd addresses are accessed when the BHE
signal is low. Use this mode when the external data bus is 8 bits
wide.
The microcomputer goes to a hold state when input to the HOLD
pin is held low. While in the hold state, HLDA outputs a low
level. ALE is used to latch the address. While the input level of the
RDY pin is low, the bus of the microcomputer goes to a wait state.
They are I/O ports with the same functions as P0. When so
selected in a program, they can function as I/O pins for INT
interrupt, Vsync input pins and the sub clock oscillator circuit. In that
case, connect a crystal resonator between P86 (XCOUT pin) and P87
(XCIN pin).
This is an 8-bit I/O port equivalent to P0. Pins in this port also
function as timer B0 and B1 input pins as selected by program.
P90, P91
I/O port P9
I/O
VCC
This is an I/O port equivalent to P0. Pins in this port also function as
A/D converter input pins and the capacitor connection pin for analog
RGB operation.
P103 to
P107
I/O port P10
I/O
VCC
P86,
These are exclusive pins for multi-master I2C-bus interface (N-
channel open drain output.)
SCL4 to 6,
SDA4 to 6
Multi-master
I2C-bus
interface
I/O
OSD function Hsync input pins.
Hsync
Hsync input
Input
VCC
These are exclusive pins for OSD functions.
R/DIGR0,
B/DIGB0,
G/DIGG0,
OUT1,
OUT2,
DIGR1,
DIGB1,
DIGG1,
DIGR2,
DIGG2,
DIGB2,
OSCOUT
OSD
function
output pin
Output
VCC
These are exclusive pins for data slicer function.
CVin1,
VHOLD1,
HLF1,
CVin2,
VHOLD2,
HLF2
Data slicer
function I/O
pin
I/O
VCC
These are oscillation pins for OSD function.
Using the same pins as external interrupt and Vsync input pin.
OSC1/
OSDHLF,
OSC2
Oscillation
pin for OSD
function
I/O
VCC