beautypg.com

Renesas SH7781 User Manual

Page 1090

background image

21. Serial Communication Interface with FIFO (SCIF)

Rev.1.00 Jan. 10, 2008 Page 1060 of 1658
REJ09B0261-0100

Bit Bit

Name

Initial
Value R/W

Description

0 DR 0 R/W*

1

Receive Data Ready

In asynchronous mode, indicates that there are fewer
than the receive trigger setting count of data bytes in
SCFRDR, and no further data has arrived for at least
15 etu after the stop bit of the last data received. This is
not set when using clocked synchronous mode.

0: Reception is in progress or has ended normally and

there is no receive data left in SCFRDR

[Clearing conditions]
• Power-on reset or manual reset
• When all the receive data in SCFRDR has been

read after reading DR = 1, and 0 is written to DR

• When all the receive data in SCFRDR has been

read by the DMAC

1: No further receive data has arrived

[Setting condition]
• When SCFRDR contains fewer than the receive

trigger setting count of receive data bytes, and no
further data has arrived for at least 15 etu after the
stop bit of the last data received*

6

Legend:

etu:

Elementary time unit (time for transfer of 1 bit)

Notes: 1. Only 0 can be written to clear the flag.

2. In 2-stop bit mode, only the first stop bit is checked for a value of 1; the second stop bit

is not checked.

3. As SCFTDR is a 64-byte FIFO register, the maximum number of bytes that can be

written when TDFE = 1 is 64

− (transmit trigger setting count). Data written in excess of

this is ignored. The upper bits of SCTFDR indicate the number of data bytes transmitted
to SCFTDR.

4. When a break is detected, the receive data (H'00) following detection is not transferred

to SCFRDR. When the break ends and the receive signal returns to mark 1, receive
data transfer is resumed.

5. SCFRDR is a 64-byte FIFO register. When RDF = 1, at least the receive trigger setting

count of data bytes can be read. If all the data in SCFRDR is read and another read is
performed, the data value is undefined. The number of receive data bytes in SCFRDR
is indicated by SCRFDR.

6. Equivalent to 1.5 frames with an 8-bit, 1-stop-bit format