Fujitsu 8FX Hardware Manual page 248

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

CHAPTER 14 LIN-UART
14.6 Operations of LIN-UART and LIN-UART
Setting Procedure Example
● Stop bit and reception bus idle flag
For transmission, the number of stop bits can be selected from one and two. If two stop bits are
selected, both stop bits are detected during reception.
When the first stop bit is detected, the receive data register full flag bit (SSR:RDRF) is set to
"1". When no start bit is detected afterward, the receive bus idle flag bit (ECCR:RBI) is set to
"1", indicating that no reception is executed.
● Error detection
In operating mode 0, the parity error, the overrun error and the frame error can be detected.
In operating mode 1, the overrun error and the frame error can be detected. However, the parity
error cannot be detected.
● Parity
The addition (at transmission) of and the detection (during reception) of a parity bit can be set.
The parity enable bit (SCR:PEN) is used to select whether or not to use a parity; the parity
select bit (SCR:P) is used to select the odd/even parity.
In operating mode 1, the parity cannot be used.
Figure 14.6-2 Transmission Data when Parity is Enabled
SIN
SOT
SOT
ST: Start bit, SP: Stop bit, Parity used (PEN = 1)
Note: In operating mode 1, the parity cannot be used.
● Data signaling
NRZ data format.
● Data bit transfer method
The data bit transfer method can be LSB-first transfer or MSB-first transfer.
226
ST
1 0 1 1
0
0
ST
1 0 1 1
0
0
ST
1 0 1 1
0
0
Data
FUJITSU SEMICONDUCTOR LIMITED
A parity error occurs in even
parity during reception
SP
(SCR:P = 0)
0 0 0
Transmission of even parity
(SCR:P = 0)
SP
0 0 1
Transmission of odd parity
SP
(SCR:P = 1)
0 0 0
Parity
MB95630H Series
MN702-00009-2v0-E

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents