
DRM047 — Rev 0
Designer Reference Manual
MOTOROLA
LIN Stepper Software Description
51
Designer Reference Manual — DRM047
Section 6. LIN Stepper Software Description
LIN Stepper Software is described in terms of:
•
LIN Stepper Software Data Flow
•
LIN Stepper Software Application State Diagram
•
Flow Charts
•
LIN Stepper Software Implementation
on the following pages
6.1 LIN Stepper Software Data Flow
and
show the slave software data flow. It consists
of the processes described in following subsections.
The slave application control is processed according to LIN messages
from the LIN driver. According to received messages x_rd_y, the
application variables and states are set. The LIN messages are
described in
Section 5. LIN Master Software Description
.
Detailed descriptions of the data variables are in
Stepper Software Data Variables
. A description of the application
processes starts here.
6.1.1 Slave Application Control
The Slave Application Control is the software top level which determines
other processes states. It controls the application states according to
. The
eAppState
variable reflects the application control
state. The Slave Application control process also interprets the LIN
signals and sets some Power Die variables using the SPI Driver.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..