Regnvdatarate, Regnvnetmode, Regdatarate – Linx Technologies TRM-915-DTS User Manual
Page 13: Regnetmode

– –
– –
20
21
UART Data Rate - Address = 0x4E; NV Address = 0x03
The UART data rate is set by the regDATARATE (addr 0x4E) register. The
default UART data rate is 2.4kbps but can be changed by setting the
regNVDATARATE (addr 0x03) register.
This rate must match the rate used by the processor that is connected to
the module. If the rates are not set to match, then either each rate can be
tried in turn or the module can be reset to factory defaults.
Figure 20 shows example commands setting the UART data rate and
Figure 21 shows the available UART rate settings.
UART Data Rate Register Settings
V1
Baud Rate
0x00
2,400
0x01
9,600
0x02
19,200
0x03
38,400
0x04
57,600
0x05
115,200
0x06
10,400*
0x07
31,250*
* These data rates are not supported by PC serial ports.
Selection of these rates may cause the module to fail to
respond to a PC, requiring a reset to factory defaults.
Figure 20: UART Data Rate Command and Response
Figure 21: UART Data Rate Register Settings
UART Data Rate
Read Command
Read Response
Header
Size
Escape
Address
ACK
Address
Value
0xFF
0x02
0xFE
0x4E
0x03
0x06
0x4E
0x03
V1
Write Command
Header
Size
Address
Value
0xFF
0x02
0x4E
0x03
V1
Network Mode - Address = 0x4F; NV Address = 0x04
The module supports two networking modes: Normal and Slave. In
normal mode, the module can talk to any other module. In slave mode,
the module can talk to normal-mode modules, but cannot transmit to or
receive from other slaves. Slave mode is selected by writing 0x00 to this
register. The default network mode is 0x01 or 0x80 (Normal Mode).
Network Mode Register Settings
V1
Mode
0x00
Slave Mode
0x01
Normal Mode
Figure 22: Network Mode Command and Response
Figure 23: Network Mode Register Settings
Network Mode
Read Command
Read Response
Header
Size
Escape
Address
ACK
Address
Value
0xFF
0x02
0xFE
0x4F
0x04
0x06
0x4F
0x04
V1
Write Command
Header
Size
Address
Value
0xFF
0x02
0x4F
0x04
V1