AN2103 Freescale Semiconductor / Motorola, AN2103 Datasheet - Page 18

no-image

AN2103

Manufacturer Part Number
AN2103
Description
Local Interconnect Network (LIN) Demonstration
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
18
Application Note
4.2.1 Demo Modes
Freescale Semiconductor, Inc.
As discussed the demo has several modes of operation that are user
selectable. The mode is controlled by a CAN message or by the HEX
switch on the master PEC, when operated in standalone mode. The
mode can be changed at any time.
messages and switch positions that select different modes.
The mode select is controlled in the ScheduleMessage function. The
software reads a demomode control variable and depending on its
value calls a default message handler, broadcast message handler,
ident message handler or a sleep message handler. The control
variable is initialized to DEFAULT mode out of reset, but can be
updated directly from the hex switch (on Port D) or from a CAN
message.
For More Information On This Product,
Broadcast
Default
Mode
Sleep
Ident
Go to: www.freescale.com
Table 6 Mode Selection Table
ID 0x00, Byte0=0x0E, 0x00
ID 0x00, Byte0=0x0E, 0x01
ID 0x00, Byte0=0x0E, 0x02
ID 0x00, Byte0=0x0E, 0x03
Mode Selection Table
CAN Message
Table 6
shows the CAN
Switch Position
MOTOROLA
0
1
2
3
AN2103

Related parts for AN2103