Master Mode (Mode 0); Slave-Transmitter Mode (Mode 1); Slave-Receiver Mode (Mode 2); Sleep Mode (Mode 3) - Ebyte E64 Series User Manual

Uart
Table of Contents

Advertisement

Wireless UART Module
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
l
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.
Likewise, this feature can be used in any mode-switch. The module will start to work in new mode within 1ms after completing
l
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.
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
l
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
This mode can be used for parameter setting. It uses serial port 9600 & 8N1 to set module working parameters
Parameter setting
through specific instruction format.
When the mode changes from stand-by mode to others, the module will reset its parameters, during which the AUX
Notes
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
C0 + working parameters
1
2
C1+C1+C1
Copyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd.
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 )
Three C1 are sent in hexadecimal format. The module returns the saved parameters and must
be sent in succession.
User Manual of E64 Series Modules
Illustration
10 / 16

Advertisement

Table of Contents
loading

This manual is also suitable for:

E64-t100s2

Table of Contents