XI - 35
Chapter 11 Serial Interface 0, 1
Operation
Serial Interface 0 Pins Setup (2 channels, at reception)
Table 11-3-10 shows the setup for synchronous serial interface pin with 2 channels (SBO0 pin, SBT0
pin) at reception. SBI0 pin can be used as a general port.
Table 11-3-10 Setup for Synchronous Serial Interface 0 Pin (2 channels, at reception)
Serial Interface 0 Pins Setup (2 channels, at transmission)
Table 11-3-9 shows the setup for synchronous serial interface pin with 2 channels (SBO0 pin, SBT0 pin)
at transmission. SBI0 pin can be used as a general port.
Table 11-3-9 Setup for Synchronous Serial Interface 0 Pin (2 channels, at transmission)
SBO0A pin/ SBI0A pin/
SBO0B pin SBI0B pin Internal clock External clock
Port Pin
Serial data output "1" input Serial clock I/O Serial clock I/O
SC0MD1(SC0SBOS) SC0MD1(SC0SBIS)
Push-pull / Push-pull / Push-pull /
Nch open-drain Nch open-drain Nch open-drain
SC0ODC(SC0ODC0)
SC0ODC(SC0ODC2)
Output mode Output mode Input mode
P0DIR (P0DIR3)
P7DIR (P7DIR0)
Add/Not Add Add/Not Add Add/Not Add
P0PLU (P0PLU3)
P7PLUD(P7PLUD0)
Clock I/O pin
SBT0A pin/SBT0B pin
P05/P72
Data output pin
P03/P70
Select used pin (A, B)
SC0ODC (SC0SEL)
SBI0/SBO0 connection
SC0MD1 (SC0IOM)
-
Setup item
Port Pin Setup
SBI / SBO pin Setup
Function
SC0MD1 (SC0SBTS)
SC0ODC (SC0ODC1)/SC0ODC (SC0ODC3)
P0DIR (P0DIR5)
P7PLUD (P7PLUD2)
Note) Select pull-up/down resistor with P7RDOWN flag of FLOAT register (x'03F2E')
[ Chapter4, 4.7.2 Register ]
-
-
-
P7DIR (P7DIR7)
P0PLU (P0PLU5)
I/O
Pull-up (Pull-down) setup
Style
SBO0A pin/ SBI0A pin/
SBO0B pin SBI0B pin Internal clock External clock
Port Pin
Port Serial data input Serial clock I/O Serial clock I/O
SC0MD1(SC0SBOS) SC0MD1(SC0SBIS)
Push-pull / Push-pull /
Nch open-drain Nch open-drain
input mode Output mode Input mode
P0DIR (P0DIR3)
P7DIR (P7DIR0)
Add/Not Add Add/Not Add
-
Note) Select pull-up/down resistor with P7RDOWN flag of FLOAT register (x'03F2E')
[ Chapter4, 4.7.2 Register ]
-
-
-
P7DIR (P7DIR7)
P0PLU (P0PLU5)
I/O
Pull-up (Pull-down) setup
-
SC0MD1 (SC0SBTS)
SC0ODC (SC0ODC1)/SC0ODC (SC0ODC3)
P0DIR (P0DIR5)
P7PLUD (P7PLUD2)
Style
Setup item
Port Pin Setup
SBI / SBO pin Setup
Function
Select used pin (A, B)
SC0ODC (SC0SEL)
SBI0/SBO0 connection
SC0MD1 (SC0IOM)
Data input pin
P03/P70
-
Clock I/O pin
SBT0A pin/SBT0B pin
P05/P72