EasyManua.ls Logo

Panasonic MN103S

Panasonic MN103S
552 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 13
Serial Interface 2
Operation XIII - 29
Reception Error
Reception errors can be classified under 3 types, overrun error, parity error and framing error. Reception error can
be determined by checking the SC2ORE, SC2PEK and SC2FEF flags of the SC2STR register. If an error is found
from any of these flags, the SC2ERE flag of the SC2STR register is set to “1”. The SC2PEK and SC2FEF flags of
the reception error flags are updated when the communication complete interrupt SC2RIRQ is generated. The
SC2ORE flag is cleared upon generation of the next communication complete interrupt SC2RIRQ after data is
read from SC2RB. Check the reception error flags before the next communication is completed. These error flags
do not affect communication. Table: 13.3.12 shows reception errors causes.
Table:13.3.12 Cause of UART Serial Interface Reception Errors
Continuous Communication
This serial interface has a continuous communication function. If data is set in the transmission data buffer
SC2TB 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 Reset
Refer to: XIII-17
Transmission Timing
Figure:13.3.18 Transmission Timing (With Parity bit)
Flag Reception error type
SC2ORE Overrun error Next data is received before reception buffer is read.
SC2PEK Parity error
Fixed 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 even
Even parity When the total of “1” of character bit and parity bit is odd
SC2FEF Framing error Stop bit is not detected.
Parity
bit
Stop
bit
Stop
bit
T
Tmax=2.5T
SBO2 pin
SC2TBSY
(Data set in SC2TB)
Interrupt(SC2TIRQ)

Table of Contents

Other manuals for Panasonic MN103S

Related product manuals