Operating Mode; Mode Switch - Ebyte E34-2G4H20D Manual

Nrf24l01+ 2.4ghz ttl auto frequency hopping module
Hide thumbs Also See for E34-2G4H20D:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

4. Operating mode

Contents in below table are the introduction of input status of M1 & M0 and their corresponding mode:
Mode(0-3)
Mode 0
Fixed
frequency
mode
Mode 1
Frequency
hopping
mode
Mode
2
Reservation
mode
Mode 3
Sleep

4.1 Mode switch

No.
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 1 ms 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
1
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
2
only be started after all the user's data process completed. It is recommended to check AUX pinout
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
3
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,
& 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
4
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
5
convenience, at the same time the work load and power consumption of the whole system has been
reduced and the efficiency of whole system is largely improved.
Copyright ©2012–2020, Chengdu Ebyte Electronic Technology Co., Ltd.
M1
M0
Mode introduction
UART and wireless channel are open,
0
0
transparent transmission is on.
The difference between fixed frequency
mode and frequency hopping mode is: the
frequency will change in send &receive
0
1
process according to certain algorithm
rules, the scope is not limited to the basic
frequency of user setting, the module has a
specific spread sequence.
1
0
Reservation mode
1
1
Parameter setting
Remark
The receiver must work in
mode 0 or mode 2
The receiver must work in
mode 1
Same with mode 0
-
Remarks
which reduces MCU working time
from transmitting mode to
E34-2G4H20D User Manual
12

Advertisement

Table of Contents
loading

This manual is also suitable for:

E34-dtuE34-2g4h27d2g4h27

Table of Contents