Murata Electronics North America DNT24 Manual Do Utilizador

Página de 83
www.Murata.com
Technical support +1.678.684.2000
Page 49 of 83
© 2015 by Murata Manufacturing Co. Ltd.
E-mail:
tech_sup@murata.com
DNT24 Integration Guide – 03/04/15
ProtocolMode - this parameter selects the host protocol mode. The default is 0x00, which is transparent
mode, meaning the radio conveys whatever characters that are sent to it transparently, without requiring
the host to understand or conform to the DNT24's built-in protocol. This setting is recommended for point-
to-point applications for legacy applications such as wire replacements where another serial protocol may
already exist. Setting this parameter to 0x01 enables the DNT24 protocol formatting. It is not necessary to
define the same protocol mode for all radios in a network. For example, it is frequently useful to configure
all the remotes for transparent mode and the base for protocol mode. Note that it is possible for the host
to switch the radio from transparent mode to protocol mode and back as required by transmitting an
EnterProtocolMode command.
TxTimeout - this parameter is used to group transparent data to be sent in a single transmission rather
than being split over two hops. Messages sent over two hops can have gaps in the received data stream
that can cause problems for the receiving application - for example, Modbus RTU. This parameter is the
amount of time the DNT24 will wait without receiving a byte through the serial port before transmitting the
data. Parameter units are in milliseconds. A message boundary is determined whenever a gap between
consecutive characters is equal to or greater than the TxTimeout value, or the number of bytes reaches
the MinPacketLength. Either condition will trigger a transmission. The default TxTimeout value is 0 ms
which will have the radio send whatever data is in its transmit buffer as soon as possible.
MinPacketLength - this parameter is similar to TxTimeout except it uses the number of bytes received
instead of the amount of time without receiving a byte. The default is one byte. A transmission is triggered
when either the number of bytes reaches MinPacketLength or a gap is detected between consecutive
characters greater than TxTimeout. If this parameter is set larger than the applicable slot size, the slot
size overrides this parameter and a transmission is triggered when the slot size is filled.
TransPtToPtMode - when this parameter is set to 0x00, the destination address of transparent mode
packets will be the configured RemoteDestAddr. When set to 0x01, the destination address will first be
the RemoteDestAddr, but then will update to the originator of the most recent RX packet processed.
MsgsPerHop - this parameter sets the maximum number of messages a DNT24 can send in each hop
frame. The default value is 8 messages, which is suitable for most applications. Setting MsgsPerHop to a
low value allows message flow rate to be controlled.
7.4.6 Bank 0x05 - I/O Parameters
Bank
Location
Name
R/W
Size
Range In Bits
Default
0x05
0x00
All-IO
R/W
0x0D
104
N/A
0x05
0x0D
Gpio0
R/W
0x01
1
0
0x05
0x0E
Gpio1
R/W
0x01
1
0
0x05
0x0F
Gpio2
R/W
0x01
1
0
0x05
0x10
Gpio3
R/W
0x01
1
0
0x05
0x11
Gpio4
R/W
0x01
1
0
0x05
0x12
Gpio5
R/W
0x01
1
0
0x05
0x13
Adc0
R
0x02
12
N/A
0x05
0x15
Adc1
R
0x02
12
N/A
0x05
0x17
Adc2
R
0x02
12
N/A
0x05
0x19
EventFlags
R/W
0x02
16
N/A
0x05
0x1B
Dac0
R/W
0x02
12
0
0x05
0x1D
Dac1
R/W
0x02
12
0
Table 7.4.6.1