XI - 55
Chapter 11 Serial Interface 0, 1
Operation
Serial Interface 0 Pin Setup (1 channel, at reception)
Table 11-3-27 shows the pin setup at UART serial interface 0 reception with 1 channel (TXD0 pin). The
RXD0 pin is not used, so can be used as a port.
Table 11-3-27 UART Serial Interface 0 Pin Setup (1 channel, at reception)
Serial Interface 0 Pin Setup (2 channels, at transmission / reception)
Table 11-3-28 shows the pin setup at UART serial interface 0 transmission / reception with 2 channels
(TXD0 pin, RXD0).
Table 11-3-28 UART Serial Interface 0 Pin Setup (2 channels, at transmission / reception)
Data output pin Data input pin
TXD0A pin/ RXD0A pin/
TXD0B pin RXD0B pin
Port Pin P03/P70 P04/P71
Serial data output "1" input
SC0MD1(SC0SBOS) SC0MD1(SC0SBIS)
Input mode
P0DIR (P0DIR3)
P7DIR (P7DIR1)
-
-
I/O
Pull-up (Pull-down) setup -
Style -
Setup item
Port Pin Setup
TXD / RXD pin Setup
Function
-
SC0ODC (SC0SEL)
Select used pin (A, B)
TXD0/RXD0 pin independent/connection
SC0MD1 (SC0IOM)
Data output pin Data input pin
TXD0A pin/ RXD0A pin/
TXD0B pin RXD0B pin
Port Pin P03/P70 P04/P71
Serial data output "1" input
SC0MD1(SC0SBOS) SC0MD1(SC0SBIS)
Push-pull /
Nch open-drain
SC0ODC (SC0ODC0)
SC0ODC (SC0ODC2)
Output mode Input mode
P0DIR (P0DIR3) P0DIR (P0DIR4)
P7DIR (P7DIR0) P7DIR (P7DIR1)
Add/Not Add
P0PLU (P0PLU3)
P7PLUD(P7PLUD0)
[ Chapter4, 4.7.2 Register ]
TXD / RXD pin Setup
TXD0/RXD0 pin independent/connection
SC0MD1 (SC0IOM)
Function
Setup item
Port Pin Setup
Select used pin (A, B)
SC0ODC (SC0SEL)
Note) Select pull-up/down resistor with P7RDOWN flag of FLOAT register (x'03F2E')
-
I/O
Pull-up (Pull-down) setup -
Style