Chapter 12
Serial interface 0 and 1
XII - 2 Overview
12.1 Overview
Serial interface 0 and 1 can be used for both communication types of clock synchronous and UART (Universal
Asynchronous Receiver).
12.1.1 Functions
Table: 12.1.1 shows functions for serial interface 0 and 1.
Table:12.1.1 Functions for Serial Interface 0 and 1
Serial0 Serial1
Communication style Clock synchronous UART(duplex) Clock synchronous UART(duplex)
Interrupt SC0TIRQ(at transmis-
sion)
SC0RIRQ(at reception)
SC0TIRQ(at transmis-
sion)
SC0RIRQ(at reception)
SC1TIRQ(at transmis-
sion)
SC1RIRQ(at reception)
SC1TIRQ(at transmis-
sion)
SC1RIRQ(at reception)
Pin SBO0,SBI0,SBT0 SBO0,SBI0 SBO1,SBI1,SBT1 SBO1,SBI1
3-channel communication O - O -
2-channel communication - O - O
1-channel communication - - - -
Transfer bit count specifica-
tion/frame selection
7 to 8 bits 7 bits+1STOP
7 bits+2STOP
8 bits+1STOP
8 bits+2STOP
7 to 8 bits 7 bits+1STOP
7 bits+2STOP
8 bits+1STOP
8 bits+2STOP
Parity bit selection
OOOO
Parity bit control 0 parity
1 parity
odd parity
even parity
0 parity
1 parity
odd parity
even parity
0 parity
1 parity
odd parity
even parity
0 parity
1 parity
odd parity
even parity
Start condition selection - “With” only - “With” only
First transfer bit specifica-
tion
OOOO
Input edge/output edge - - - -
SBO2 output control after
last data transmission
----
Clock source 1/2,1/16 of timer 14
underflow
1/2,1/16 of timer 15
underflow
1/2,1/16 of timer 16
underflow
SBT0 pin
1/16 of timer 14 under-
flow
1/16 of timer 15 under-
flow
1/16 of timer 16 under-
flow
1/2,1/16 of timer 14
underflow
1/2,1/16 of timer 15
underflow
1/2,1/16 of timer 16
underflow
SBT1 pin
1/16 of timer 14 under-
flow
1/16 of timer 15 under-
flow
1/16 of timer 16 under-
flow
Error detection Parity error
Overrun error
Parity error
Overrun error
Framing error
Parity error
Overrun error
Parity error
Overrun error
Framing error
Maximum transfer rate 3.0Mbps 375Kbps 3.0Mbps 375Kbps