Operating Mode; Mode Switch - Ebyte E32 Series User Manual

For sx1278
Hide thumbs Also See for E32 Series:
Table of Contents

Advertisement

SX1278 Wireless Module

5. Operating mode

Contents in below table are the introduction of input status of M1 & M0 and their corresponding mode: 
M1
Mode(0-3)
Mode 0
0
Normal
Mode 1
1
Wake-up
Mode 2
0
Power-saving
Mode 3
1
Sleep

5.1 Mode switch

The user can decide the operating mode by the combination of M1 and M0. The two GPIO of MCU can be used to switch mode.
After modifying 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 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 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 pin out status and wait 2ms after AUX outputs high level before switching the mode.
If the module switches from other modes to stand-by mode, it will work in stand-by mode only after all the remained data process
completed. The feature can be used to save power consumption. For example, when the transmitter works in mode 0, after the
external MCU transmits data "12345" , it can switch to sleep mode immediately without waiting the rising edge of the AUX pin, also
the user's main MCU will go dormancy immediately. Then the module will transmit all the data through wireless transmission & go
dormancy 1ms later automatically, which reduces MCU working time & save power.
Likewise, this feature can be used in any mode-switch. The module will start to work in new mode within 1ms after completing
present mode task, which enables the user to omit the procedure of AUX inquiry and switch mode swiftly. For example, when
switching from transmitting mode to receiving mode, the user MCU can go dormancy before mode-switch, using external interrupt
function to get AUX change so that the mode-switch can be realized.
This operation is very flexible and efficient. It is totally designed on the basis of the user MCU's convenience, at the same time the
work load and power consumption of the whole system have been reduced and the efficiency of whole system is largely improved.
Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd.
M0
UART
and
wireless
0
transmission is on
UART and wireless channel are open. The difference
between normal mode and wake-up mode is it will add
0
preamble
code
transmission so that it can awaken the receiver works in
mode 2
UART is disabled. Wireless module works at WOR mode
1
(wake on radio). It will open the UART and transmit data
after receiving the wireless data
1
Parameter setting
Mode introduction
channel
are
open,
automatically
before
data
Remark
transparent
The receiver must work in mode
0 or mode 1
The receiver can work in mode 0,
packet
mode 1 or mode 2
1, the transmitter must work in
mode 1
2, transmitting is not allowed in
this mode
See
more
parameter
E32 Series User Manual
in
operating
15 / 24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents