AN2103 Freescale Semiconductor / Motorola, AN2103 Datasheet - Page 8

no-image

AN2103

Manufacturer Part Number
AN2103
Description
Local Interconnect Network (LIN) Demonstration
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
8
Application Note
3.2.3 Ident Mode:
3.2.4 Sleep Mode:
3.3 LIN
Messaging
Scheme
Node1_Write
Node2_Write
Node3_Write
Node4_Write
Node5_Write
Node6_Write
Message Name
LINMsg01 (0xC1)
LINMsg02 (0x42)
LINMsg03 (0x03)
LINMsg04 (0xC4)
LINMsg05 (0x85)
LINMsg06 (0x06)
Message ID
(LIN ID)
This mode is primarily used to set-up the demo. The master transmits a
broadcast message that each slave node receives. On reception of this
message, the slaves output their IDs to the LEDs.
This is the demo’s low power mode. The master transmits a sleep
command that signals to the slaves to enter sleep mode by disabling
their voltage regulators. The master also enters sleep mode once the
sleep command has been successfully transmitted. Any slave can
wake-up the demo by pressing the red buttons around the perimeter of
the ‘clock face’. The slave node that is woken up wakes up the entire
network by transmitting a wake-up sequence on the LIN bus.
The LIN physical interface (MC33399) supports wake-up from the bus
and from an external source. On the detection of a valid wake-up signal,
the physical interface drives its inhibit output signal low, enabling an
external voltage regulator (if this feature is used). Alternatively, the
inhibit output can be used to drive the IRQ of the microcontroller. Refer
to MC33399 data sheet for specific application details.
A simple data driven messaging scheme was used to control the demo.
Each slave node is statically configured to recognize 3 LIN message
identifiers. These are a NodeX_Write, a NodeX_Read and a Broadcast
message, where X denotes the node number. This allows the master to
transmit commands and data to individual nodes and for each node to
transmit status responses back to the master. The broadcast message
identifier is common to each slave node. It allows the master to transmit
data to all the nodes simultaneously.
were used for the demo.
Freescale Semiconductor, Inc.
For More Information On This Product,
Master
Master
Master
Master
Master
Master
Slave Response
Table 1 LIN Messages
Go to: www.freescale.com
Source
Slave_ID 1
Slave_ID 2
Slave_ID 3
Slave_ID 4
Slave_ID 5
Slave_ID 6
Slave Response
Destination
Table 1
Master transmits node1 control
command
Master transmits node2 control
command
Master transmits node3 control
command
Master transmits node4 control
command
Master transmits node5 control
command
Master transmits node6 control
command
lists the messages that
Description
MOTOROLA
AN2103

Related parts for AN2103