078-0132-01D LTM 10a PDF
078-0132-01D LTM 10a PDF
078-0132-01D LTM 10a PDF
User’s Guide
Revision 4
Corporation
078-0132-01D
Echelon, LON, LonTalk, LonBuilder, NodeBuilder, Neuron,
LonManager, LONMARK, LONWORKS, 3120, and 3150 are
registered trademarks of Echelon Corporation. LonMaker,
ShortStack,and i.LON are trademarks of Echelon Corporation.
Echelon Corporation
www.echelon.com
Contents
iv Echelon
1
LTM-10A Overview
The LTM-10 family of products, which includes the LTM-10A Flash Control
Module, the LTM-10 Motherboard, and the LTM-10A Platform provides a
modular family of easy-to-use tools for rapidly developing LONWORKS® devices.
The LTM-10A module contains a Neuron® 3150® Chip, flash memory, RAM,
crystal, and reset circuitry, thereby forming the basic building block for a
LONWORKS device. The LTM-10 Motherboard contains all the necessary
components to allow the use of the LTM-10A module on a LONWORKS network
including support for an SMX transceiver, a power supply, reset and service
switches, and status indicators. The LTM-10A platform combines the LTM-10A
module, the LTM-10 Motherboard, and an SMX transceiver in an enclosure. The
LTM-10A platform is shipped as part of the NodeBuilder® Development Tool; and
the LTM-10A platform, LTM-10A module, and LTM-10 Motherboard also are
available as stand-alone products.
The module also includes the MIP/P50 firmware which can be used to interface the
on-board Neuron Chip to an external host processor.
LTM-10 Motherboard
The LTM-10 Motherboard enables the user to easily interface an LTM-10A module to
an SMX transceiver of their choice. SMX transceivers are available for different
media from Echelon and other third party sources. The LTM-10 Motherboard also
provides a +5VDC supply for the LTM-10A Flash Control Module and the on-board
SMX transceiver, a service LED and switch, a reset LED and switch, and an LED and
a switch for application development. A connector is provided which enables the
Neuron Chip's I/O pins to be brought out for interfacing to external I/O or a host
processor. The motherboard contains a connector for the user to provide regulated
+5VDC input for use with transceivers and external I/O that require more than the
LTM-10A Platform
The LTM-10A platform implements a complete LONWORKS device. This is
accomplished by integrating the LTM-10 Motherboard, the LTM-10A flash control
module, a wall-mount power supply, and an SMX transceiver. The complete modular
assembly is enclosed to allow for easy portability and protection. Figure 1.3 shows a
photograph of the LTM-10A platform.
LTM-10A
Transceiver
Transceiver
Interface
L ONWORKS
Network
Host-based devices can be used for applications that require more processing power,
memory, or I/O capability than provided by the Neuron Chip. In this case, the
Neuron Chip becomes a communication processor. The application processing occurs
on an external host processor. Host applications can also be used to interface an
existing application to a LONWORKS network.
You can create a host-based device using a ShortStack™ Micro Server or a
Microprocessor Interface Program (MIP). The ShortStack Micro Server provides the
easiest to use interface with the least overhead required on a host. You can download
the ShortStack firmware and documentation from www.echelon.com/shortstack.
The LTM-10A module contains the Microprocessor Interface Program (MIP) version
P50 that also may be used in developing a host-based device. The MIP/P50 is
included as part of the system image on the LTM-10A Flash Control Module, and is
invoked by the application programmer through the use of Neuron C code.
Figure 1.5 shows the architecture of a host-based device using the LTM-10A module.
Network Driver
Host Interface
I/O Interface
LTM-10A
Transceiver
Transceiver
Interface
L ONWORKS
Network
Audience
The LTM-10A User's Guide provides specifications and user instructions for
customers who have purchased the LTM-10A module.
Content
This manual provides an overview of the LTM-10A flash control module, LTM-10
Motherboard, LTM-10A platform, and LTM-10A applications.
Chapter 2 describes the process of getting started with the LTM-10A platform.
Chapter 3 provides information for designing in the LTM-10A flash control module.
Chapter 4 discusses the steps necessary for programming the LTM-10A module.
Chapter 5 explains the use of the LTM-10A module as a network interface.
Related Documentation
The following is a list of documents available from Echelon that provide additional
information related to custom nodes. You can download PDF versions of these
manuals from the Echelon web site at www.echelon.com/products.
® ®
• FT 3120 and FT 3150 Smart Transceivers Databook. Describes the memory,
I/O, and communications ports of the Neuron Chip, together with the support
circuitry required for clock, reset, and service functions. Pin assignment, pad
layout, and electrical and environmental specifications are also provided.
• LonBuilder User's Guide. Describes the process of software and hardware
prototyping of custom nodes using the LonBuilder tools. Chapter 7 includes a
detailed discussion of custom device development.
• NodeBuilder User's Guide. Describes the process of software and hardware
prototyping of custom devices using the NodeBuilder tool.
• LonBuilder Hardware Guide. Describes the LonBuilder hardware. Chapter 2
describes the hardware products that can be used for prototyping and developing
custom devices. These products include the LONWORKS Module Application
Interface which is used to debug custom devices based on LONWORKS control
modules including the LTM-10A module.
• Neuron C Programmer's Guide. Provides an overview of the Neuron C
programming language.
• Neuron C Reference Guide. Provides reference information on the functions and
features available within Neuron C.
• LONWORKS Host Application Programmer's Guide. Describes the process of
developing application programs that run on host processors other than the
Neuron Chip.
®
• LONMARK Layers 1-6 Interoperability Guidelines. Provides guidelines for using
®
layers 1 to 6 of the LonTalk protocol and the requirements for compatibility at
Layer 1.
• LONMARK Application Layer Interoperability Guidelines. Provides guidelines
for the LonTalk application layer, including the handling of functional blocks,
configuration information, product documentation, SNVTs, and SCPTs.
• The Echelon LONWORKS Products Catalog, which contains a data sheet for all
LONWORKS products, including Echelon's family of SMX transceivers.
• The ShortStackUser’s Guide. Provides information on designing devices using
the ShortStack Micro Server.
This chapter describes how to get started with the LTM-10A module by
setting up the LTM-10A platform. This chapter also applies to LTM-
10 Motherboard users.
Connecting Power
The LTM-10 motherboard requires power as described below:
• Primary Power. For most configurations, primary power is supplied via the DC
power jack at J3. This jack accepts unregulated +9 to 12VDC input, which the
motherboard regulates to +5VDC. Connect the wall-mount power supply
provided with the LTM-10A platform to this jack. This input can be used with
any SMX transceiver that requires less than 100mA. The output of the LTM-10
power supply is a nominal 9-12VDC at 500mA. Table 2.3 lists the specifications
of the LTM-10 power supplies.
• Alternate Primary Power. For SMX transceivers that require more than
100mA, such as power line transceivers, regulated +5VDC ±5% power must be
supplied to the motherboard. In this case, only the DC power connector at J4 is
used. Connect a regulated +5VDC ±5% power supply to J4, and do not use the
wall-mount power supply included with the LTM-10A platform. Make sure the
output current capability of your power supply is enough to satisfy the current
needs of the SMX transceiver used. The J4 connector is compatible with IBM
PC compatible disk drive power connectors so that a readily available PC power
supply may be used.
1 2 3 4
If necessary, taller socket strips may be used to gain more clearance between the
LTM-10A module and the application board. Decisions about component placement
on the application electronics board must also consider electromagnetic interference
(EMI) and electrostatic discharge (ESD) issues discussed later in this document.
Figure 3.2 shows the maximum height of parts on both sides of the
LTM-10A module.
Three plated mounting holes that accept No. 6 (3.5mm) mounting screws are
electrically connected to the LTM-10A module ground plane. When the 0.025"
(0.64mm) square posts of P1 and P2 are inserted into the sockets they provide enough
holding strength (3 oz (85g)/pin) to secure the LTM-10A module against shock and
vibration to the operating limits of the components on the module. However, at least
one metal standoff and fastening screw located at the mounting hole near the P2
connector is recommended to meet EMI limits and for ESD protection.
Figure 3.2 shows the recommended PCB pad layout for the application electronics
board to interconnect an LTM-10A module with an application board that has socket
strips mounted on the component side.
Table 3.1 Socket Strips Suitable for Use with the LTM-10A Module Header Pins
0.08 (2.03)
0.062 (1.57)
0.50 P1 0.20 P2
(5.08)
(12.70)
Tolerances:
.xxx ± .005 (0.13)
.xx ± .010 (0.25)
Approx. 1X Scale
Figure 3.1 Recommended Spacing between the LTM-10A Module and Application Electronics
Board
-0.15 (-3.81)
0 1 25
2 26
P1
2.40 (60.96)
P2
2.000 (50.80)
2.100 (53.34)
1 6
2.25 (57.2)
-0.050 0.800
(-1.27) (20.32)
2.0
(50.8)
~PKT SEND
The ~PKT SEND output signal is asserted low when the LTM-10A module is sending
a packet to the network. The ~PKT SEND output signal is asserted for
approximately 40ms when the application processor of the Neuron Chip on the LTM-
10A module queues a message for sending. This output can be used to drive an
activity LED. It can sink 4mA with VOL≤0.45V or 20mA with VOL~IV. It can source
20µA with VOH≥2.4V.
CLK OUT
The CLK OUT output signal is driven by the CLK2 pin of the LTM-10A module
Neuron Chip at the same frequency as the Neuron Chip CLK IN input. It is a CMOS
driver that can drive 5 LS-TTL loads and can be used to interface to the FTT-10 Free
Topology Transceiver and the LPT-10 Link Power Transceiver.
IO[10..0]
The IO[10..0] signals are connected to the IO[10..0] pins of the Neuron Chip on the
LTM-10A module. The Neuron Chip uses these pins to connect to application-
specific I/O hardware. The specific functions of these pins is described in the Neuron
Chip Data Book.
~IRQ
The IRQ signal output signals an interrupt request from the LTM-10A module to
the host processor when executing the MIP/P50 firmware. It pulses high or low to
signal an interrupt request. The polarity is under software control. It is also
available for use by an application. The address of this memory mapped register is
the least significant bit (LSB) of location 0xE000, and the state of the signal reflects
the value written to this location, either a '0' or a '1'. See Chapter 4 for a Neuron C
example using this output.
~RESET
The ~RESET signal resets the LTM-10A module and is asserted low by the LTM-10
low voltage protection circuit. An external low voltage protection circuit is not
required. This signal may be directly connected to a reset push button without
debouncing. Figure 3.3 shows the reset circuitry on board the LTM-10A module.
+5 +5 P1-9
Low Voltage
68pF
Interrupt
DS1233 Neuron Chip
68pF
When used as a MIP module, the Reset output of the LTM-10 must be used to alert
the attached host processor that the host interface must be resynchronized.
1 CONTINUOUS
2 CONTINUOUS
SERVICE LED
BEHAVIOR
3 CONTINUOUS
4 REPEATED
5 REPEATED*
7 CONTINUOUS
Figure 3.3 Possible Service LED Behaviors Showing Different Duty Cycles
The following sections describe the hardware interface for standard LONWORKS
transceivers available from Echelon for free topology, twisted pair, and power line
communications. The user’s guide for each transceiver contains documentation on the
interface requirements. The following sections provide additional information on using
these transceivers with the LTM-10A module.
Note: The user's guides for the various transceivers are the source material for all
reference information. The following schematics are samples and are provided for
example purposes only.
1 Use type 30 for any transceiver type. The communications port is initially defined as all inputs. This option
is not supported by the NodeBuilder software.
Rr To/From
~RESET ~RESET Network
C2
C5
+
NET_B
CP4 R1 D2A D2B
VCS1 VCS0 CLKSEL0
CP1 TXD/CLKSEL1
+5V
CP2 TXEN
LTM-10A CP0 RXD D3B D4B (P
Module CP3 NC NC RX_ACTIVE CB
C8 sp
CLK OUT CLK T1
ark
GND GND ga
T2 ps)
D3A D4A
See FTT-10A
Documentation
XID4
XID3
XID2 Vcc
XID1
XID0
XID4 Vcc
XID3
XID2 +5V +9V
XID1
XID0 LINE
NEUTRAL
GROUND
GND = CENELEC Power Supply
+5 = Non-CENELEC
+5V +5V
CP0 CP0
LTM-10A DATA
Generic CP1 CP1
Module
Control CT N.C. Network
CP2 CP2
Module
CP3 CP3 DATA
X X X X X
TPT/XF-78
I I I I I CP4 Twisted Pair or
D D D D D
TPT/XF-78
4 3 2 1 0 GND GND Transceiver
TPT/XF-1250
Transceiver
Module
(DIODES = 1N4148 OR
GND = TP/XF-78
+5V = TP/XF-1250
3 Define a logical phantom router in the LonBuilder. Assign the same transceiver
type as the one used for the network manager node to one side of the router. The
other side of the router should be assigned the channel that represents your
custom transceiver. There is no need for the actual router hardware to be
present for this step.
5 Connect the LTM-10A Platform to the network manager and install it. Respond
YES when asked to have the communication parameters loaded.
6 Disconnect the module from the network, remove power from it, and replace the
SMX transceiver with your custom transceiver.
7 Choose the custom transceiver type (ID 30) for your LTM-10A.
8 Your LTM-10A is now programmed with your custom communication parameter.
The supply current requirements for the LTM-10A module are outlined in table 3.5.
The LTM-10A module requires a +5VDC ±5% power supply.
Table 3.5 LTM-10A Module +5 Volt Current Requirements
Typical Max
Current consumption 100mA 160mA
@ 10MHz
Notes:
1. Assumes internal I/O pullups are disabled and I/O lines are not connected to a load.
2. Assumes ~SERVICE pullup is enabled.
3. Includes CMOS flash memory running typical application with the Neuron Chip
firmware.
4. Actual current consumption of the LTM-10A Flash Control Module will depend on the
load characteristics of the transceiver with which it is used.
• Most of the RF noise originates in the CPU portion of the LTM-10A module, and
in any high-frequency or high-speed application circuitry in the node.
• Filtering is generally necessary to keep RF noise from getting out on the power
cable.
• The LTM-10A module must be well grounded within the node to ensure that its
built-in EMI filtering works properly.
The three standoff holes on the LTM-10A module are generally not needed for
mechanical support, but the hole nearest connector P2 is important for EMI
grounding of the LTM-10A module. Best results are achieved by a solid ground
connection from the LTM-10A module to the application mother board and to a
metalized enclosure using the P2 standoff.
Since the LTM-10A module routes the Neuron Chip's CP lines directly to connector
P2 without filtering, your design may require filtering on the transceiver's network
data communication lines to meet level “B” emission limits. In rare cases, such as
designs including circuits with extremely fast edges, additional noise attenuation is
• Provide adequate creepage and clearance distances to prevent ESD hits from
reaching sensitive circuitry.
• Use diode clamps or transient voltage suppression devices for accessible, sensitive
circuits.
The best protection from ESD damage is circuit inaccessibility. If all circuit
components are positioned away from package seams, the static discharges can be
prevented from reaching ESD sensitive components. There are two measures of
"distance" to consider for inaccessibility: creepage and clearance. Creepage is the
shortest distance between two points along the contours of a surface. Clearance is
the shortest distance between two points through the air. An ESD hit generally arcs
farther along a surface than it will when passing straight through the air. For
example, a 20kV discharge will arc about 0.4 inches (10mm) through dry air, but the
same discharge can travel over 0.8 inches (20mm) along a clean surface. Dirty
surfaces can allow arcing over even longer creepage distances.
When ESD hits to circuitry cannot be avoided through creepage, clearance and
ground guarding techniques, i.e., at external connector pins, explicit clamping of the
exposed lines is required to shunt the ESD current. Consult Protection of Electronic
Circuits from Overvoltages, by Ronald B. Standler, for advice about ESD and
transient protection for exposed circuit lines. In general, exposed lines
+5V
+5V
Keypad
LTM-10A
Flash Control
Module
MMAD1103
Diode Array
Figure 3.8 Example of Diode Clamping Protection for LTM-10A Module I/O Lines
This chapter discusses the steps necessary for programming the LTM-
10A module. Separate procedures are outlined for the LonBuilder and
NodeBuilder tools.
The LTM-10A firmware supports four memory maps. The LTM-10A firmware
automatically selects the appropriate memory map when an image is downloaded to
the LTM-10A module. All four memory maps always map the lower 16Kbytes of the
flash memory to the lower 16Kbytes of the LTM-10A module. These 16Kbytes
contain the Neuron firmware and the MIP/P50 image. The following table
summarizes the memory allocation for the four memory maps:
The four memory maps support the following different types of applications:
· LTM-10A Flash. This memory map is used to run applications that require more
RAM than the 2Kbytes of on-chip RAM on the LTM-10A Neuron Chip. The
application is loaded in the 16Kbyte external flash, plus the available portion of
the 2Kbyte EEPROM on the LTM-10A Neuron Chip. It can be used for
debugging with the NodeBuilder 3 Development Tool, but if you will be doing
extended debugging, you should use the LTM-10A RAM memory map instead.
This memory map stores the application in non-volatile memory, so the
application is preserved even if power to the LTM-10A module is lost or
interrupted.
· LTM-10A Flash 64K. This memory map is similar to the LTM-10A Flash memory
map, but supports a larger application (40Kbytes external flash memory instead
of 16Kbytes external flash memory), and no external RAM. As with the LTM-10A
Flash memory map, this memory map can be used for debugging with the
NodeBuilder 3 Development Tool, but if you will be doing extended debugging,
you should use the LTM-10A RAM memory map instead. This memory map
stores the application in non-volatile memory, so the application is preserved
even if power to the LTM-10A module is lost or interrupted.
· LTM-10A MIP. This memory map is used when the MIP/P50 image on the LTM-
10A module is used to support an external host processor as described in
Chapter 3.
· LTM-10A RAM. This memory map is used for application development using the
NodeBuilder 3 Development Tool. The RAM memory map is ideal for
2. Copy the Ltm10sys.sym file to a new Ver121 directory in the LonBuilder Images
directory (c:\lb\images by default).
3. Copy the Gen.lib file from your LonBuilder Images\Ver6 directory to the new
Images\Ver121 directory.
* These numbers can be adjusted to change the mix of application vs. data RAM, as
long as the non-volatile memory starts at 0x4000, the total number of pages is less
than 128, and memory is not allocated past 0xBFFF.
7. Install the LTM-10A device with the LonBuilder software. If your channel
definition for the LTM-10A device uses a standard transceiver type, you do not
need to update the communications parameters during installation. The
LTM-10A module automatically configures its communications parameters based
on input from its transceiver ID pins (the SMX modular transceivers
automatically set the LTM-10A module transceiver ID pins when using an
LTM-10 Motherboard).
You will typically use the LTM-10A RAM hardware template for your development
target since it supports an unlimited number of write cycles to the application
memory space, which is important while debugging your application. This template
assigns the first 16Kbytes of the LTM-10A RAM as application memory, and the
remaining 16Kbytes as RAM. You can change the mix of application memory and
RAM. To do this, copy the LTM-10A RAM template to a user template, open the
user template, and change the non-volatile and RAM settings on the Off-chip
Memory tab. The non-volatile memory must start at 0x4000, the total memory
allocated to non-volatile memory and RAM cannot exceed 32K, and memory cannot
be allocated past 0xBFFF.
You will typically use the LTM-10A Flash or LTM-10A Flash 64K hardware
template for your release target, depending on whether you need more flash memory
or more RAM.
When you download your application to the LTM-10A module, the memory map on
the LTM-10A module will automatically be initialized to match your selected
hardware template.
Device Recovery
This feature, through a series of user-initiated steps, clears the application in the
LTM-10A module and leaves the device in the applicationless state. This provides an
easy way of returning the device to a known state in case of errors during development.
The necessary steps are:
1 Activate the Service signal by depressing the Service switch and holding it depressed
2 Reset the LTM-10A module by depressing and releasing the Reset switch
3 Wait approximately ten seconds while still holding the Service switch depressed
4 Once the Reset LED flashes momentarily, release the Service switch
Activity LED
The ~PKT SEND signal (pin 20 of P1) is asserted low for approximately 40ms when a
packet is sent from the network processor to the MAC processor on the LTM-10A
device's Neuron Chip. This provides an indication of LTM-10-generated network
activity for the LTM-10 device. For convenience, SMX-compatible transceivers have a
front panel activity LED which can be driven by the ~PKT SEND signal from the LTM-
10A module.
For a non-MIP application running on the LTM-10A module, the state of the IRQ pin
can be controlled by the value written to the least significant bit of location 0xE000
(either a '0' or a '1'). The following Neuron C syntax can be used to set the state of the
IRQ output signal:
Once the MIP application has been successfully loaded and synchronized with the host,
the host should send a downlink niRESYNC network interface command to the LTM-10A
module, and the LTM-10A module will respond with an uplink niACKSYNC command.
This synchronizes the parallel interface, leaving the write token on the host.
Refer to the NodeBuilder User's Guide for more information on developing a LONWORKS
host application with the LTM-10A Flash Control Module.
Hardware Interface
The main components of the hardware interface are described in chapter 4 of the
LonBuilder Microprocessor Interface Program (MIP) User's Guide. The hardware
interface for developing a network interface based on the LTM-10A is simplified due to
some of the built-in features of the LTM-10A module. For information about ordering
LONWORKS documentation, see Related Documentation in Chapter 1.
The host interface consists of the eight data lines, and three control lines.
The Uplink Interrupt can still be optionally used. Since the LTM-10A provides a memory
mapped register IRQ output, no special Neuron Chip address decoding is necessary.
However an interrupt latch is still needed to allow the host to clear the uplink interrupt
state. Note that the ~IRQ output of the LTM-10A is an active low (low going pulse)
signal by default. The ~IRQ can be easily changed into an active high signal by
modifying the irq_callback() function in the MIP_LTM.NC file in the ...\NB\EXA\
directory, as described by the comments in that file.
Example Design
Figure 5.1 is an example of the hardware interface between the LTM-10A Module and a
Motorola MC68360 processor.
R/~W IO_9
A0 IO-10
IO_8
A1
A2 O.C. ~Reset
GND H Vdd Vdd
LTM-10A
C1 Reset Service
38 . LED LED
.
MC68360 ~CS2 ~E 470ž 470ž
.
~Service
~IRQx ~RST_SENSE
UPLINK INTERRUPT