
LIN Stepper Software Description
Designer Reference Manual
DRM047 — Rev 0
60
LIN Stepper Software Description
MOTOROLA
6.1.4 Position Sensing
Position sensing handles the actual position variable
positionAct
. The
process should guarantee that the actual position is actualized
(increment/decrement) each motor step provided by the Motor Stepping
Control Process.
The process also handles position initialization and correction.
NOTE:
The stepper motor is controlled as an open loop system in the
application described in this document. So the position is updated each
motor step according to the motor stepping direction. If any kind of
position sensing or position initialization (e.g. a Hall sensor with a
defined position) is used, the current software could be adapted simply
by changing of the Position Sensing process.
6.1.5 LIN Driver
LIN drivers provide all the processes for the LIN-bus protocol, which
handles the transmitting/receiving of LIN frames. The application
software communicates with the drivers using LIN API as shown in
. The LIN messages are described in the
.
6.1.6 SPI Driver
The MCU part of the 908E625 device communicates with the Power Die
using the SPI module (See
).
6.1.7 Timer Motor Step
The Timer Motor Step sets the timer for the The Motor Stepping Control
and Motor Position and Speed Control processes.
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
.
..