Configuration Procedure Of Module; Notes For Aux; Operating Mode; Mode Switch - Ebyte E64 Series User Manual

Uart
Table of Contents

Advertisement

Wireless UART Module
Longest waiting time

5.2.3 Configuration Procedure of Module

Only happened when power-on resetting or exiting sleep mode.

5.2.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
l
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 & cannot conduct operating mode checking. Within 1ms since AUX
l
outputs high level, the mode switch will be completed.
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
l
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
l
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)
Master
(Mode 0)
Slave-transmitter
(Mode 1)
Slave-receiver
(Mode 2)
Sleep (Mode3)

6.1 Mode Switch

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
l
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.
For example, in mode 2 or mode 4, if the user inputs massive data consecutively and switches operating mode at the same time,
l
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.
Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd.
About 58s
M0
M1
Monitor all the salves working at the same channel.
0
0
If the WOR is on, master can wake up slaves.
1
0
Send the data to master.
0
1
Turn on WOR and wait for the data from master.
1
1
Parameter setting.
About 32s
Mode introduction
User Manual of E64 Series Modules
About 20s
About 20s
Notes
The receiver need to work in Mode
2.
The receiver must be the master.
Refer to datasheet please.
9 / 16

Advertisement

Table of Contents
loading

This manual is also suitable for:

E64-t100s2

Table of Contents