59
No.
Pin Port
Mode
I/O
STBY Initial
Function
SA7003 SA8003
40 RXD2
USB_SI
I
I
I
-
USB IC COMMUNICATION DATA INPUT
41 TXD2
USB_SO
I
O
I
H
USB IC COMMUNICATION DATA OUTPUT
42 P3_1
USB_RTS
I
O
I
H
USB IC COMMUNICATION REQUEST
OUTPUT
43 P3_0
USB_RESET
I
O
I
L
USB IC RESET OUTPUT
44 P3_6
USB_STBY_B
I
O
I
H
USB IC STANDBY CONTROL OUTPUT
45 INT2
USB_CTS
I
I
I
-
USB IC COMMUNICATION REQUEST INPUT
46 KI3
USB_DDI
I
I
I
-
USB IC ERROR DETECTION
47 KI2
DIR_INT
I
I
I
-
DIR IC INTERRUPT REQUEST INPUT
48 KI1
STB_IR
I
I
I
-
STANDBY RETURN INPUT
49 KI0
POWER_DET
I
I
I
-
POWER DOWN DETECTION
50 AN7
KEY_1
I
I
I
-
KEY INPUT AD INPUT
51 AN6
KEY_2
I
I
I
-
KEY INPUT AD INPUT
52 AN5
KEY_3
I
I
I
-
KEY INPUT AD INPUT
53 AN4
TRAY_IN_SW
I
I
I
-
TRAY OPEN CLOSING TRIGGER INPUT
AD INPUT
54 P0_4
DIR_DO
I
I
I
L
DIR IC DATA OUTPUT
55 P6_2
DIR_DI
I
I
I
-
DIR IC DATA INPUT
56 P6_1
DIR_CL
I
I
I
L
DIR IC CLOCK OUTPUT
57
P
0_5
DIR
_CE
I
I
I
L
DIR IC CHIP ENABLE OUTPUT
58 AN1
MODEL_SEL_1
I
I
I
-
MODEL SELECTION AD INPUT
59 VSS
VSS
-
-
-
-
GND
60 AN0
MODEL_SEL_2
I
I
I
-
MODEL SELECTION AD INPUT
61 VREF
VREF
-
-
-
-
3.3V
62 VCC
VCC
-
-
-
-
3.3V
63 P3_7
USB_NMI
I
I
I
-
USB IC STANDBY DETECTION
64 P3_5
SCL
O
O
I
H
IIC CLOCK OUTPUT
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
R8C/2A Group
R8C/2B Group
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
(1
)
P
4
_
4
/X
C
O
U
T
P
4
_
3
/X
C
IN
P
3
_
4
/S
D
A
/S
C
S
M
O
D
E
R
E
S
E
T
NOTES:
1. P4_7/XOUT are an input-only port.
2. Can be assigned to the pin in parentheses by a program.
3. Confirm the pin 1 position on the package by referring to the package dimensions.
PLQP0064KB-A(64P6Q-A)
PLQP0064GA-A(64P6U-A)
(top view)
D/A converter
(8 bits
×
2)
R8C/Tiny Series CPU core
Memory
ROM
(1)
RAM
(2)
Multiplier
R0H
R0L
R1H
R2
R3
R1L
A0
A1
FB
SB
USP
ISP
INTB
PC
FLG
I/O ports
NOTES:
1. ROM size varies with MCU type.
2. RAM size varies with MCU type.
8
Port P1
8
Port P3
3
2
Port P4
8
Port P0
8
Port P2
5
Port P5
System clock
generation circuit
XIN-XOUT
High-speed on-chip oscillator
Low-speed on-chip oscillator
XCIN-XCOUT
Timers
Timer RA (8 bits
× 1)
Timer RB (8 bits
× 1)
Timer RC (16 bits
× 1)
Timer RD (16 bits
× 2)
Timer RE (8 bits
× 1)
Timer RF (16 bits
× 1)
UART or
clock synchronous serial I/O
(8 bits × 3)
I
2
C bus or SSU
(8 bits × 1)
Peripheral functions
Watchdog timer
(15 bits)
A/D converter
(10 bits
×
12 channels)
LIN module
8
Po
rt P
6
7
Po
rt P
8
QF01 : R5F212AASNFP