Wireless UART Module User Manual of E64 Series Modules
Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd.
10
/
16
l
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 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, which reduces MCU working time & save power.
l
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 from 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.
l
This operation is very flexible 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 has been reduced and the efficiency of whole system is largely improved.
6.2 Master Mode (Mode 0)
Status
When M0 = 0, M1 = 0, module works in mode 0
Transmitting
At master mode, it supports fixed-point transmission.
At most 31 slaves can update data to master at the same time.
Receiving
6.3 Slave-transmitter Mode (Mode 1)
Status
When M0 = 1, M1 = 0, module works in mode 1
Transmitting
Slave can send data to master by sending protocol.
Receiving
N/A
6.4 Slave-receiver Mode (Mode 2)
Status
When M0 = 0, M1 = 1, module works in mode 2
Transmitting
N/A
Receiving
Slave works at WOR mode and waits for the data from master.
6.5 Sleep Mode (Mode 3)
Status
When M0 = 1, M1 = 1, module works in mode 3
Transmitting
N/A
Receiving
N/A
Parameter setting
This mode can be used for parameter setting. It uses serial port 9600 & 8N1 to set module working parameters
through specific instruction format.。
Notes
When the mode changes from stand-by mode to others, the module will reset its parameters, during which the AUX
keeps low level and then outputs high level after reset completing. It is recommended to check the AUX rising edge
for user.
7.
Instruction Format
In sleep mode(mode 3:M1=1, M0=1), it supports instructions below.
(
Only support 9600 and 8N1 format when setting
)
No.
Instruction format
Illustration
1
C0 + working parameters
C0 + 5 bytes working parameters are sent in hexadecimal format. 6 bytes in total and must be
sent in succession. ( Save the parameters when power-down )
2
C1+C1+C1
Three C1 are sent in hexadecimal format. The module returns the saved parameters and must
be sent in succession.