![Ebyte E31-433T33D Скачать руководство пользователя страница 10](http://html1.mh-extra.com/html/ebyte/e31-433t33d/e31-433t33d_user-manual_530300010.webp)
Chengdu Ebyte Electronic Technology Co.,Ltd. E31-433T17D User Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
9
5.6.4 Notes for AUX
For function 1 & function 2 mentioned above, the priority should be given to the one with low level output, which
means if it meets each of any low level output condition, AUX outputs low level, if none of the low level condition is
met, AUX outputs high level.
When AUX outputs low level, it means the module is busy & cann ot conduct operating mode checking. Within 1ms
since AUX outputs high level, the mode switch will be completed.
After switching to new operating mode, it will not work in the new mode immediately until AUX rising edge lasts for
2ms . If AUX stays on the high level, the operating mode switch can be effected immediately.
When the user switches to other operating modes from mode 3 (sleep mode) or it ’s still in reset process, the module
will reset user parameters, during which AUX outputs low level.
6 Operating mode
There are four operating modes, which are set by M1 and M0, the details are as follows:
Mode
(
0-3
)
M0
M1
Description
Remark
0 Normal mode
0
0
UART and wireless channel are open, transparent
transmission is on
The receiver must be Mode
0
、
1
1 WOR mode
1
0
UART and wireless channel are open
;
The only difference with Mode 0: Before the data
packet transmitting, it will add wake-up code
automatically, in which the modules under mode 2 can
be wake up.
The receiver can be mode0, 1,
or 2
2 Power saving mode
0
1
UART receiving is closed, wireless channel is under
WOR mode, after the wireless data is received, the
wireless channel will be open and send the data out.
The transmitter must be mode
1. In this mode, the
transmission is unavailable.
3 sleep mode
1
1
The module enters sleep mode, but the parameters can
be configured.
See more details in working
parameters.
6.1 Mode switching
Users can combine M1 and M0 with high and low levels to determine the operating mode. Two GPIOs of the MCU
can be used to control mode switching; After changing M1 and M0: If the module is idle, after 1ms, it can start
working according to the new mode; If the serial port data of the module has not been transmitted through the wireless,
the new working mode can be switched after the transmission is completed; If the module receives the wireless data
and transmits the data through the serial port, it needs to finish transmission before switching the new working mode;