Chapter 13Serial Interface 2Operation XIII - 29■ Reception ErrorReception errors can be classified under 3 types, overrun error, parity error and framing error. Reception error canbe determined by checking the SC2ORE, SC2PEK and SC2FEF flags of the SC2STR register. If an error is foundfrom any of these flags, the SC2ERE flag of the SC2STR register is set to “1”. The SC2PEK and SC2FEF flags ofthe reception error flags are updated when the communication complete interrupt SC2RIRQ is generated. TheSC2ORE flag is cleared upon generation of the next communication complete interrupt SC2RIRQ after data isread from SC2RB. Check the reception error flags before the next communication is completed. These error flagsdo not affect communication. Table: 13.3.12 shows reception errors causes.Table:13.3.12 Cause of UART Serial Interface Reception Errors■ Continuous CommunicationThis serial interface has a continuous communication function. If data is set in the transmission data bufferSC2TB during transmission, the transmission buffer empty flag SC2TEMP is set, thus allowing automatic, con-tinuous communication. In this case, there is no communication blank. Set the next data to SC2TB until the trans-mission complete interrupt SC2TIRQ is generated since previous data is set.■ Force ResetRefer to: XIII-17■ Transmission TimingFigure:13.3.18 Transmission Timing (With Parity bit)Flag Reception error typeSC2ORE Overrun error Next data is received before reception buffer is read.SC2PEK Parity errorFixed to 0 When parity bit is “1”Fixed to 1 When parity bit is “0”Odd parity When the total of “1” of character bit and parity bit is evenEven parity When the total of “1” of character bit and parity bit is oddSC2FEF Framing error Stop bit is not detected.ParitybitStopbitStopbitTTmax=2.5TSBO2 pinSC2TBSY(Data set in SC2TB)Interrupt(SC2TIRQ)