LIN Master Software Description
Data Flow
DRM047 — Rev 0
Designer Reference Manual
MOTOROLA
LIN Master Software Description
47
5.2.7 Loop1 Timing
Sets ECT channel1 output compare register and waits for interrupt; set
by means of
periodeMasterMode
variable to 20ms.
5.2.8 Loop1 Send and Receive LIN Messages
Send
frmPosCmd,
receive
frmPosStatus
and
frmAppStatus
(see
Section 5. LIN Master Software Description
). All data in transmitted
frames are predefined in MCU memory, including the required position
of the LIN Stepper Controller HID lamp, which is the read-out from
FieldOfPossition
array - curve SLOW-FAST.
5.2.9 Error Handling
Figure 5-4. Master Mode Data Flow Chart
TxPositionError_Loop1
positionAct_Loop1
frequencyAct_Loop1
uAppFlags_Loop1
uAppErrFlags_Loop1
analogValue_Loop1
RxStatusError_Loop1
RxPosStatusError_Loop1
positionReqSent_Loop1
Send and Receive
LIN messages
Loop1
ctrlFlag_Loop1
frequencyReq_Loop1
FieldOfPositions
LOOP1_TIMER_Interrupt
timing
Loop1
periodeMasterMode
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
.
..