Datasheet

Section 16 Serial Communication Interface with FIFO (SCIF)
Rev. 3.00 Sep. 28, 2009 Page 471 of 910
REJ09B0350-0300
Table 16.3 Register Access
SCIFE Bit in HICR5 0 1
Bit 3 in MSTPCRB 0 1 0 1
SCIFCR H8S CPU
access*
2
Access disabled H8S CPU
access*
2
Access disabled
Other than SCIFCR H8S CPU
access*
2
Access disabled LPC access*
1
LPC access*
1
Notes: 1. When LPC access is set, writing from the H8S CPU is disabled. The read value is H'FF.
2. When H8S CPU access is set, writing from the LPC is disabled. The read value is H'00.
16.3.1 Receive Shift Register (FRSR)
FRSR is a register that receives data and converts serial data input from the FRxD pin to parallel
data. It stores the data in the order received from the LSB (bit 0). When one frame of serial data
has been received, the data is transferred to FRBR.
FRSR cannot be read from the CPU/LPC interface.
16.3.2 Receive Buffer Register (FRBR)
FRBR is an 8-bit read-only register that stores received serial data. It can read data correctly when
the DR bit in FLSR is set.
When the FIFO is disabled, the data in FRBR must be read before the next data is received. If new
data is received before the remaining data is read, the data is overwritten, resulting in an overrun
error.
When this register is read with the FIFO enabled, the first buffer of the receive FIFO is read.
When the receive FIFO becomes full, the subsequent receive data is lost, resulting in an overrun
error.
Bit Bit Name Initial Value R/W Description
7 to 0 Bit 7 to
bit 0
All 0 R Stores received serial data.
The data is 16 bytes when the FIFO is enabled.