Mode Switching; Normal Mode (Mode 0 - Ebyte E30-433T20S3 User Manual

Smd serial port wireless module
Hide thumbs Also See for E30-433T20S3:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.

6.1 Mode switching

No.
Users can combine M1 and M0 with high and low levels to determine the operating mode. Two GPIOs of the MCU can
be used to control mode switching;
After changing M1 and M0: If the module is idle, after 1ms, it can start working according to the new mode;
If the serial port data of the module has not been transmitted through the wireless, the new working mode can be
1
switched after the transmission is completed;
If the module receives the wireless data and transmits the data through the serial port, it needs to finish transmission
before switching the new working mode;
Therefore, mode switching can only be valid when AUX output is 1, otherwise it will delay switching.
For example, users continuously inputs a large amount of data and simultaneously performs mode switching. At this
time, the switching mode operation is invalid; the module will process all the user data before performing the new mode
2
detection;
Therefore, the general recommendation is to detect the output state of the AUX pin and switch after 2ms when the
output is high.
When the module is switched from other modes to sleep mode, if the data has not been processed yet;
The module will process these data (including receiving and sending) before entering sleep mode. This feature can be
used for fast sleep, which saves power; for example, the transmitter module works in mode 0, the user transmits the
3
serial port data "12345", and then does not have to wait for the AUX pin to be idle (high level), and can directly switch
to sleep mode. And the user's main MCU immediately sleeps, the module will automatically transmit the user data
through the wireless, and automatically enters sleep within 1ms;
This saves MCU's working time and reduces power consumption.
Similarly, any mode switching can use this feature. After the module processes the current mode event, it will
automatically enter the new mode within 1ms; thus eliminating the need for the user to query AUX and achieve the
4
purpose of fast switching;
For example, switching from the transmit mode to the receive mode; the user MCU can also enter sleep before the mode
switch, and use the external interrupt function to acquire the AUX change, thereby performing mode switching.
This operation mode is very flexible and efficient, and is designed according to the user's MCU's operation convenience,
5
and can reduce the workload of the entire system as much as possible, improve system efficiency, and reduce power
consumption.
6.2 Normal mode(Mode 0)
M0 = 0,M1 = 0
Type
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
Transmitting
termination unless continuous data inputted by user. Then the module will transmit all the data through wireless
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
Copyright ©2012–2018,Chengdu Ebyte Electronic Technology Co.,Ltd.
Remark
E30-433T20S3 User manual
9

Advertisement

Table of Contents
loading

Table of Contents