beautypg.com

IBM uPD78082 User Manual

Page 192

background image

169

CHAPTER 11 SERIAL INTERFACE CHANNEL 2

Figure 11-13. Circuit of Switching in Transfer Bit Order

Start bit switching is realized by switching the bit order for data write to SIO2. The SIO2 shift order remains

unchanged.

Thus, switching between MSB-first and LSB-first must be performed before writing data to the shift register.

(4) Transfer start

Serial transfer is started by setting transfer data to the transmission shift register (TXS/SIO2) when the

following two conditions are satisfied.

Serial interface channel 2 operation control bit (CSIE2) =1

Internal serial clock is stopped or SCK2 is a high level after 8-bit serial transfer.

Caution

If CSIE2 is set to "1" after data write to TXS/SIO2, transfer does not start.

Upon termination of 8-bit transfer, serial transfer automatically stops and the interrupt request flag (SRIF) is

set.

7

6

Internal Bus

1

0

LSB-first

MSB-first

Read/Write Gate

SI2

Transmission Shift Register (TXS/SIO02)

Read/Write Gate

SO2

SCK2

D

Q

SO0 Latch

This manual is related to the following products: