English
Language : 

SH7014 Datasheet, PDF (352/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
12. Serial Communication Interface (SCI)
Bit 4⎯Framing Error (FER): Indicates that data reception ended abnormally due to a framing
error in the asynchronous mode.
Bit 4
FER
Description
0
Receiving is in progress or has ended normally*1
[Clearing conditions]
(initial value)
• Power-on reset or standby mode
• When 0 is written to FER after reading FER = 1
1
A receive framing error occurred*2
[Setting condition]
When at the end of an SCI receive operation the final stop bit of the receive data
is checked and its value*2 is 0
Notes: 1. The FER flag is not affected and retains their previous values when the RE bit in SCR is
cleared to 0.
2. When the stop bit length is two bits, only the first bit is checked to see if it is a 1. The
second stop bit is not checked. When a framing error occurs, the SCI transfers the
receive data into the RDR but does not set RDRF. Serial receiving cannot continue
while FER is set to 1. In the clock synchronous mode, serial transmitting is also
disabled. In addition, serial transmission cannot continue in clock synchronous mode.
Bit 3⎯Parity Error (PER): Indicates that data reception (with parity) ended abnormally due to a
parity error in the asynchronous mode.
Bit 3
PER
Description
0
Receiving is in progress or has ended normally*1
(initial value)
[Clearing conditions]
• Power-on reset or standby mode
• When 0 is written to PER after reading PER = 1
1
A receive parity error occurred*2
[Setting condition]
PER is set to 1 if the number of 1s in receive data, including the parity bit, does
not match the even or odd parity setting of the parity mode bit (O/E) in the serial
mode register (SMR)
Notes: 1. The PER flag is not affected and retains their previous values when the RE bit in SCR
is cleared to 0.
2. When a parity error occurs, the SCI transfers the receive data into the RDR but does
not set RDRF. Serial receiving cannot continue while PER is set to 1. In the clock
synchronous mode, serial transmitting is also disabled. In addition, serial transmission
cannot continue in clock synchronous mode.
Rev.5.00 Sep. 27, 2007 Page 318 of 716
REJ09B0398-0500