Renesas SH7781 User Manual
Page 1172

22. Serial I/O with FIFO (SIOF)
Rev.1.00 Jan. 10, 2008 Page 1142 of 1658
REJ09B0261-0100
(4)
Reception in Slave Mode
Figure 22.12 shows an example of settings and operation for slave mode reception.
Start
End
Set the RXE bit in SICTR to 1
Read SIRDR
Clear the RXE bit in SICTR to 0
RDREQ = 1
Transfer ended?
No
Yes
No
Yes
No.
1
2
3
4
6
Flowchart
SIOF Settings
SIOF Operation
Set to enable reception
Enable reception when
the frame synchronous
signal is input
Read receive data
Store SIOF_RXD receive data in SIRDR
synchronously with SIOF_SYNC
5
Issue receive transfer
request according to the
receive FIFO threshold
value
Set to disable reception
End reception
Receive
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.12 Example of Receive Operation in Slave Mode