Panasonic MN103S User Manual page 401

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

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
Flag
Reception error type
SC2ORE
Overrun error
SC2PEK
Parity error
SC2FEF
Framing error
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
SBO2 pin
Tmax=2.5T
SC2TBSY
(Data set in SC2TB)
Interrupt(SC2TIRQ)
Next data is received before reception buffer is read.
Fixed to 0
Fixed to 1
Odd parity
Even parity
Stop bit is not detected.
T
Figure:13.3.18 Transmission Timing (With Parity bit)
When parity bit is "1"
When parity bit is "0"
When the total of "1" of character bit and parity bit is even
When the total of "1" of character bit and parity bit is odd
Chapter 13
Serial Interface 2
Parity
Stop
Stop
bit
bit
bit
Operation
XIII - 29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents