
253
μ
PD17704, 17705, 17707, 17708, 17709
16.3.8 Operation mode and operation of each part
Tables 16-9 outlines the operations of the 3-wire serial I/O mode.
Table 16-9. Outline of Operation of Serial Interface 1
Operation Mode
3-Wire Serial I/O Mode
Slave operation
Master operation
Item
(SIO1CK1 = SIO1CK0 = 0)
(SIO1CK1 = SIO1CK0 = other than 0)
Status of
P0B2/SCK1
During wait
Wait released
During wait
Wait released
each pin
(SIO1TS = 0)
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
(SIO1TS = 1)
(SIO1TS = 0)
(SIO1TS = 1)
When P0BBIO2 = 0
When P0BBIO2 = 0
When P0BBIO2 = 0
When P0BBIO2 = 0
Floating
Floating
Floating
Floating
General-purpose
Waits for input of
General-purpose
General-purpose
input port
external clock
input port
input port
When P0BBIO2 = 1
When P0BBIO2 = 1
When P0BBIO2 = 1
When P0BBIO2 = 1
General-purpose
General-purpose
General-purpose
Outputs internal clock
output port
output port
output port
Outputs contents of
Outputs contents
Outputs high level
output latch
of output latch
P0B1/SO1
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
When P0BBIO1 = 0
When P0BBIO1 = 0
When P0BBIO1 = 0
When P0BBIO1 = 0
Floating
Floating
Floating
Floating
General-purpose
General-purpose
General-purpose
General-purpose
input port
input port
input port
input port
When P0BBIO1 = 1
When P0BBIO1 = 1
When P0BBIO1 = 1
When P0BBIO1 = 1
General-purpose
Outputs data
General-purpose
Outputs data
output port
output port
Outputs contents of
Outputs contents of
output latch
output latch
P0B0/SI1
When P0BBIO0 = 0
Floating
Waits for input of serial data
When P0BBIO0 = 1
General-purpose output port
Outputs contents of output latch
Clock counter
Incremented at rising of SCK1 pin
Operation of
Output
SIO1HIZ = 0
presettable
Not output
shift register 1
SIO1HIZ = 1
Shifted from MSB each time SCK1 pin falls and is output
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Input
Shifted from LSB each time SCK1 pin rises and is input.
SI1 pin outputs contents of output latch when P0BBIO0 = 1