Uart Serial Interface - Panasonic MN103S User Manual

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

13.3.4

UART Serial Interface

Serial interface 2 is capable of duplex UART communication. Table: 13.3.8 shows UART serial interface func-
tions.
Table:13.3.8 UART Serial Interface Functions
Communication style
Interrupt
Pin
First transfer bit specification
Parity bit selection
Parity bit control
Frame selection
Continuous operation
Maximum transfer rate
Activation Factor for Communication
At transmission, if data is set in the transmission data buffer SC2TB, a start condition is generated to start transfer.
At reception, reception is started by receiving a start bit. In reception, when the data length of "L" for input data
is equal to or longer than 0.5 bit, that is recognized as a start bit.
Transmission
Data transmission is automatically started when data is set in the transmission data buffer SC2TB. When trans-
mission is completed, the serial 1 transmission interrupt SC2TIRQ is generated.
Reception
When a start bit is recognized, reception is started after the transfer bit counter that counts transfer bit is cleared.
The serial interface 2 interrupt SC2RIRQ is generated when the reception is completed.
Duplex Communication
In duplex communication, transmission and reception can be performed independently at the same time. In this
case, the frame mode and parity bit polarity of data on transmission/reception must be the same.
Transmission Data Buffer
Refer to: XIII-11
Reception Data Buffer
Refer to: XIII-12
UART (duplex)
SC2TIRQ (transmission), SC2RIRQ (reception)
SBO2 (I/O)
SBI2 (input)
MSB/LSB first
O
0 parity
1 parity
Even parity
Odd parity
7 data bits +1STOP
7 data bits +2STOP
8 data bits +1STOP
8 data bits+2STOP
O
300 kbps
(standard 300 bps to 38.4 kbps)
(with baud rate timer)
Chapter 13
Serial Interface 2
Operation
XIII - 25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents