
341
CHAPTER 15
SERIAL INTERFACE SIO3
User’s Manual U12790EJ2V0UD
15.3 Registers Controlling Serial Interface SIO3
The following three registers control serial interface SIO3.
 Serial operating mode register 3 (CSIM3)
 Port mode register 7 (PM7)
 Port 7 (P7)
(1) Serial operating mode register 3 (CSIM3)
This register selects the serial clock of SIO3 and the operating mode, and enables or disables the operation.
CSIM3 is set by a 1-bit or 8-bit memory manipulation instruction.
The value of this register is initialized to 00H after reset.
Figure 15-2. Format of Serial Operating Mode Register 3 (CSIM3)
CSIE3
Enable/disable of SIO3 operation
Shift register operation
Serial counter
Port
0
Operation disabled
Cleared
Port functionNote 1
1
Operation enabled
Counter operation enabled
Serial function + port functionNote 2
MODE
Transfer operating mode flag
Operating mode
Transfer start trigger
SO3 output
0
Transmit or transmit/receive mode
SIO3 write
Serial output
1
Receive only mode
SIO3 read
Fixed to low levelNote 3
SCL31 SCL30
Selection of clock
0
External clock input to SCK3
01
fX/24 (394 kHz)
10
fX/25 (197 kHz)
11
fX/26 (98.4 kHz)
Notes 1. The SI3, SO3, and SCK3 pins can be used as port pins when CSIE3 = 0 (when SIO3 operation
is stopped).
2. When CSIE3 = 1 (when SIO3 operation is enabled), the SI3 pin can be used as a port pin if only
the transmission function is used, and the SO3 pin can be used as a port pin in the receive mode.
3. This pin can be used as a port pin (P71).
Remarks 1. fX: System clock oscillation frequency
2. ( ): fX = 6.3 MHz
<7>
6543
CSIE3
0000
2
MODE
1
SCL31
0
SCL30
Symbol
CSIM3
R/W
After reset
00H
Address
FF6FH