English
Language : 

TMP86PM47AUG_07 Datasheet, PDF (116/170 Pages) Toshiba Semiconductor – 8 Bit Microcontroller
10. Synchronous Serial Interface (SIO)
10.3 Function
TMP86PM47AUG
10.3.2 Transfer bit direction
Transfer data direction can be selected by using SIOCR1<SIODIR>. The transfer data direction can't be set
individually for transmit and receive operations.
When the data direction is changed, the writing instruction to SIOCR1<SIODIR> should be executed while
the transfer is stopped (when SIOCR1<SIOF>= “0”)
SIOCR1<SIOS>
SCK pin
SIOTDB
A
SO pin
Shift out
A7
A6
A5
A4
A3
A2
A1
A0
(a) MSB transfer
SIOCR1<SIOS>
SCK pin
SIOTDB
SO pin
A
Shift out
A0
A1
A2
A3
A4
A5
A6
A7
(b) LSB transfer
Figure 10-5 Transfer Bit Direction (Example of transmit mode)
10.3.2.1 Transmit mode
(1) MSB transmit mode
MSB transmit mode is selected by setting SIOCR1<SIODIR> to “0”, in which case the data is
transferred sequentially beginning with the most significant bit (Bit7).
(2) LSB transmit mode
LSB transmit mode is selected by setting SIOCR1<SIODIR> to “1”, in which case the data is
transferred sequentially beginning with the least significant bit (Bit0).
10.3.2.2 Receive mode
(1) MSB receive mode
MSB receive mode is selected by setting SIOCR1<SIODIR> to “0”, in which case the data is
received sequentially beginning with the most significant bit (Bit7).
Page 106