beautypg.com

Renesas SH7781 User Manual

Page 1171

background image

22. Serial I/O with FIFO (SIOF)

Rev.1.00 Jan. 10, 2008 Page 1141 of 1658

REJ09B0261-0100

(3)

Transmission in Slave Mode

Figure 22.11 shows an example of settings and operation for slave mode transmission.

Start

End

Set the TXE bit in SICTR to 1

Set SITDR

Clear the TXE bit in SICTR to 0

TDREQ = 1

Transfer ended?

No

Yes

No

Yes

No.

1

2

3

4

6

Flowchart

SIOF Settings

SIOF Operation

Set to enable transmission

Issue transmit transfer
request to enable
transmission when frame
synchronous signal is
input

Set transmit data

Transmit SITDR from SIOF_TXD

synchronously with SIOF_SYNC

5

Transmit

Set to disable transmission

End transmission

Set SIMDR, SISCR, SITDAR,

SIRDAR, SICDAR, SITCR,

and SIFCTR

Set operating mode, serial clock, slot

positions for transmit/receive data, slot

position for control data, and FIFO

request threshold value

Figure 22.11 Example of Transmit Operation in Slave Mode