205
CHAPTER 15 SERIAL INTERFACE SIO3
Preliminary User’s Manual U14581EJ3V0UM00
15.4.2 3-wire serial I/O mode
The 3-wire serial I/O mode is useful when connecting 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 (SCK3), serial output line (SO3), and serial
input line (SI3).
(1) Register settings
3-wire serial I/O mode is set with the serial operation mode register 3 (CSIM3).
CSIM3 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input clears CSIM3 to 00H.
Caution
In the 3-wire serial I/O mode, set the port mode register (PM5X) as follows. Besides that,
set all output latches to 0.
• When serial clock output (Master transmit or master receive)
Set P50 (SCK3) to the output mode (PM50 = 0)
• When serial clock input (Slave transmit or slave receive)
Set P50 to the input mode (PM50 = 1)
• When transmit or transmit/receive mode
Set P51 (SO3) to the output mode (PM51 = 0)
• When receive mode
Set P52 (SI3) to the input mode (PM52 = 1)
Address: FF84H After Reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
CSIM3
CSIE3
0
0
0
0
MODE3
SCL31
SCL30
CSIE3
SIO3 Operation Enable/Disable Specification
Shift Register Operation
0
Operation disabled
1
Operation enabled
MODE3
Transfer Operation Mode Flag
Operation Mode
0
Transmit or transmit/receive mode
1
Receive-only mode
SCL31
SCL30
Clock Selection
0
0
External clock input
0
1
f
X
/2
2
1
0
f
X
/2
3
1
1
f
X
/2
4
Caution
Bits 3 to 6 must be set to 0.
Remark f
X
: Main system clock oscillation frequency
Содержание mPD780852 Series
Страница 2: ...2 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 8: ...8 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 12: ...12 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 26: ...26 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 46: ...46 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 74: ...74 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 90: ...90 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 100: ...100 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 136: ...136 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 142: ...142 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 186: ...186 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 222: ...222 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 230: ...230 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 240: ...240 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 262: ...262 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 296: ...296 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 304: ...304 Preliminary User s Manual U14581EJ3V0UM00 MEMO...
Страница 314: ...314 Preliminary User s Manual U14581EJ3V0UM00 MEMO...