Chengdu Ebyte Electronic Technology Co., Ltd.
E220-900T30S User Manual
Copyright ©2012–2020, Chengdu Ebyte Electronic Technology Co., Ltd.
14
2
Read Register
Command: C1+starting parameters
Response: C1+starting parameters
Example
:
Read channel
command starting address length parameter
Send
:
C1
05
01
Return
:
C1
05
01
09
Example 2: Read module address, serial port, and airspeed at the same time
Send
:
C1 00 04
Return
:
C1 00 04 12 34 00 61
3
Set Temporary
Register
Command: C2+starting parameters
Response: C1+starting parameters
Example 1: Channel is 0x09
command starting address length parameter
Send
:
C2
05
01
09
Return
:
C1
05
01
09
Example 2: Configure module address (0x1234), network address (0x00), serial port (9600 8N1)
and air data rate (2.4K)
Send
:
C2 00 04 12 34 00 61
Return
:
C1 00 04 12 34 00 61
4
Wrong Format
Wrong format responds
FF FF FF
7.2 Register Description
Address
Read
or
Write
Name
Description
Remark
00H
Read/
Write
ADDH
ADDH
(
default 0
)
High byte and low byte of module address;
Note: When the module address is equal to FFFF,
it can be used as the broadcast and monitor
address, that is: the module will not perform
address filtering at this time
01H
Read/
Write
ADDL
ADDL
(
default 0
)
02H
Read/
Write
REG0
7
6
5
UART Serial Port Rate
(
bps
)
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 continuously transmitting large data
packets, users need to consider the data
congestion caused by the same baud rate, and may
even be lost;
It is generally recommended that the baud rate of
the two communication parties be the same.
0
0
0
UART Rate is 1200
0
0
1
UART Rate is 2400
0
1
0
UART Rate is 4800
0
1
1
UART Rate is 9600
(
default
)
1
0
0
UART Rate is 19200
1
0
1
UART Rate is 38400
1
1
0
UART Rate is 57600
1
1
1
UART Rate is 115200
4
3
Serial Parity Bit
The serial port mode of the communication parties
can be different;
0
0
8N1
(
default
)
0
1
8O1
1
0
8E1
1
1
8N1
(
equal to 00
)