Pin
Assigned
I/O
name
signal
PD1
SWD
I/O
PD1
I/O
PD2
PD2
I/O
OSC3
A
PD3
PD3
I/O
OSC4
A
PD4
PD4
I/O
PD5
PD5
I/O
Note: In the peripheral circuit descriptions, the assigned signal name is used as the pin name.
Universal port multiplexer (UPMUX)
The universal port multiplexer (UPMUX) allows software to select the peripheral circuit input/output function
to be assigned to each pin from those listed below.
Table 1.3.2.2 Peripheral Circuit Input/output Function Selectable by UPMUX
Peripheral circuit
I
C
2
(I2C)
UART
(UART3)
Synchronous serial
interface
(SPIA)
16-bit PWM timer
(T16B)
Note: Do not assign a function to two or more pins simultaneously.
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
Tolerant
Initial state
fail-safe
structure
I (Pull-up)
Serial-wire debugger data input/output
✓
I/O port
Hi-Z
–
I/O port
OSC3 oscillator circuit input
Hi-Z
–
I/O port
OSC3 oscillator circuit output
Hi-Z
I/O port
✓
Hi-Z
I/O port
✓
Signal to be assigned
I/O
SCLn
I/O
SDAn
I/O
USINn
I
USOUTn
O
SDIn
I
SDOn
O
SPICLKn
I/O
#SPISSn
I
TOUTn0/CAPn0
I/O
TOUTn1/CAPn1
I/O
TOUTn2/CAPn2
I/O
TOUTn3/CAPn3
I/O
Seiko Epson Corporation
Function
Channel number n
n = 0–2
I2C Ch.n clock input/output
I2C Ch.n data input/output
n = 0–2
UART3 Ch.n data input
UART3 Ch.n data output
n = 0–2
SPIA Ch.n data input
SPIA Ch.n data output
SPIA Ch.n clock input/output
SPIA Ch.n slave-select input
n = 0, 1
T16B Ch.n PWM output/capture input 0
T16B Ch.n PWM output/capture input 1
T16B Ch.n PWM output/capture input 2
T16B Ch.n PWM output/capture input 3
1 OVERVIEW
Package
✓ ✓ ✓ ✓
✓ ✓ ✓ ✓
✓ ✓ ✓ ✓
– – ✓ ✓
– – – ✓
Function
1-11