LIN Stepper Software Description
Designer Reference Manual
DRM047 — Rev 0
62
LIN Stepper Software Description
MOTOROLA
6.1.9 Reconfig LIN
The process includes the functions necessary for LIN signal
reconfiguration.
Section 5. LIN Master Software Description
, each LIN
Stepper Controller node is programmed as an acceptor for one set of the
LIN signals according to the controlled Axis. The LIN-bus signalling
scheme can be reconfigured to a different Axis
The Reconfig LIN process automatically provides reconfiguration with
the following steps:
•
Initializes the LIN reconfiguration RAM buffer
fLINReconfigBufRAM
•
Presets the LIN reconfiguration RAM buffer according to
l_u8_rd_configLINAxis
message
•
Finally the LIN reconfiguration RAM buffer fLINReconfigBufRAM
is programmed into the LIN configuration tables in FLASH ROM
6.2 LIN Stepper Software Application State Diagram
shows the application states. After an MCU reset, the MCU
Initialization states provide the initialization of all processes.
6.2.1 MCU Init
In this state, the application provides all system module initialization after
reset:
•
sets CONFIG2 register
•
sets clock module to 4.9152 MHz bus frequency
•
copies configuration parameters from FLASH memory
sParameterRAM = sParameterROM
•
initializes uAppFlags1.Byte = 0; uAppErrFlags.Byte = 0
•
initializes SPI
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
.
..