English
Language : 

SH7785 Datasheet, PDF (1172/1692 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
22. Serial I/O with FIFO (SIOF)
(4) Reception in Slave Mode
Figure 22.12 shows an example of settings and operation for slave mode reception.
No.
Flowchart
Start
1
Set SIMDR, SISCR, SITDAR,
SIRDAR, SICDAR, SITCR,
and SIFCTR
2
Set the RXE bit in SICTR to 1
3
Store SIOF_RXD receive data in SIRDR
synchronously with SIOF_SYNC
4
No
RDREQ = 1
Yes
5
Read SIRDR
SIOF Settings
SIOF Operation
Set operating mode, serial clock, slot
positions for transmit/receive data, slot
position for control data, and FIFO
request threshold value
Set to enable reception
Enable reception when
the frame synchronous
signal is input
Issue receive transfer
request according to the
receive FIFO threshold
value
Receive
Read receive data
No
Transfer ended?
Yes
6
Clear the RXE bit in SICTR to 0
End
Set to disable reception
End reception
Figure 22.12 Example of Receive Operation in Slave Mode
Rev.1.00 Jan. 10, 2008 Page 1142 of 1658
REJ09B0261-0100