223
CHAPTER 14 SERIAL INTERFACE (SIO1)
Preliminary User’s Manual U13420EJ2V0UM00
(3) MSB/LSB switching as the start bit
The 3-wire serial I/O mode has a function that enables it to select the transfer to start from either MSB or LSB.
Figure 14-6 shows the configuration of the serial I/O shift register 1 (SIO1) and internal bus. As shown in the
figure, MSB/LSB can be read/written in reverse form.
MSB/LSB switching as the start bit can be specified with bit 6 (DIR10) of the serial operating mode register
1 (CSIM1).
Figure 14-6. Switching Circuit in Transfer Bit Order
Start bit switching is realized by switching the bit order for data write to SIO1. The SIO1 shift order remains
unchanged.
Thus, MSB/LSB start bit must be switched before writing data to the shift register.
(4) Transfer start
Serial transfer is started by setting transfer data to the serial I/O shift register 1 (SIO1) when the following two
conditions are satisfied.
•
Serial interface (SIO1) operation control bit (bit 7 (CSIE10) of the serial operating mode register 1 (CSIM1))
= 1
•
Internal serial clock is stopped or SCK1 is at high level after 8-bit serial transfer.
Caution
If CSIE10 is set to 1 after data write to SIO1, transfer does not start.
Upon termination of 8-bit transfer, serial transfer automatically stops and the interrupt request flag (CSIIF1)
is set.
7
6
Internal Bus
1
0
LSB-first
MSB-first
Read/write gate
SI1
Shift register 1 (SIO1)
Read/write gate
SO1
SCK1
D
Q
SO1 Latch
Содержание 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 ...