Normal Mode (Mode 0); Wake-Up Mode (Mode 1); Power-Saving Mode (Mode 2) - Ebyte E32 Series User Manual

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

Advertisement

SX1278 Wireless Module

5.2 Normal Mode (Mode 0)

When M1 = 0 & M0 = 0, module works in mode 0
The module can receive the user data via serial port, and transmit wireless data package of 58 bytes. When the
data inputted by user is up to 58 byte, the module will start wireless transmission. During which the user can input
data continuously for transmission.
When the required transmission bytes are less than 58 bytes, the module will wait 3-byte time and treat it as data
termination unless continuous data inputted by user. Then the module will transmit all the data through wireless
Transmitting
channel.
When the module receives the first data packet from user, the AUX outputs low level.
After all the data are transmitted into RF chip and transmission start , AUX outputs high level.
At this time, it means that the last wireless data package transmission is started, which enables the user to input
another 512 bytes continuously. The data package transmitted from the module working in mode 0 can only be
received by the module working in mode 0 or 1.
The wireless receiving function of the module is on, the data packet transmitted from the module working in
mode 0 & mode 1 can be received.
Receiving
After the data packet is received, the AUX outputs low level, 5ms later the module starts to transmit wireless data
through serial port TXD pin.
After all the wireless data have been transmitted via serial port, the AUX outputs high level.

5.3 Wake-up mode (Mode 1)

When M1 = 0 & M0 = 1, module works in mode 1
The condition of data packet transmission & AUX function is the same as mode 0. The only difference is that the
module will add preamble code before each data packet automatically. The preamble code length depends on the
Transmitting
wake-up time set in the user parameters. The purpose of the preamble code is waking up the receiving module
works in mode 2. Therefore, the data package transmitted from mode 1 can be received by mode 0, mode1 and
mode 2.
Receiving
The same as that in mode 0.

5.4 Power-saving mode (Mode 2)

When M1 = 1 & M0 = 0, module works in mode 2
UART is closed, the module cannot receive any serial port data from outside MCU.
Transmitting
Hence the function of wireless transmission is not available for the module working in this mode.
In mode 2, it is required the data transmitter works in mode 1.
The wireless module monitors the preamble code at regular time.
Once it gets the preamble code, it will remain as receiving status and waiting for the completion of receiving the
entire valid data package.
Then the AUX outputs low level, 5ms later the serial port is open to transmit received wireless data through TXD.
Receiving
Finally, AUX outputs high level after process completed.
The wireless module stays in "power-saving – monitoring" working status (polling).
By setting different wake-up time, the module will have different receiving response delay (2s in maximum) and
average power consumption (30uA in minimum).
The user needs to achieve a balance between communication delay time & average power consumption.
Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd.
E32 Series User Manual
16 / 24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents