Operating Mode; Mode Switch - Ebyte E32 Series User Manual

Sx1278 433 mhz 100mw dip
Hide thumbs Also See for E32 Series:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co,;Ltd

6 Operating mode

There are four operating modes, which are set by M1 and M0, the details are as follows:
Mode ( 0-3) M0
0
0 Normal
1Wake up
1
0
2 Power
saving
3Sleep
1

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 mo de 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 & t ransmits 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 switch es 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 and wait 2ms after A UX outputs high level
before switching the mode.
If the module switches from other modes to stand-by mode, it will wo rk in stand-by mode only after all the
remained data process completed. The feature can be used to save power consumption. For examp le, when the
transmitter wo rks in mode 0, after the external M CU transmits data "12345", it can switch to sleep mode
immed iately without waiting the rising edge of the AUX pin, also the user's main M CU will go dormancy
immed iately. Then the module will transmit all the data through wireless tran smission & 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
complet ing present mode task, which enables the user to omit the procedure of AUX inquiry and switch mode
swiftly. For examp le, when switching fro m 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 flexib le 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–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
M1
Mode introduction
1
UART and wireless channel are open, transparent
transmission is on
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.
1
UART close, wireless is under air-awaken mode, after
receiving data, UART open and send data.
sleep mode, receiving parameter setting command is
1
available.
E32-433T20DC user manual
Remark
The receiver must work in mode
0 or mode 1
The receiver could be 0,1 or 2
transmitter must be mode 1,
unable to transmit in this mode.
more
details
on
parameter
specification.
10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents