Chengdu Ebyte Electronic Technology Co., Ltd.
E22-400T30S_User Manual _EN
Copyright ©2012–2020, Chengdu Ebyte Electronic Technology Co., Ltd.
12
3
After the user switches to a new working mode, at least 2ms after the rising edge of AUX, the module will actually enter
this mode;
If AUX is always at high level, then the mode switch will take effect immediately.
4
When the user enters other modes from mode 3 (sleep mode) or during the reset process, the module will reset the user
parameters, during which AUX outputs low level.
5
Due to the characteristics of the LoRa modulation method, the information transmission delay is much longer than that of
FSK. For example, at an airspeed of 1.2kbps, the transmission delay of 100 bytes is about 1.5 seconds. It is recommended
that customers do not transmit large amounts of data at low airspeeds. , so as to avoid communication anomalies caused by
data loss caused by data accumulation.
Chapter 6 Working Mode
The module has four working modes, which are set by pins M1 and M0; the details are shown in the table below:
Mode
(
0-3
)
M1 M0
Mode Introduction
Remark
0 Transfer Mode
0
0
Serial port open, wireless open, transparent transmission
Support special command
air configuration
1 WOR Mode
0
1
Can be defined as WOR sender and WOR receiver
Support air wake
2 Configuration
Mode
1
0
Users can access the registers through the serial port to control the
working status of the module
3 Deep Sleep
1
1
Module goes to sleep
6.1 Mode Switch
No
Remark
1
The user can combine the high and low levels of M1 and M0 to determine the working mode of the module. 2 GPIOs of
MCU can be used to control mode switching;
After changing M1 and M0: If the module is idle, it can start working in the new mode after 1ms;
If the serial port data of the module has not been transmitted wirelessly, the new working mode can only be entered after
the transmission is completed;
If the module receives the wireless data and sends out the data through the serial port, it needs to send the data before
entering the new working mode;
So the mode switch can only be valid when AUX output 1, otherwise the switch will be delayed.
2
For example: the user continuously inputs a large amount of data and simultaneously performs mode switching. At
this time, the switching mode operation is invalid; the module will process all user data before performing new mode
detection;
Therefore, the general suggestion is: detect the output state of the AUX pin, wait for 2ms after outputting a high level,
and then switch.
3
When the module is switched from other modes to sleep mode, if there is data that has not been processed;
The module will enter the sleep mode only after processing the data (including receiving and sending). This feature can
be used for fast sleep to save power consumption; for example: the transmitter module works in mode 0, the user
initiates serial port data "12345", and then does not have to wait for the AUX pin to be idle (high level), it can directly
switch to sleep mode, And the main MCU of the user will sleep immediately, and the module will automatically enter
the sleep within 1ms after sending all the user data through wireless;
Thereby saving the working time of the MCU and reducing power consumption.