Murata Electronics North America DNT24 Users Manual

www.RFM.com Technical support +1.678.684.2000 Page 1 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
DNT24 Series
2.4 GHz Spread Spectrum Wireless Transceivers
Integration Guide
www.RFM.com Technical support +1.678.684.2000 Page 2 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
RFM Product FCC ID: HSW-DNT24
IC 4492A-DNT24
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable pro­tection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the in­structions, may cause harmful interference to radio communications. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
1) Re-orientate or relocate the receiving antenna,
2) Increase the separation between the equipment and the radiator,
3) Connect the equipment into an outlet on a circuit different from that to which the receiver is connected,
4) Consult the dealer or an experienced radio/TV technician for help.
Type Model Number Gain Impedance
Omnidirectional OD12-2400 12 dBi 50 ohm
Corner SCR14-2400CT 14 dBi 50 ohm
Patch PA2412 12 dBi 50 ohm
Chip FR05-S1-N-0-102 1.7 dBi 50 ohm
FCC Antenna Gain Restriction:
The DNT24 has been designed to operate with any dipole antenna of up to 12 dBi of gain, any corner reflector antenna of up to 14 dBi gain, any patch antenna of up to 12 dBi gain, or any chip antenna of up
to 1.7 dBi gain. The antenna(s) used for this transmitter must be installed to provide a separation distance
of at least 20 cm from all persons and must not be co-located or operating in conjunction with any other antenna or transmitter.
IC RSS-210 Detachable Antenna Gain Restriction:
This radio transmitter, IC 4492A-DNT24, has been approved by the Industry Canada to operate with the antenna types listed below with the maximum permissible gain and the required antenna impedance for each antenna type indicated. Antenna types not included in this list, having a gain greater than the maxi­mum gain indicated for that type, are strictly prohibited for use with this device.
Le présent émetteur radio IC 4492A-DNT24 a été approuvé par Industrie Canada pour fonctionner avec les types d'antenne énumérés ci-dessous et ayant un gain admissible maximal et l'impédance requise pour chaque type d'antenne. Les types d'antenne non inclus dans cette liste, ou dont le gain est supérieur au gain maximal indiqué, sont strictement interdits pour l'exploitation de l'émetteur.
www.RFM.com Technical support +1.678.684.2000 Page 3 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
Under Industry Canada regulations, this radio transmitter may only operate using an antenna of a type and maximum (or lesser) gain approved for the transmitter by Industry Canada. To reduce potential radio interference to other users, the antenna type and its gain should be so chosen that the equivalent isot­ropically radiated power (e.i.r.p.) is not more than that permitted for successful communication.
Conformément à la réglementation d'Industrie Canada, le présent émetteur radio peut fonctionner avec une antenne d'un type et d'un gain maximal (ou inférieur) approuvé pour l'émetteur par Industrie Canada. Dans le but de réduire les risques de brouillage radioélectrique à l'intention des autres utilisateurs, il faut choisir le type d'antenne et son gain de sorte que la puissance isotrope rayonnée équivalente (p.i.r.e.) ne dépasse pas l'intensité nécessaire à l'établissement d'une communication sat­isfaisante.
This device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to the following two conditions: (1) this device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired operation of the device.
Le présent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts de licence. L'exploitation est autorisée aux deux conditions suivantes : (1) l'appareil ne doit pas produire de brouillage, et (2) l'utilisateur de l'appareil doit accepter tout brouillage radioélectrique subi, même si le brouillage est susceptible d'en compromettre le fonctionnement.
See Section 6.8 of this manual for regulatory notices and labeling requirements. Changes or modifica­tions to a DNT24 not expressly approved by RFM may void the user’s authority to operate the module.
www.RFM.com Technical support +1.678.684.2000 Page 4 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
Table of Contents
1.0 DNT24 Introduction.......................................................................................................................... 6
1.1 Why Spread Spectrum? ............................................................................................................ 6
1.2 Frequency Hopping versus Direct Sequence ........................................................................... 7
2.0 DNT24 System Overview ................................................................................................................ 8
2.1 Point-to-Point Systems.............................................................................................................. 8
2.2 Point-to-Multipoint Systems ...................................................................................................... 9
2.3 Store-and-Forward Systems ..................................................................................................... 9
2.4 RF Channel Access................................................................................................................. 10
2.5 DNT24 Addressing .................................................................................................................. 11
2.6 Network Linking and Slot Registration .................................................................................... 11
2.6.1 Fast Linking Techniques ................................................................................................... 12
2.7 Transparent and Protocol-formatted Serial Data .................................................................... 12
3.0 DNT24 Application Interfaces ........................................................................................................ 13
3.1 Serial Ports.............................................................................................................................. 13
3.2 SPI Port ................................................................................................................................... 13
3.3 Digital I/O................................................................................................................................. 16
3.4 Analog I/O ............................................................................................................................... 16
3.5 I/O Event Reporting and I/O Binding....................................................................................... 17
4.0 DNT24 System Configuration ........................................................................................................ 17
4.1 Configuration Parameters ....................................................................................................... 17
4.2 Configuring a Basic Point-to-Point System ............................................................................. 18
4.3 Configuring a Basic Point-to-Multipoint System ...................................................................... 18
4.4 Configuring a Customized Point-to-Point or Point-to-Multipoint System ................................ 18
4.5 Configuring a Store-and-Forward System............................................................................... 20
4.6 Slot Buffer Sizes, Number of Slots, Messages per Hop and Hop Duration ............................ 21
5.0 DNT24 Application Interface Configuration ................................................................................... 23
5.1 Configuring the Serial Port ...................................................................................................... 23
5.2 Configuring the SPI Port ......................................................................................................... 23
5.3 Configuring Digital I/O ............................................................................................................. 23
5.4 Configuring Analog I/O ............................................................................................................ 23
5.5 Configuring I/O Event Reporting and I/O Binding ................................................................... 24
5.6 Configuring Sleep Mode.......................................................................................................... 25
6.0 DNT24 Hardware ........................................................................................................................... 27
6.1 Electrical Specifications........................................................................................................... 28
6.2 Module Pin Out........................................................................................................................ 29
6.3 Antenna Connector ................................................................................................................. 30
6.4 Power Supply and Input Voltages ........................................................................................... 31
6.5 ESD and Transient Protection................................................................................................. 31
6.6 Interfacing to 5 V Logic Systems............................................................................................. 31
6.7 Mounting and Enclosures........................................................................................................ 31
6.8 Labeling and Notices............................................................................................................... 32
7.0 DNT24 Protocol-formatted Messages ........................................................................................... 33
7.1 Protocol Formats ..................................................................................................................... 33
7.2 Message Types ....................................................................................................................... 33
7.3 Message Format Details ......................................................................................................... 34
www.RFM.com Technical support +1.678.684.2000 Page 5 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
7.4 Configuration Parameter Registers ......................................................................................... 41
7.4.1 Bank 0x00 - Transceiver Setup ........................................................................................ 41
7.4.2 Bank 0x01 - System Settings............................................................................................ 44
7.4.3 Bank 0x02 - Status Parameters........................................................................................ 46
7.4.4 Bank 0x03 - Serial and SPI Settings ................................................................................ 47
7.4.5 Bank 0x04 - Host Protocol Settings.................................................................................. 48
7.4.6 Bank 0x05 - I/O Parameters ............................................................................................. 49
7.4.7 Bank 0x06 - I/O Settings ................................................................................................... 51
7.4.8 Bank 0x0FF - Special Functions....................................................................................... 56
7.5 Protocol-formatted Message Examples .................................................................................. 57
7.5. 1 Data Message................................................................................................................... 57
7.5.2 Configuration Messages ................................................................................................... 58
7.5.3 Sensor Message ............................................................................................................... 58
7.5.4 Event Message ................................................................................................................. 59
8.0 DNT24DK/DNT24ADK Developer’s Kits ....................................................................................... 60
8.1 Kit Contents............................................................................................................................. 60
8.2 Additional Items Needed ......................................................................................................... 60
8.3 Developer’s Kit Default Operating Configuration .................................................................... 60
8.4 Developer’s Kit Hardware Assembly....................................................................................... 61
8.5 Utility Program ......................................................................................................................... 62
8.6 Initial Kit Operation .................................................................................................................. 62
8.6.1 Serial Communication and Radio Configuration .............................................................. 65
8.7 Interface Board Features ........................................................................................................ 72
9.0 Troubleshooting ............................................................................................................................. 74
9.1 Diagnostic Port Commands .................................................................................................... 74
10.0 Appendices .................................................................................................................................... 75
10.1 Ordering Information ............................................................................................................... 75
10.2 Technical Support ................................................................................................................... 75
10.3 DNT24 Mechanical Specifications .......................................................................................... 76
10.4 DNT24 Development Board Schematic .................................................................................. 80
11.0 Warranty ........................................................................................................................................ 83
www.RFM.com Technical support +1.678.684.2000 Page 6 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
1.0 DNT24 Introduction
DNT24 transceivers provide highly-reliable wireless connectivity for point-to-point, point-to-multipoint and store-and-forward radio applications. Frequency hopping spread spectrum (FHSS) technology ensures maximum resistance to multipath fading and robustness in the presence of interfering signals, while operation in the 2.4 GHz ISM band allows license-free use in most regions of the world. The DNT24 sup­ports serial data rates for host communications from 1.2 to 250.0 kbps, plus three SPI data rates from 125 to 500 kbps. On-board data buffering plus an error-correcting radio protocol provide smooth data flow and simplify the task of integration with existing applications. Key DNT24 features include:
Multipath fading resistant frequency hopping technology with up to 24 frequency chan­nels, 2406 to 2475 MHz
Receiver protected by low-loss SAW filter, providing excellent receiver sensitivity and interference rejection important in outdoor applications
Ad Hoc TDMA operating mode supports a large number of remotes with low latency for burst data streaming
Simple interface handles both data and con­trol at up to 250.0 kbps on the serial port or 500 kbps on the SPI port
Support for point-to-point, point-to-multipoint, peer-to-peer and store & forward networks
AES encryption provides protection from eavesdropping
FCC 15.247 and IC RSS-210 certified for license-free operation
Nonvolatile memory stores DNT24 configura­tion when powered off
Five mile plus range with omnidirectional antennas (antenna height dependent)
Selectable 10 or 63 mW transmit power levels
Transparent ARQ protocol with data
buffering ensures data integrity
Automatic I/O event reporting mode simplifies application development
Analog and Digital I/O supports wireless sensing applications
I/O binding mode provides wireless transmis­sion of analog and digital values
1.1 Why Spread Spectrum?
A radio channel can be very hostile, corrupted by noise, path loss and interfering transmissions from other radios. Even in an interference-free environment, radio performance faces serious degradation from a phenomenon known as multipath fading. Multipath fading results when two or more reflected rays of the transmitted signal arrive at the receiving antenna with opposing phases, thereby partially or completely canceling the signal. This problem is particularly prevalent in indoor installations. In the frequency domain, a multipath fade can be described as a frequency-selective notch that shifts in location and intensity over time as reflections change due to motion of the radio or objects within its range. At any given time, multipath fades will typically occupy 1% - 2% of the band. From a probabilistic viewpoint, a conventional radio system faces a 1% - 2% chance of signal impairment at any given time due to multi­path fading.
Spread spectrum reduces the vulnerability of a radio system to both multipath fading and jammers by dis­tributing the transmitted signal over a larger region of the frequency band than would otherwise be neces­sary to send the information. This allows the signal to be reconstructed even though part of it may be lost or corrupted in transmission.
www.RFM.com Technical support +1.678.684.2000 Page 7 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
Narrow-band versus spread spectrum transmission
Figure 1.1.1
1.2 Frequency Hopping versus Direct Sequence
The two primary approaches to spread spectrum are direct sequence spread spectrum (DSSS) and fre­quency hopping spread spectrum (FHSS), either of which can generally be adapted to a given applica­tion. Direct sequence spread spectrum is produced by multiplying the transmitted data stream by a much faster, noise-like repeating pattern. The ratio by which this modulating pattern exceeds the bit rate of the base-band data is called the processing gain, and is equal to the amount of rejection the system affords against narrow-band interference from multipath and jammers. Transmitting the data signal as usual, but varying the carrier frequency rapidly according to a pseudo-random pattern over a broad range of chan­nels produces a frequency hopping spectrum system.
Forms of spread spectrum - direct sequence and frequency hopping
Figure 1.1.2
www.RFM.com Technical support +1.678.684.2000 Page 8 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
One disadvantage of direct sequence systems is that due to design issues related to broadband transmit­ters and receivers, they generally employ only a minimal amount of spreading, often no more than the minimum required by the regulating agencies. For this reason, the ability of DSSS systems to overcome fading and in-band jammers is relatively weak. By contrast, FHSS systems are capable of hopping throughout the entire band, statistically reducing the chances that a transmission will be affected by fad­ing or interference. This means that a FHSS system will degrade gracefully as the band gets noisier, while a DSSS system may exhibit uneven coverage or work well until a certain point and then give out completely.
Because it offers greater immunity to interfering signals, FHSS is often the preferred choice for co-located systems. Since direct sequence signals are very wide, they can offer only a few non-overlapping chan­nels, whereas multiple hoppers can interleave, minimizing interference. Frequency hopping systems do carry some disadvantages, in that they require an initial acquisition period during which the receiver must lock on to the moving carrier of the transmitter before any data can be sent, which typically takes several seconds. In summary, frequency hopping systems generally feature greater coverage and channel utiliza­tion than comparable direct sequence systems. Of course, other implementation factors such as size, cost, power consumption and ease of implementation must also be considered before a final radio design choice can be made.
2.0 DNT24 System Overview
A DNT24 radio can be configured to operate in one of three modes - base, remote or router. A base con­trols a DNT24 system, and interfaces to an application host such as a PC or Internet gateway. A remote functions to transmit or receive serial, digital (state) and analog data. A router alternates between func­tioning as a remote on one hop and a network base on the next hop. When acting as a remote, the router stores messages it receives from its parent, and then repeats the messages to its child radios when act­ing as a network base. Likewise, a router will store messages received from its child radios when acting as a base, and repeat them to its parent when acting as a remote. Any message addressed directly to a router is processed by the router rather than being repeated.
2.1 Point-to-Point Systems
A DNT24 system contains at least one network. The simplest DNT24 topology is a point-to-point system, as shown in Figure 2.1.1. This system consists of a base and one remote forming a single network. Point­to-point systems are often used to replace wired serial connections. Point-to-point systems are also used to transmit switch positions or analog signals from one location to another.
Figure 2.1.1
www.RFM.com Technical support +1.678.684.2000 Page 9 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
2.2 Point-to-Multipoint Systems
Figure 2.2.1 shows the topology of a point-to-multipoint (star) system, which consists of a base and more than one remote in a single network. Point-to-multipoint systems are typically used for data, sensor and alarm systems. While most traffic in a point-to-multipoint system is between the base and the remotes, DNT24 technology also allows for peer-to-peer communication from one remote to another.
Figure 2.2.1
2.3 Store-and-Forward Systems
Figure 2.3.1 shows the topology of a store-and-forward system, which consists of a base, one or more routers, one or more remotes, and two or more networks. Networks in a store-and-forward system form around the base and each router. The base and the routers are referred to as the parents of the networks they form. The rest of the radios in each network are referred to as child radios. Note that a router is a child of the base or another router while being the parent of its own network. Each network parent trans­mits beacons to allow child radios to synchronize with its hopping pattern and join its network. Different frequency hopping patterns are used by the parent radios in a system, minimizing interference between networks.
Store-and-forward systems are used to cover larger areas than is possible with point-to-point or point-to­multipoint systems. The trade-off in store-and-forward systems is longer delivery times due to receiving and retransmitting a message several times. Store-and-forward systems are especially useful in applica­tions such as agriculture where data is only collected periodically.
www.RFM.com Technical support +1.678.684.2000 Page 10 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
Figure 2.3.1
2.4 RF Channel Access
The time a DNT24 network stays on each frequency in its hopping pattern is called the hop duration or dwell time, which can be configured from 8 to 100 ms. Radio communication during each dwell is organ-
ized as a time division multiple access (TDMA) frame. A DNT24 frame begins with a base-mode beacon, followed by 1 to 8 time slots used by the network children to transmit to their parent, as shown in Figure
2.4.1. A base-mode beacon can include up to 8 messages addressed to one or more child radios. The number of slots is chosen accommodate the number of children that need to send messages each hop.
S y s t e m / N e t w o r k
C o n t r o l
M e s s a g e s t o
N e t w o r k C h i l d r e n
B a s e - M o d e
B e a c o n
E x a m p l e D N T 2 4 C o m m u n i c a t i o n F r a m e
A s s i g n e d
S l o t
O p e n
S l o t
O p e n
S l o t
M e s s a g e s
f r o m C h i l d
Figure 2.4.1
Each beacon includes the status of all slots - either registered (assigned) or open. When a child radio has information to transmit to its parent, it randomly selects one of the open slots and transmits all or the first part of its data. If the parent successfully receives the transmission, it includes the child’s MAC address in
www.RFM.com Technical support +1.678.684.2000 Page 11 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
the next beacon. This signals the child radio that the slot is temporarily registered to it, allowing the child to efficiently stream any remaining data to the base hop-by-hop until it is all sent.
If a child radio does not see its address in the next beacon following its transmission, it again randomly selects an open slot and retransmits its data. During times when there are no open slots, a child radio keeps its data queued and continues to look for an open slot in each beacon until at least one slot becomes available. The access method the DNT24 uses is referred to as Ad Hoc TDMA.
2.5 DNT24 Addressing
Each DNT24 has a unique MAC address. The MAC address can be read or bar-code scanned from the label on top of each radio. A DNT24 radio in any mode (base/router/remote) can be addressed using its MAC address. A DNT24 base can be addressed using either its MAC address or address 0x000000. A DNT24 can send a message to all other DNT24’s in its system by using the broadcast address 0xFFFFFF.
The base and all routers (parents) hold base-mode network IDs, which are transmitted in every beacon. All routers and remotes hold parent network IDs and optionally alternate parent network IDs to compare against the base-mode network IDs in the beacons they receive. A child router or remote is allowed to join a parent if its parent network ID or alternate parent network ID matches the parent’s base-mode net- work ID, or with any parent when its parent network ID is set to 0xFF (wildcard).
In a point-to-point or point-to-multipoint system, the default base-mode network ID of 0xFF (wildcard) can be used. In a store-and-forward system, however, the base-mode network IDs of all routers must be set to different values between 0x00 to 0x3F. If the base-mode network ID of 0x00 is assigned to a router, the base must be assigned an unused base-mode network ID between 0x01 and 0x3F. Leaving all parent network IDs in a store-and-forward system set to the default value of 0xFF allows networks to automati­cally form, and self-repair if a parent router fails. Enabling the alternate parent network ID also provides self-repairing message routing.
All DNT24 radios hold a system ID that can be used to distinguish systems that physically overlap. In a DNT24 system, the system ID must be different from those used by overlapping systems to provide mes­sage filtering. Also, using different base-mode network IDs for all networks in overlapping systems helps reduce hopping pattern collisions.
The store-and-forward path between the base and any other radio in a system can be determined by reading the radio’s ParentMacAddress parameter. If this address is not the base, then reading the Parent- MacAddress parameter of its parent, grandparent, etc., in succession reveals the complete path to the base. Path determination is useful in optimizing and troubleshooting systems during commissioning and maintenance.
2.6 Network Linking and Slot Registration
When first turned on, a DNT24 router or remote rapidly scans all frequency channels in its operating band to acquire synchronization and link to a parent based on a system ID match plus a base-mode network ID to parent network ID/alternate parent network ID match (or by using a wildcard (0xFF) parent network ID).
In addition to the slot status and the MAC addresses of child radios holding slot registrations, each base­mode beacon includes one of a number of cycled control parameters. The cycled parameters are col­lected by child radios, allowing them to register with a parent, and to later follow any control parameter
www.RFM.com Technical support +1.678.684.2000 Page 12 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
changes. When a router or remote has collected a full set of cycled parameters, it can issue an optional initial heartbeat message and then optional periodic heartbeat messages which allow an application to maintain the status of all routers and remotes in its DNT24 system.
When a router/remote has data to send to its parent, it picks an open slot at random and transmits. It then looks for its MAC address in the next beacon. If its MAC address is present in the beacon, it is temporarily registered to the slot and continues to use it until all current data is sent, or its MAC address drops off the beacon.
2.6.1 Fast Linking Techniques
Minimizing linking time is important in certain applications. For example, when the remotes in a system are battery powered and wake from sleep occasionally to report data. Minimizing linking time increases the operating battery life of the remotes. The basic techniques to reduce linking time include:
- use no more hop duration (dwell time) than necessary
- use no more slots than necessary for the application
- use no larger base slot size (BSS) than necessary
- use no more hops in the hopping pattern than are necessary
- transmit only dynamic cycle parameters once system nodes have static parameters
In the United States and Canada, the DNT24 complies with DTS (DSSS) regulations based on the band­width of its transmitted spectrum. In this case, frequency hopping is optional and when frequency hopping is used there is no minimum requirement on the number of hopping channels that can be used. As dis­cussed in Section 7.4.2., there are two 5-channel hopping patterns that can be used to help minimize link­ing time. All DNT24’s in a system must be preset to one of these 5-channel hopping patterns in order to achieve fast linking. Note that the 5-channel hopping patterns cannot be used in Europe.
Once a complete set of cycled parameters has been receive by all routers and remotes in a system and stored in memory, it is not necessary to send all of them again during a re-linking, as long as the system configuration remains stable.
As discussed in Section 7.4.1, the base station in a DNT24 system can be configured to transmit “fast beacons” for a period of time when powered up, reset or triggered with the FastBeaconTrig parameter. Fast beacons are sent using a very short hop dwell time, facilitating fast system linking.
2.7 Transparent and Protocol-formatted Serial Data
A DNT24 remote can directly input and output data bytes and data strings on its serial port. This is re­ferred to as transparent serial port operation. In a point-to-point system or in multi-point systems when broadcast addressing is used, the base can also be configured for transparent serial port operation.
In all other cases, serial data will be protocol formatted:
- configuration commands and replies
- I/O event messages
- announcement messages including heartbeats
Protocol-formatted messages are discussed in detail in Section 7. Briefly, protocol-formatted messages include a start-of-messages character, message length and message type information, the destination address of the message, and the message payload.
www.RFM.com Technical support +1.678.684.2000 Page 13 of 83
© 2011 by RF Monolithics, Inc. E-mail: tech_sup@rfm.com
DNT24 Integration Guide - 10/19/11
Transparent data is routed using a remote transparent destination address. In a remote, this address defaults to the base, 0x000000, and in the base this address defaults to broadcast, 0xFFFFFF. These defaults can be overridden with specific radio addresses. For example, it is possible to set up transparent peer-to-peer routing between two remotes in a point-to-multipoint or store-and-forward system by loading specific MAC addresses in each radio’s remote transparent destination address.
3.0 DNT24 Application Interfaces
A DNT24 module provides a variety of application interfaces including two serial ports, an SPI port, six digital I/O ports (logic state), three 12-bit ADC input ports, and two 12-bit DAC output ports. Each of these interfaces is discussed below.
3.1 Serial Ports
The DNT24 includes two serial ports, one for communication and an optional one for diagnostics. The communication port is a full-duplex UART interface with hardware flow control on two of the digital I/O pins as an optional feature. One digital I/O pin can also be configured as an RS485 enable function. The serial communication port can be configured with baud rates from 1.2 to 250.0 kbps, with 9.6 kbps the default baud rate. The DNT24 communication port transmits/receives 8-bit data with a choice of even, odd or no parity and 1 or 2 stop bits. The default configuration is no parity and one stop bit. See Section
5.1 for recommendations on configuring the communication port, and Section 7.4.4 for detailed informa­tion on configuration parameters. The diagnostic port is enabled as an alternate function on two digital I/O pins, and can be configured with baud rates from 1.2 to 250.0 kbps, with 9.6 kbps the default baud rate. The diagnostic port transmits/receives 8-bit data with no parity and 1 stop bit. See Section 7.4.8 for diag­nostic port configuration details.
3.2 SPI Port
The DNT24 serial peripheral interface (SPI) port can operate either as a master or a slave. The port includes the four standard SPI connections - MISO, MOSI, SCLK and /SS, plus three signals used to support SPI slave mode operation - /HOST_RTS, /HOST_CTS and DAV. The serial port and SPI master mode can run simultaneously. Serial port operation is disabled when the SPI port is configured for slave mode. Note that all SPI slave mode messages must be protocol formatted.
D N T 9 0 0P e r i p h e r a l
D N T 2 4 S P I M a s t e r M o d e S i g n a l i n g
/ S S
S C L K
M O S I
M I S O
Figure 3.2.1
Loading...
+ 29 hidden pages