221
CHAPTER 14 SERIAL INTERFACE (SIO1)
Preliminary User’s Manual U13420EJ2V0UM00
14.4.2 3-wire serial I/O mode
The 3-wire serial I/O mode is valid for connection of peripheral I/O units and display controllers which incorporate
a conventional synchronous serial interface.
Communication is carried out with three lines of serial clock (SCK1), serial output (SO1) and serial input (SI1).
(1) Register setting
The 3-wire serial I/O mode is set with serial operating mode register 1 (CSIM1).
CSIM1 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets CSIM1 to 00H.
Caution
In 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 P82 (SCK1) to output mode (PM82 = 0).
• During serial clock input (slave transmission or slave reception)
Set P82 to input mode (PM82 = 1).
• During transmission/transmission and reception mode
Set P83 (SO1) to output mode (PM83 = 0).
• During reception mode
Set P84 (SI1) to input mode (PM84 = 1).
Address: FF68H After reset: 00H R/W
CSIE10
Enables/disables operation of serial interface (SIO1)
Shift register operation
Serial counter
Port
Note 1
0
Stops operation
Cleared
Port function
1
Enables operation
Enables count operation
Serial fu port function
DIR10
Start bit
0
MSB
1
LSB
ATE0
Selects operating mode of serial interface (SIO1)
0
3-wire serial I/O mode
1
3-wire serial I/O mode with automatic transmit/receive function
LCSK10
Chip enable control of SCK1 pin
0
SCK1 is used as port (P82) when CSIE10 = 0.
SCK1 is used for clock output when CSIE10 = 1.
1
SCK1 is fixed to high level when CSIE10 = 0.
SCK1 is used for clock output when CSIE10 = 1.
7
CSIE10
6
DIR10
5
ATE0
4
LCSK10
3
0
2
0
1
SCL101
0
SCL100
Symbol
CSIM1
Содержание 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 ...