Panasonic MN103S User Manual page 365

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

Clock Setup
Transfer clock is not necessary for UART communication itself but necessary for setup of data transmission/
reception timing in the serial interface. Select the timer to be used as a baud rate timer by the SISFCLK register.
Break Status Transmission Control Setup
The SCAnBRE flag of the SCnCTR register generates the break status. If SCAnBRE is set to "1" to select the
break transmission, all bits from start bits to stop bits transfer "0".
Frame Setup
Figure: 12.3.6 shows the data format at UART communication.
Start
bit
Figure:12.3.6 UART Serial Interface Transmission/Reception Data Format
Transmission/reception data consists of start bit, character bit, parity bit and stop bit. Table: 12.3.5 shows its kinds
to be set.
Table:12.3.5 UART Serial Interface Transmission/Reception Data
Start bit
Character bit
Parity bit
stop bit
The SCAnLN flag of the SCnCTR register is used to set character bit to 7 or 8 bits.
The SCAnS1-0 flags of the SCnCTR register are used to set stop bit to 1 or 2 bits.
1 bit judgement is set at reception regardless of setting.
Parity bit is used to detect wrong bits of transmission/reception data. Table: 12.3.6 shows kinds of parity bit. The
SCAnPTY2-0 flags of the SCnCTR register set parity bit.
Table:12.3.6 UART Serial Interface Parity Bit
SCnCTR
SCAnPTY2
SCAnPTY1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
Frame
Character bit
1 bit
7,8 bits
Fixed to 0, fixed to 1, odd, even, none
1,2 bits
Parity bit
SCAnPTY0
0
None
1
0
Setting prohibited
1
0
Fixed at 0
1
Fixed at 1
0
Even parity
1
Odd parity
Parity
Stop
bit
bit
Description
Do not add parity bit
Set parity bit to "0"
Set parity bit to "1"
Control that the total of "1" of parity bit and character
bit should be even
Control that the total of "1" of parity bit and character
bit should be odd
Chapter 12
Serial interface 0 and 1
Operation
XII - 19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents