255
CHAPTER 15 SERIAL INTERFACE (SIO30)
Preliminary User’s Manual U13420EJ2V0UM00
15.4.2 2-wire serial I/O mode
The 2-wire serial I/O mode is useful for connection to a peripheral I/O incorporating a clock-synchronous serial
interface, a display controller, etc.
This mode executes data transfers via two lines: a serial clock line (SCK30) and serial data input/output line
(SDIO30).
(1) Register settings
2-wire serial I/O mode is set by serial operation mode register 30 (CSIM30).
CSIM30 can be set by an 1-bit or 8-bit memory manipulation instruction.
RESET input sets CSIM30 to 00H .
Caution
In 2-wire serial I/O mode, set the port mode register (PMXX) as follows. In each case, set the output
latch to 0.
• During serial clock output (master transmission or master reception)
Set P74 (SCK30) to output mode (PM74 = 0)
• During serial clock input (slave transmission or slave reception)
Set P74 to input mode (PM74 = 1)
• During transmit mode
Set P75 (SDIO30) to output mode (PM75 = 0)
• During receive mode
Set P75 (SDIO30) to input mode (PM75 = 1)
Address: FFB0H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
CSIM30
CSIE30
0
0
0
0
MODE0
SCL301
SCL300
CSIE30
Enable/disable specification for SIO30
Shift register operation
Serial counter
Port
0
Operation stop
Clear
Port function
Note
1
Operation enable
Count operation enable
Serial function
MODE0
Transfer operation modes and flags
Operation mode
Transfer start trigger
0
Transmit mode
Write to SIO30
1
Receive mode
Read from SIO30
SCL301
SCL300
Clock selection
0
0
External clock input to SCK30
0
1
f
X
/2
5
(262 kHz)
1
0
f
X
/2
6
(131 kHz)
1
1
f
X
/2
7
(65.5 kHz)
Note When CSIE30 = 0 (SIO30 operation stop status), pins SDIO30 and SCK30 can be used as port functions.
Remarks 1. f
X
: main system clock oscillation frequency
2. Figures in parentheses are for operation with f
X
= 8.38 MHz.
Содержание mPD780065 Series
Страница 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Страница 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...