CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U13850EJ4V0UM
250
(2) 3-wire serial I/O mode
3-wire serial I/O mode is useful when connecting to a peripheral I/O device that includes a clocked serial
interface, a display controller, etc.
This mode executes data transfers via three lines: a serial clock line (SCKn), serial output line (SOn), and serial
input line (SIn).
(a) Register settings
3-wire serial I/O mode is set via serial operation mode register n (CSIMn).
Figure 10-5. CSIMn Setting (3-Wire Serial I/O Mode)
After reset : 00H
R/W
Address: CSIM0
FFFFF2A2H
CSIM1
FFFFF2B2H
CSIM2
FFFFF2C2H
CSIM3
FFFFF2D2H
7
6
5
4
3
2
1
0
CSIMn
CSIEn
0
0
0
0
MODEn
SCLn1
SCLn0
(n = 0 to 3)
SIOn operation enable/disable specification
CSIEn
Shift register operation
Serial counter
Port
1
Operation enable
Count operation enable
Serial fu port function
Transfer operation mode flag
MODEn
Operation mode
Transfer start trigger
SOn output
0
Transmit/receive mode
Write to SIOn
Normal output
1
Receive-only mode
Read from SIOn
Port function
SCLn2
SCLn1
SCLn0
Clock selection
0
0
0
External clock input (SCKn)
0
0
1
when n = 0, 3: TO2
when n = 1, 2: TO3
0
1
0
f
XX
/8
0
1
1
f
XX
/16
1
0
0
Setting prohibited
1
0
1
Setting prohibited
1
1
0
f
XX
/32
1
1
1
f
XX
/64
Remark
Refer to
Figure 10-3
for the SCLn2 bit.
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...