Wireless UART Module User Manual of E64 Series Modules
Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd.
9
/
16
Longest waiting time
About 58s
About 32s
About 20s
About 20s
5.2.3 Configuration Procedure of Module
Only happened when power-on resetting or exiting sleep mode.
5.2.4 Notes for AUX
l
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.
l
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.
l
After switching to new operating mode, it won’t be work in the new mode immediately until AUX rising edge 2ms later. If AUX is
on the high level, the operating mode switch can be effected immediately.
l
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
Contents in the table below are the introduction of input status of M1 & M0 and their corresponding mode:
Mode
(
0-3
)
M0
M1
Mode introduction
Notes
Master
(Mode 0)
0
0
Monitor all the salves working at the same channel.
If the WOR is on, master can wake up slaves.
The receiver need to work in Mode
2.
Slave-transmitter
(Mode 1)
1
0
Send the data to master.
The receiver must be the master.
Slave-receiver
(Mode 2)
0
1
Turn on WOR and wait for the data from master.
Sleep (Mode3)
1
1
Parameter setting.
Refer to datasheet please.
6.1 Mode Switch
l
The user can decide the operating mode by the combination of M0, M1 and M2. The two GPIOs of MCU can be used to switch
mode. After modifying M0, M1 or M2, 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 finished. 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.
l
For example, in mode 2 or mode 4, 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 pin out status and wait 2ms after AUX outputs high level before switching the mode.