Chengdu Ebyte Electronic Technology Co.,Ltd. E31-433T17D User Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
10
Therefore, mode switching can only be valid when AUX output is 1, otherwise it will delay switching.
For example, in mode 0 or mode 1, 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 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 fa st
sleep, which saves power; for example, the transmitter module works in mode 0, the user transmits t he 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 mod e.
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
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 interrup t 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, and can reduce the workload of the entire system as much as po ssible, improve system efficiency, and
reduce power consumption.
6.2 Normal mode
(
Mode 0
)
Type
When M0 = 0
,
M1 = 0
,
the module works on Mode 0
Transmitting
The module receives the users’ data of serial port, and transmit 58 bytes wireless data packet. When the
input data packet reaches 58 bytes, the module will start the wireless transmission, thus users can continue
to input the transmitting data; When the input data packet is less than 58 bytes, the module will wait 3 by tes
time, if there’s no more data packet input, it means the data input finished, so the module will send all data
packet out via wireless; After the module receives the first data packet, the AUX outputs low level; When
module put all data into RF chip and start the transmission, the AUX outputs high level; At this time, it
means the last data packet starts wireless transmission, users can continue to input 512 bytes data at most;
The data packet sent in Mode 0 can be only received by the module with Mode 0 and Mode 1.
Receiving
The module always open the wireless receiving function on, then it can receive the data packet sent by
Mode 0 and Mode 1.
After receiving the data packet, the AUX of module outputs low level and after delaying 5ms, the wireless
data will be transmitted via TXD pins of serial port. After all wireless data is transmitted via serial port, the
AUX outputs high level.
6.3 WOR mode
(
Mode 1
)
Type
When M0 = 1
,
M1 = 0
,
the module works on Mode 1
Transmitting
The condition of module starting data packet transmission and the AUX function equal to Mode 0. The
only difference is that module will add wake-up code automatically before each data packet. The length of
wake-up code depends on the wake-up time set by users, the purpose of wake-up code is to wake up the
module with Mode 2; So, the transmitting data in Mode 1 can be received by the module with Mode 0, 1,
2.
Receiving
It equals to Mode 0.