
R38F1 Group, R38F2 Group, R38F3 Group
1. Overview
REJ03B0226-0001 Rev.0.01
Nov 21, 2007
Under development Preliminary specification
Notice: This is not a final specification. Some parametric limits are subject to change.
1.5
Pin Functions
I: Input
O: Output
I/O: Input and output
Note:
1.
Refer to the oscillator manufacturer for oscillation characteristics.
Table 1.9
Pin Functions
Item
Pin Name
I/O
Description
Power supply input
VCC
VSS
Apply 1.8 V to 5.5 V to the VCC pin.
Apply 0 V to the VSS pin.
CNVSS
This pin controls the operating mode of the chip.
Connect to the VSS pin.
Reset input
RESET
I
Driving this pin low resets the MCU.
XIN clock input
XIN
I
These pins are provided for XIN clock generation circuit I/O.
Connect a ceramic resonator or a crystal oscillator between the XIN
and XOUT pins.
(1) To use an external clock, input it to the XIN pin. In
this case, the XOUT pin can be set as I/O port P20.
XIN clock output
XOUT
I/O
XCIN clock input
XCIN
I
These pins are provided for XCIN clock generation circuit I/O.
Connect a crystal oscillator between the XCIN and XCOUT pins.
XCIN clock output
XCOUT
O
INT interrupt input
INT0, INT1
I
INT interrupt input pins
Key input interrupt
input
R38F3 Group KEY0 to KEY7
I
Key input interrupt input pins
R38F2 Group KEY0 to KEY5
R38F1 Group KEY0 to KEY3
Timer 2
T2OUT
O
Timer 2 output pin
Serial interface
SCLK
I/O
Transfer clock I/O pin
RXD
I
Serial data input pin
TXD
O
Serial data output pin
SRDY
O
Ready signal output pin
Input capture
CAP0
I
Capture input pin
Output compare
CMP0 to CMP2
O
Compare output pin
A/D converter
R38F3 Group AN0 to AN7
I
Analog input pins to A/D converter
R38F2 Group AN0 to AN5
R38F1 Group AN0 to AN3
I/O ports
R38F3 Group
P00 to P07,
P10 to P17
I/O
I/O ports. Each port can be individually programmed as either input or
output in bit units. The output format is CMOS 3-state. A pull-up
resistor is enabled or disabled in bit units. P00 to P07 can be used to
output the large current for LED drive.
P21,
P30, P31
I/O ports. Each port can be individually programmed as either input or
output in bit units. The output format is CMOS 3-state.
R38F2 Group
P00 to P07,
P10 to P15
I/O ports. Each port can be individually programmed as either input or
output in bit units. The output format is CMOS 3-state. A pull-up
resistor is enabled or disabled in bit units. P00 to P07 can be used to
output the large current for LED drive.
P21
I/O port. Each port can be individually programmed as either input or
output in bit units. The output format is CMOS 3-state.
R38F1 Group
P00,
P03 to P07,
P10 to P13
I/O ports. Each port can be individually programmed as either input or
output in bit units. The output format is CMOS 3-state. Any input port
can be set to use/not use a pull-up resistor in bit units. P00, P03 to
P07 can be used to output the large current for LED drive.
P21
I/O port. Each port can be individually programmed as either input or
output in bit units. The output format is CMOS 3-state.
Output ports
P20
O
Output-only port. The output format is CMOS 3-state.
P22
Output-only port. The output format is N-channel open drain.