
SPMC802B
4. SIGNAL DESCRIPTIONS
4.1. PIN Descriptions (32 PIN)
Mnemonic
PIN No.
Functional Description
VDD
28
System Power Supply.
VSS
27
System Ground.
XO/R
4
Crystal In or Resistor In Input.
An external resistive pull-up is used to connect with internal OSC
circuitry for generating the internal clock and the related time base in R-Oscillation mode. It will
be connected with external crystal for a crystal oscillation circuitry in crystal mode.
XI
5
Crystal Output or External Clock Input.
External clock input is used to connect with internal clock
circuitry to generate the internal clock and the related time base in External clock mode. It will
be connected with external crystal for a crystal oscillation circuitry in crystal mode.
PA7:0
9, 10, 11, 12
20, 21, 22, 23
GPIO Port A7:0.
General-purpose inputs/outputs. Using the internal setting can configure it. In
addition, PA7 can be used as the external interrupt input. PA5:4 can be the compare inputs of
Comparator. PA3:0 can be the group input of external interrupt.
PB5
(V
pp
)
24
GPIO Port B5.
General-purpose input/output. Using the internal setting can configure it. In
addition, PB5 can be used as the external Main IRQ input. It is used as Programming Voltage
input in Programming mode.
PB1
(SCK)
29
GPIO Port B1.
General-purpose input/output. Using the internal setting can configure it. In
addition, it is used as Serial Clock input in Programming mode.
PB0
(SDA)
13
GPIO Port B0.
General-purpose input/output or the voltage reference input for the Comparator.
Using the internal setting can configure it. In addition, it is used as Serial Data input/output in
Programming mode.
PB7:6,4:2
19, 14, 6,
3, 30
GPIO Port B7:6,4:2.
General-purpose inputs/output. Using the internal setting can configure it. In
addition, PB7 can be the PWM waveform output. PB6 can be set as external event/clock input
for Timer 2. PB4 can be used as the Main nRESET input.
PC7:0
32, 1, 17, 16
31, 2, 18, 15
GPIO Port C7:0.
General-purpose inputs/outputs. Using the internal setting can configure it. In
addition, these pins can be used as the external interrupt inputs.
PD3:0
8, 7, 26, 25
GPIO Port D3:0.
General-purpose inputs/outputs. Using the internal setting can configure it.
4.2. PIN Assignment
4.2.1. 32 PIN package
P
P
P
P
SPMC802B
P
P
P
P
1
P
X
X
P
P
P
P
P
P
P
2
3
4
5
6
7
8
9
1
1
1
1
1
P
P
P
P
P
P
P
V
V
P
P
P
P
P
2
1
1
1
1
1
2
2
2
2
2
2
2
2
3
3
3
2
4.2.2. 28 PIN package
SPMC802B
P
P
P
P
1
P
X
X
P
P
P
P
P
P
P
2
3
4
5
6
7
8
9
1
1
1
1
1
P
P
P
P
P
P
P
V
V
P
P
P
P
P
2
1
1
1
1
1
2
2
2
2
2
2
2
2
Sunplus Technology Co., Ltd.
Proprietary & Confidential
5
AUG. 07, 2002
Version: 1.0