User's Manual

T90-DTU User Manual
11
Example 1Set channel as 0x09
command start address length parameter
TransmitC2 05 01 09
ReturnC1 05 01 09
Example 2set module address0x1234, network address (0x00), UART (9600 8N1), air data rate (1.2K)
TransmitC2 00 04 12 34 00 61
ReturnC1 00 04 12 34 00 61
5
Wireless
configuration
CommandCF CF + general command
ReplyCF CF + general response
Example 1set channel as 0x09
wireless command head command start address length parameter
TransmitCF CF C0 05 01 09
ReturnCF CF C1 05 01 09
Example 2set module address0x1234, network address(0x00), UART(9600 8N1), air data rate(1.2K)
TransmitCF CF C0 00 04 12 34 00 61
ReturnCF CF C1 00 04 12 34 00 61
6
Format error
Reply: FF FF FF
7.2. Register description
Address
Read/W
rite
Name
Description
Remark
00H
Read/W
rite
ADDH
ADDHDefault 0
High and low byte of the module address.
NoteWhen the module address is FFFF, it can
be used as the broadcast and monitor address,
that is the module will not perform address
filtering.
01H
Read/W
rite
ADDL
ADDLDefault 0
02H
Read/W
rite
NETID
NETIDDefault 0
Network address, used to distinguish the
network. When communicating with each other,
they should be set to the same.
03H
Read/W
rite
REG0
765 UART baud ratebps
000baud rate is 1200
001baud rate is 2900
010baud rate is 4800
011baud rate is 9600Default
100baud rate is 19200
101baud rate is 38900
110baud rate is 57600
111baud rate is 115200
-----------------------------------------------
43 UART parity bit
008N1Default
018O1
108E1
118N1same as 00
-----------------------------------------------
210air data rate
000air data rate is 0.3k
001air data rate is 1.2k
010air data rate is 2.4kDefault
011air data rate is 4.8k
100air data rate is 9.6k
101air data rate is 19.2k
110air data rate is 38.4k
111air data rate is 62.5k
For the two modules that communicate with
each other, the serial port baud rate can be
different, and the verification method can also
be different.
When transmitting large packets continuously,
users need to consider the data blocking caused
by the same baud rate, and data may even be
lost. It is generally recommended that both
parties have the same baud rate.
-------------------------------------
It should be the same for both communication
parities .
The higher the rate, the shorter the distance.