Chengdu Ebyte Electronic Technology Co,;Ltd
E32-170T30D user manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
10
5.6.4 Notes for AUX
No.
Description
1
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.
2
When AUX outputs low level, it means the module is busy & cannot conduct operating mode checking.
Within 1ms since AUX outputs high level, the mode switch will be completed.
3
After switching to new operating mode, it will not work in the new mode immed iately until AUX rising edge
lasts for 2ms . If AUX stays on the high level, the operating mode switch can be affected immediately.
4
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
Mode introduction
Remark
0 Normal
0
1
UART and wireless channel are open, transparent
transmission is on
The receiver must work in
mode 0 or mode 1
1 Wake up
1
0
UART and wireless channel are open, the only
difference with mode 0 is that before transmitting data,
increasing the wake up code automatically, so that it can
awake the receiver under mode 3.
The receiver could be 0,1 or 2
2 Power
saving
0
1
UART close, wireless is under air-awaken mode, after
receiving data, UART open and send data.
transmitter must be mode 1,
unable to transmit in this mode.
3 Sleep
1
1
sleep mode, receiving parameter setting command is
available.
more details on parameter
specification.
6.1
Mode switch
The user can decide the operating mode by the co mb ination of M1 and M0. The two GPIO of MCU can be used to
switch mode. After modify ing M1 or M0, it will start to work in new mode 1ms later if the module is free. If there
are any serial data that are yet to finish wireless transmitting, it will start to work in new mode after the UART
transmitting fin ished. After the module receives the wireless data & transmits the data through serial port, it will
start to work in new mode after the transmitting finished. Therefore, the mode-switch is only valid when AUX
outputs 1, otherwise it will delay.
For example, in mode 0 or mode 1, if the user inputs massive data consecutively and switches operating mode at the
same time, the mode-switch operation is invalid. New mode checking can only be started after all the user’s data
process completed. It is recommended to check AUX p in out status an d wait 2ms after A UX outputs high level
before switching the mode.