Shift Edge; Leading Edge 12.4; Number Of Bits To Transfer; Trailing Edge - Toshiba TLCS-870/C Series Manual

8 bit microcontroller
Hide thumbs Also See for TLCS-870/C Series:
Table of Contents

Advertisement

12.3.2 Shift edge

The leading edge is used to transmit, and the trailing edge is used to receive.
12.3.2.1 Leading edge
Transmitted data are shifted on the leading edge of the serial clock (falling edge of the
output).

12.3.2.2 Trailing edge

Received data are shifted on the trailing edge of the serial clock (rising edge of the
put).
SCK pin
SO pin
Shift register
SCK pin
SI pin
Shift register

12.4 Number of bits to transfer

Either 4-bit or 8-bit serial transfer can be selected. When 4-bit serial transfer is selected, only the lower 4 bits of
the transmit/receive data buffer register are used. The upper 4 bits are cleared to "0" when receiving.
The data is transferred in sequence starting at the least significant bit (LSB).

12.5 Number of words to transfer

Up to 8 words consisting of 4 bits of data (4-bit serial transfer) or 8 bits (8-bit serial transfer) of data can be trans-
ferred continuously. The number of words to be transferred can be selected by SIOCR2<BUF>.
An INTSIO interrupt is generated when the specified number of words has been transferred. If the number of
words is to be changed during transfer, the serial interface must be stopped before making the change. The number of
words can be changed during automatic-wait operation of an internal clock. In this case, the serial interface is not
required to be stopped.
Bit 0
Bit 1
Bit 2
3210
* 321
** 32
(a) Leading edge
Bit 0
Bit 1
Bit 2
0 ***
10 **
****
(b) Trailing edge
Figure 12-5 Shift edge
Page 135
Bit 3
*** 3
Bit 3
210 *
3210
* ; Don't care
TMP86PM29BUG
pin input/
SCK
pin input/out-
SCK

Advertisement

Table of Contents
loading

Table of Contents