Ⅷ Register Read/Write Control; Command Format; Register Description - Ebyte E90-DTU Manual

Hide thumbs Also See for E90-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
Ⅷ Register read/write control

8.1 Command format

The list of supported commands in the configuration mode is as follows (only 9600, 8N1 format is supported at
the time of setup):
Seria
l
Command format
Numbe
r
1
Setup Registers
2
Read registers
Formatting
3
error

8.2 Register description

Read/W
Address
Name
rite
Read/W
00H
ADDH
rite
Read/W
01H
ADDL
rite
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd.
Instruction: C0 + start address + length + parameters
Response: C1 + start address + length + parameters
Example 1: Configure the channel as 0x09
Command Start address Length Parameters
Send: C0 05 01 09
Return: C1 05 01 09
Example 2: Configure module address (0x1234), network address (0x00), serial port
(9600 8N1) and airspeed (1.2K) at the same time
Send: C0 00 04 12 34 00 61
Return: C1 00 04 12 34 00 61
Command: C1 + start address + length
Response: C1 + start address + length + parameters
Example 1: Read channel
Command Start address Length Parameters
Send: C1 05 01
Return: C1 05 01 09
Example 2: Read module address, network address, serial port, airspeed at the same
time
Send: C1 00 04
Return: C1 00 04 12 34 00 61
Format Error Response
FF FF FF FF
Descriptions
ADDH (default 0)
ADDL(default 0)
Explanation
E90-DTU(xxxSL42) User Manual
Remarks
Module
address
high byte and low
byte. Note: When
the
module
address is equal
13

Advertisement

Table of Contents
loading

Table of Contents