EasyManuals Logo

Fujitsu 8FX User Manual

Fujitsu 8FX
650 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
Page #263 background imageLoading...
Page #263 background image
MB95630H Series
MN702-00009-2v0-E FUJITSU SEMICONDUCTOR LIMITED 241
CHAPTER 14 LIN-UART
14.6 Operations of LIN-UART and LIN-UART
Setting Procedure Example
14.6.8 Examples of LIN-UART LIN Communication Flow
Chart (Operating Mode 3)
This section shows examples of LIN-UART LIN communication flow charts.
â–  LIN Master Device
Figure 14.6-18 LIN Master Flow Chart
YES
NO
NO
YES
YES
NO
YES
NO
Start
Initial setting:
Set to operating mode 3
Enable serial data output, set baud rate
Set synch break length
TXE = 1, TIE = 0, RXE = 1, RIE = 1
Message?
RXE = 0
Enable synch break interrupts
Transmit synch break:
ECCR:LBR = 1
Transmit Synch field:
TDR = 0x55
LBD = 1
Synch break interrupts
Receive ID field
*1
Enable reception
LBD = 0
Disable synch break
interrupts
No error?
Handle an error
*2
Data field
received?
Set transmit data 1
TDR = Data 1
Enable transmit
interrupts
Wake up?
(0x80 reception)
Receive synch field
*1
Set Identify field: TDR = ID
RDRF = 1
Receive interrupt
RDRF = 1
Receive interrupt
(Reception) (Transmission)
RDRF = 1
Receive interrupt
Receive data 1
*1
Receive data N
*1
RDRF = 1
Receive interrupt
Set transmit data N
TDR = Data N
Disable transmit
interrupts
Receive data 1
*1
Read data 1
Receive data N
*1
Read data N
TDRE = 1
Transmit interrupt
RDRF = 1
Receive interrupt
RDRF = 1
Receive interrupt
* 1: If an error occurs, proceed to process the error.
* 2: - If the FRE or ORE flag is set to "1", write "1" to the SCR:CRE bit to clear the error flag.
- If the ESCR:LBD bit is set to "1", execute the LIN-UART reset.
Note: Deal properly with any error detected in a process.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Fujitsu 8FX and is the answer not in the manual?

Fujitsu 8FX Specifications

General IconGeneral
BrandFujitsu
Model8FX
CategoryComputer Hardware
LanguageEnglish

Related product manuals