Page 2
Parts manufactured by vendors other than Echelon and referenced in this document have been described for illustrative purposes only, and may not have been tested by Echelon. It is the responsibility of the customer to determine the suitability of these parts for each application.
This document describes how to design and develop a L router based on ORKS the Echelon Router 5000 chip, the Echelon FT Router 5000 chip, or the Echelon RTR-10 Router Core Module. This document does not describe any of the following Echelon prepackaged router products: MPR-50 Multi-Port Router, i.LON...
Neuron Chip TMPN3150/3120, or Cypress™ Neuron Chip Technical Reference Manual. Getting Support You can get technical support for any of Echelon’s current product offerings by contacting Echelon Support: www.echelon.com/support. You can also search the Echelon Knowledge Base for known product issues: www.echelon.com/support/kb/search.asp.
FCC Notice The RTR-10 Router Core Module is designed to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. The Router 5000 chip is designed to comply with FCC Part 15 Subpart B and EN 55022 Level B. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
Introduction to LonWorks Routers This chapter describes the router theory of operation, including router types, LonTalk protocol support for routers, and router use of message buffers. LonWorks Router User’s Guide...
1.25 Mbps backbone twisted pair channel to connect several 78 kbps free topology and link power channels. Alternatively, you might want to use power line for a portion of the Introduction to LonWorks Routers...
Use a network management tool, such as the LonMaker Integration Tool, to manage network images. LonWorks Router Products Echelon provides the following router products: • MPR-50 Multi-Port Router (Model: 42150) Five-channel (one TP/XF-1250 channel and four TP/FT-10 channels) router.
L network. This manual does not ORKS describe how to use the Echelon prepackaged router products. See the Echelon router Web page (www.echelon.com/products/routers) for information about the pre-packaged Echelon router products. This manual describes those Echelon router products that allow OEMs to design...
Page 15
Figure 2. Block Diagram of a LonWorks Router Based on the RTR-10 As the figure shows, an RTR-10 router and two transceiver modules (one to handle each of two channels connected by the router) can be mounted on a motherboard, along with a single power supply and two network connectors.
The Router 5000 chip and the FT Router 5000 chip (generically referred to as Series 5000 router chips) are Echelon semiconductor products, based on the Echelon Neuron 5000 Core, that are used to build half-routers and full routers for channels. A L...
Page 17
Add linear regulator and TX buffer Transceiver (Model 50040) circuit. Echelon provides special licensing for other transceiver types, such as a Power Line Smart Transceiver; contact Echelon Support for additional information. A complete router using the Router 5000 consists of two Router 5000 half routers, two transceivers, and a motherboard to connect the two half routers.
The FT Router 5000 supports only the TP/FT-10 channel, but because the transceiver is integrated into the chip, you do not need to use an FTT-10A Free Topology Transceiver (and associated circuitry to accommodate the different voltage standards between the half router and transceiver). Introduction to LonWorks Routers...
Figure 4 on page 11 and Figure 5 on page 12. Configured routers maintain their routing tables in non-volatile memory, and thus retain them after a reset. These tables control forwarding of subnet and group-addressed messages, and are managed by a network management tool. LonWorks Router User’s Guide...
The subnet forwarding tables are initially configured to forward all messages with subnet destination addresses. Each time a new subnet ID is observed in the source address field of a message, its corresponding flag is cleared (that is, Introduction to LonWorks Routers...
Page 21
1 messages to side A. The router detects this error and logs it, as described in Chapter 7, Network Management Messages, on page 95. Figure 4. Configured and Learning Router Forwarding Rules, Part 1 LonWorks Router User’s Guide...
A loop is a path through two or more routers that forwards a message from a channel to itself. For example, Figure 6 on page 13 shows a looping topology with two channels and two routers. A message on channel A could be forwarded Introduction to LonWorks Routers...
A loop can be formed when active coupling provided by a router is combined with passive coupling. Figure 7 on page 14 shows an example looping topology with a power line router. LonWorks Router User’s Guide...
By default, this queue is limited to two message buffers to ensure that priority messages are never enqueued behind more than one non-priority message. When Echelon’s implementation of the ISO/IEC 14908 Control Network Protocol is called the LonTalk protocol. Echelon has implementations of the LonTalk protocol in several product...
You can also use the NodeUtil Node Utility, which you can download from the Echelon Web site. However you allocate the buffer sizes and counts, the total memory required by the three buffer queues must not exceed 1254 bytes.
You can also use the NodeUtil Node Utility, which you can download from the Echelon Web site. However you allocate the buffer sizes and counts, the total memory required by the three buffer queues must not exceed 25 K bytes.
LonWorks Router Electrical Interfaces This chapter provides an overview of the electrical interfaces for the RTR-10 Router Core Module, the Router 5000 chip, and the FT Router 5000 chip. LonWorks Router User’s Guide...
1 ACP2 A-si ide network c communicati ion port 2 ACP3 A-si ide network c communicati ion port 3 ACP4 A-si ide network c communicati ion port 4 LonWorks R Router Electri ical Interface...
Page 31
B-side transceiver ID 4 (MSB) BSVC~ B-side Service output Ground 1, 2, 3, 11, 26, 30, 32, 34 Packet forward output RESET~ Reset input and output) SERVICE~ Combined Service input +5 VDC input 10, 31 No Connect 4, 35 LonWorks Router User’s Guide...
ID is not 30 (0x1E), the RTR-10 firmware compares the network bit rate and input clock for the specified transceiver to the current transceiver parameters. If these parameters do not match, all transceiver parameters are reinitialized. This LonWorks Router Electrical Interfaces...
Page 33
Type 30 (0x1E) can be used for any transceiver type; the communications port is initially defined as all inputs to prevent circuit conflicts. The side using type 30 (0x1E) must be reprogrammed through the other router side. LonWorks Router User’s Guide...
See Appendix A, Communications Parameters for LonWorks Routers, on page 105, for a listing of the communications parameters for each transceiver type. The PKT output can be used as a network activity indicator. When packets are passed between the router sides, PKT is active. This signal uses the unbuffered IO0 signal from the Neuron Chips.
Figure 11. Router 5000 Chip Pinout Table 7 on page 26 lists the pin assignments for the Router 5000 chip. All digital inputs are low-voltage transistor-transistor logic (LVTTL) compatible, 5 V tolerant, with low leakage. LonWorks Router User’s Guide...
Page 36
Crystal oscillator input XOUT Oscillator Out Crystal oscillator output VDDPLL Power 1.8 V Power Input (from internal voltage regulator) GNDPLL Power Ground VOUT1V8 Power 1.8 V Power Output (of internal voltage regulator) RST~ Digital I/O Reset (active low) LonWorks Router Electrical Interfaces...
FT Router 5000 Pinout Figure 12 on page 28 shows the pinout for the FT Router 5000 chip. The central rectangle in the figure represents the bottom pad (pin 49), which must be connected to ground. LonWorks Router User’s Guide...
Page 38
Digital I/O IO4 (side A to side B) VDD3V3 Power 3.3 V Power Digital I/O IO5 (side A to side B) Digital I/O IO6 (side A to side B) Digital I/O IO7 (side A to side B) LonWorks Router Electrical Interfaces...
Page 39
TxActive for optional network activity LED RXON Comm RxActive for optional network activity LED Comm Connect to VDD33 through a 4.99 kΩ pullup resistor CS0~ Digital I/O for SPI slave select 0 (active low) Memory VDD3V3 Power 3.3 V Power LonWorks Router User’s Guide...
Figure 13 on page 31. Note that Figure 13 applies to a single Series 5000 half-router. Also, you must consider trace capacitance when calculating the values of the external capacitors. In the figure, the values for R1 (feedback resistor) and R2 (damping resistor) apply to any crystal used. LonWorks Router Electrical Interfaces...
Page 41
Figu ure 13. Serie es 5000 Chip Clock Gener rator Circuit To ens sure proper o oscillator star rtup, the equ uivalent serie es resistance specification for the e crystal shou uld be ≤50 Ω , and the cry ystal shunt ca apacitance sh hould be no greate...
CP[4..0] – Router 5000 Only The Router 5000 has a very versatile communications port, the CP[4..0] pins (39, 38, 37, 34, and 32). It consists of five pins that can be configured to interface to a LonWorks Router Electrical Interfaces...
(networks with many devices), you should ensure that each device has communications parameters defined for the channel; see Appendix A, Communications Parameters for LonWorks Routers, on page 105. Note that devices defined for a TP/XF-1250 channel cannot use the default communications parameters;...
Series 5000 router device, keep the traces as short as possible. See the Series 5000 Chip Data Book for more information about the digital I/O pins for a Series 5000 chip, including the Router 5000 and FT Router 5000. LonWorks Router Electrical Interfaces...
Connect the GNDPLL pin (26) to GND, with an associated chip ferrite bead. Connect the GND pin (36) and the chip’s pad (pin 49) to logic ground. Also connect the AGND pin (33) to logic ground. LonWorks Router User’s Guide...
During board level in-circuit testing (ICT), the RST~ pin should be hard wired to ground through a “pogo pin”. Figure 16 on page 37 shows an example reset circuit, where the A side and B side reset pins are tied together. LonWorks Router Electrical Interfaces...
Page 47
Router 5000’s RST~ pin to the Series 3100 RESET~ pin, as shown in as shown in Figure 17 on page 38, using the Series 3100 Smart Transceiver’s +5 V power supply for the Reset switch, LED, diode clamps, and EMC capacitors. LonWorks Router User’s Guide...
LED at a 1/2 Hz rate when the Series 5000 router chip has not been configured with network address information. Grounding the SVC~ pin causes the Series 5000 router to transmit a network management message containing LonWorks Router Electrical Interfaces...
Page 49
Service LEDs, is shown in Figure 18. During reset, each SVC~ pin is pulled high by its internal pull-up resistor. Alternatively, you could provide separate service pin buttons for each router side. Figure 18. Service Circuit – Series 5000 Router for Both Halves LonWorks Router User’s Guide...
Page 50
Service switch, LEDs and diode clamps. See the Series 5000 Chip Data Book for more information about the SVC~ pin for a Series 5000 chip, including the Router 5000 and FT Router 5000. LonWorks Router Electrical Interfaces...
LED circuit with pulse stretching to the Router 5000 CP2 pin. If you add LEDs to the CP0 or CP2 pins, you must add a buffer to ensure that the LED’s operation does not interfere with network communications. LonWorks Router User’s Guide...
Page 52
When packets are received, the RX network activity LED is active for each bit received, and inactive between bytes. For both circuits, the approximate time constant for LED visibility is 100 ms. LonWorks Router Electrical Interfaces...
Router 5000 at various system clock rates. Important: Although general Series 5000 chips support 80 MHz operations, neither the Router 5000 chip nor the FT Router 5000 chip supports this system clock setting. LonWorks Router User’s Guide...
RESET~ line of the RTR-10 router. See Section 9.4 of the Neuron Chip Data Book. Failure to include such protection may cause data corruption to configuration data maintained in EEPROM on the LonWorks Router Electrical Interfaces...
Page 55
RTR-10 Neuron Chips. In the sample circuit of Figure 27 on page 55, protection is provided by a Motorola MC33164. See the Series 5000 Chip Data Book for information about internal low-voltage indications for Series 5000 chips, including the Router 5000 and FT Router 5000. LonWorks Router User’s Guide...
LonWorks Router Mechanical Interfaces This chapter provides an overview of the mechanical interfaces for the RTR-10 Router Core Module, the Router 5000 chip, and the FT Router 5000 chip. LonWorks Router User’s Guide...
However, these Molex SIMM sockets are obsoleted and are unavailable for purchase from Molex. Echelon has a limited supply of these sockets (models 61101R and 61102R); contact Echelon Support for more information. The following figures show recommended mechanical layouts for the RTR-10:...
Decisions about component placement on the motherboard must consider electromagnetic interference (EMI) and electrostatic discharge (ESD) issues; see Chapter 5, LonWorks Router Design Issues, on page 81. Series 5000 Router Mechanical Description The mechanical description of the Series 5000 router chip is similar to the...
Developing a LonWorks Router This chapter describes the process of developing a router based on the RTR-10 Router Core Module, the Router 5000 chip, or the FT Router 5000 chip. LonWorks Router User’s Guide...
ORKS 1. Build a router motherboard according to the specifications described in Chapter 2, LonWorks Router Electrical Interfaces, on page 19, and the guidelines described in Chapter 5, LonWorks Router Design Issues, on page 81. The motherboard can be part of custom application hardware, or can be a standalone board.
Table 6 on page 23. When using any of these transceivers, the communications parameters are automatically programmed, as described in Chapter 2, LonWorks Router Electrical Interfaces, on page 19. The user's guide for each transceiver contains documentation on the interface requirements.
ORKS 1. Build a router motherboard according to the specifications described in Chapter 2, LonWorks Router Electrical Interfaces, on page 19, and the guidelines described in Chapter 5, LonWorks Router Design Issues, on page 83. The motherboard can be part of custom application hardware, or can be a standalone board.
Connecting Half-Routers: Series 5000 and Series 3100 on page 74 for more information. Using a TP/XF-1250 Transceiver You can use a Router 5000 with an Echelon TPT Twisted Pair Transceiver Module for a TP/XF-1250 channel. However, because the Router 5000 does not include an on-chip differential transceiver, you must: •...
Page 69
(CT) pin depends on the device’s PCB layout and EMI characteristics. A typical value is 100 pF rated for 1000 V. See the LonWorks TPT Twisted Pair Transceiver Module User's Guide for information about the TPT/XF-1250 Transceiver. Differential Driver Circuit Figure 31 on page 60 shows a differential driver circuit for connecting a Router 5000 to a TPT/XF-1250 transceiver.
Page 70
gure 31. Dif fferential Dri iver Circuit Table 1 2. Bill of Ma aterials for th he Differentia al Driver Circ cuit Desi ignator Value 470 pF 10 kΩ, 1% U101 SN74HCT24 mparator C Circuit Figur re 32 on page e 61 shows a differential c comparator c...
Page 71
Figu re 32. Differ rential Comp arator Circu Table 13. B Bill of Mater rials for the D Differential C Comparator C Circuit Desi ignator Value C2, C 10 µF 18 pF C8, C 0.1 µF 100 µH, ±20% %, I ≥...
An EIA-485 network works best with a common power source. Individual device power sources can create problems when the network common-mode voltage exceeds –7 V to + 12 V, or when ground faults cause damage to devices. Developing a LonWorks Router...
(0.28 inches) high, and is ideal for use in low profile applications such as DIN packs. The sealed housing protects the transceiver should conformal coating or other forms of environmental sealing be required on the printed circuit assembly. LonWorks Router User’s Guide...
Page 74
The FTT-10A transceiver is compatible with Echelon’s LPT-11 Link Power Transceiver, and these transceivers can communicate with each other on a single twisted pair cable. This capability provides an inexpensive means of interfacing to nodes whose current or voltage requirements would otherwise exceed the capacity of the link power segment.
The link-power system uses a single point of Earth ground, at the LPI-10 module, and all of the LPT-11 transceivers electrically float relative to the local ground. Differential transmission minimizes the effects of common-mode noise on signal Developing a LonWorks Router...
Page 77
NXP 74AHCT1G126 bus buffer/line driver. • The connection between the LPT-11 CLK pin and the Router 5000 XOUT pin requires the addition of a standard (inverting or non-inverting) bus buffer/line driver that supports TTL-compatible input and 5V CMOS output. LonWorks Router User’s Guide...
Page 78
22 µF, DCWV ≥10 V, I ≥200 mA ripple @ 100 kHz, ESR ≤1.2 Ω 100 µF, DCWV ≥63 V, I ≥100 ripple @ 100 kHz 1 mH, DCR ≤4 Ω, I ≥200 mA, F ≥800 kHz 10 kΩ Developing a LonWorks Router...
71 shows a sample schematic for the transceivers used by each router half; in this example, TP/XF-1250 and EIA-485. The transceiver schematics also include the RX and TX activity indicator circuits described in Network Activity Indicator – Router 5000 on page 41. LonWorks Router User’s Guide...
Page 80
Figure 36. Router 5000 Motherboard Example Schematic – Core Developing a LonWorks Router...
1. Build a router motherboard according to the specifications described in Chapter 2, LonWorks Router Electrical Interfaces, on page 19, and the guidelines described in Chapter 5, LonWorks Router Design Issues, on page 83. The motherboard can be part of custom application hardware, or can be a standalone board.
Page 83
Earth and logic ground. See the Series 5000 Chip Data Book for information about connecting a Series 5000 chip to a TP/FT-10 channel, including the FT Router 5000, and for information about the FT-X3 Communications Transformer. LonWorks Router User’s Guide...
PL-20 channel. Important: Echelon provides special licensing for many of these other transceiver types, such as a Power Line Smart Transceiver; contact Echelon Support for additional information. Figure 39 on page 75 shows the basic connections for a router based on a Series 3100 half-router and a Series 5000 half-router.
Page 85
Digital I/O IO4 (side A to side B) VDD3V3 Power 3.3 V Power Digital I/O IO5 (side A to side B) Digital I/O IO6 (side A to side B) Digital I/O IO7 (side A to side B) LonWorks Router User’s Guide...
Page 86
TxActive for optional network activity LED RXON Comm RxActive for optional network activity LED Comm Connect to VDD33 through a 4.99 kΩ pullup resistor CS0~ Digital I/O for SPI slave select 0 (active low) Memory VDD3V3 Power 3.3 V Power Developing a LonWorks Router...
Before programming, a Router 5000 uses its default communications parameters, which define a simplified single-ended mode 78 kbps channel. Like the Router 5000, an FT Router 5000’s default communications parameters define a simplified single-ended mode 78 kbps channel – a TP/FT-10 channel. For the LonWorks Router User’s Guide...
(see Figure 40 on page 77 for an example hardware template for a Router 5000 device): • Platform: Custom • Transceiver Type: Depends on transceiver for a Router 5000 TP/FT-10 for an FT Router 5000 Developing a LonWorks Router...
NodeBuilder Device Template The device template should include a standard Program ID, such as “80:00:01:01:01:02:04:01”, where the channel type field varies according to the transceiver type. Figure 41 shows an example device template for a Router 5000 device. LonWorks Router User’s Guide...
3. Use a programming tool to extract the configured router image (read the 2 KB EEPROM image), and save it for subsequent device programming. Note: The Series 5000 router firmware ignores all versioning information and application code components in the NME file. Developing a LonWorks Router...
This section shows an example Neuron C file for Series 5000 router development. This file primarily controls the router’s buffering, but it also contains important declarations to set up the parallel IO configuration and explicit addressing. // Copyright (c) 2011 Echelon Corporation. // All Rights Reserved. #include <control.h>...
LonWorks Router Design Issues This chapter examines a number of design issues, including a discussion of PCB layout, electromagnetic interference (EMI), and electrostatic discharge (ESD), for L ORKS routers. LonWorks Router User’s Guide...
See the Connecting a Neuron 5000 Processor to an External Transceiver Engineering Bulletin for more information about PCB layout considerations for connecting external transceivers to Neuron 5000 Processors, including the Router 5000. See Chapters 3 and 4 of the Series 5000 Chip Data Book for additional LonWorks Router Design Issues...
Page 95
1250 transceiver is shown as U102, although the transceiver itself resides on a separate sub-assembly PCB, above the main board and is connected to it by two headers (one 6-pin header and one 3-pin header). Below the TPT/XF-1250 LonWorks Router User’s Guide...
Router 5000, the FT-X3 Communications Transformer, the router chip’s serial EEPROM memory chip, its crystal, and associated capacitors and resistors. The figure does not show I/O or other connections to the other side of the router. LonWorks Router Design Issues...
For more information about such regulations, see European EMC standards, such as VDE 0871, Class “B” 1984, and CISPR Publications 22. Echelon has designed the RTR-10 router with low enough RF noise levels for design into level “B” products. Echelon encourages level “B” compliance for all compatible products.
An ESD hit generally arcs farther along a surface than it will when passing straight through the air. For example, a 20 kV discharge will arc about 10 mm (0.4 inches) through dry air, but the same discharge can travel over 20 mm (0.8 LonWorks Router Design Issues...
Page 99
If these lines will be exposed to ESD in a custom router, protection must be added to the router motherboard. LonWorks Router User’s Guide...
See the Junction Box and Wiring Guidelines for Twisted Pair Networks engineering bulletin (005-0023-01) for information about ORKS supported cable and wire types for each type of twisted-pair channel. Installing a LonWorks Router...
When power is connected to a router, the Service LED for each side changes state as described in Figure 45. After a router is powered and configured, the Service LEDs stay off, unless the service request button is pressed. Figure 45. Router Service LED Timing LonWorks Router User’s Guide...
Guide for a description of router installation. Specify the channel type within the LonMaker New Router Wizard; see Appendix A, Communications Parameters for LonWorks Routers, on page 105, for detailed communications parameters for each channel type. Important: Before commissioning the router from the LonMaker Integration...
(described under “Testing Devices” in Chapter 6 of the LonMaker User’s Guide) to query router status. See the description of the Query Status message in the Standard Messages section on page 96 for a description of the error codes returned by the Query Status message. LonWorks Router User’s Guide...
Network Management Messages This chapter describes network management messages for routers. These messages are used for router ORKS installation, as described in Chapter 6, Installing a LonWorks Router, on page 89. LonWorks Router User’s Guide...
Introduction As described in Chapter 6, routers are installed using network management messages. These messages are sent as explicit messages by a network management tool, such as the LonMaker Integration Tool. Routers respond to many of the same messages as any L device, but also have an ORKS additional set of router-specific messages, as listed in Table 17.
Routers must therefore be restarted or taken offline using a Set Node Mode message addressed directly to the router. Router-Specific Messages Router-specific network management messages are listed in Table 20 on page LonWorks Router User’s Guide...
// Table data } NM_rtr_table_downld_request; Group Forward This message sets the forwarding flag in the forwarding table for a given group in the specified domain. If the ram_or_eeprom field is set, both the RAM and LonWorks Router User’s Guide...
EEPROM flags are set, otherwise only the RAM flag is set, allowing temporary forwarding for a given group. This message uses the Request-Response protocol. The configuration checksum in EEPROM is updated if EEPROM is changed. typedef struct { unsigned unused1 : 1; unsigned domain_index : 1;...
typedef struct { algorithm type; // CONFIGURED, LEARNING, BRIDGE, // or REPEATER rtr_mode mode; // TEMP_BRIDGE or NORMAL } NM_rtr_status_response; Far Side Escape Code When this message code is placed in the message, and is followed by any network management or network diagnostic message (except the escape message itself), that message is passed to the other (far) router side for processing.
The total number of bytes assigned to the buffer queues for a RTR-10 must not exceed 1254 bytes, as described Message Buffers on page 14. The most significant nibble of queue_count is represented by a code of type queue_count_entry: LonWorks Router User’s Guide...
Page 116
typedef enum { COUNT_1 = 0x2; COUNT_2 = 0x3; COUNT_3 = 0x4; COUNT_5 = 0x5; COUNT_7 = 0x6; COUNT_11 = 0x7; COUNT_15 = 0x8; COUNT_23 = 0x9; COUNT_31 = 0xA; COUNT_47 = 0xB; COUNT_63 = 0xC; } queue_count_entry; Set Input and Non-Priority Buffer Queue Count The buffer queue counts are selected using a Write Memory network management message with the following paramters:...
LonMaker Test command or with the Query Status network diagnostic message. Communications parameters for routers with version 4 or older firmware should be re-installed to ensure that the standard interoperable parameters are used. LonWorks Router User’s Guide...
Collision Detect (CD) CD Term after Preamble CD through Packet End Bit Sync Threshold 5 bits 7 bits 4 bits 4 bits Hysteresis Filter Network Bit Rate 78 kbps 1.25 Mbps 78 kbps 39 kbps Communications Parameters for LonWorks Routers...